Codering Guides: Difference between revisions

m
some more farts blepped up on this thing
(rough start to what i'll use as a personal reference guide and keep building/categorizing so other people can find it useful)
 
m (some more farts blepped up on this thing)
 
Line 35:
|
|-
|audible_message
|
|This is a text message that is 'heard' rather than seen (like, for example, a fart)
|
|
|
|
|}
 
boutput (aliased as out, or bo): basic output to chatlog.
 
Hey what the fuck are all these things anyway
{| class="wikitable"
|+
!Thing
!
!What is the thing
|-
|ATOM
|/atom/
|Areas, Turfs, Objects, Mobs: a combined concept. Ultimate parent of all things you see in game.
|-
|Moveable Atom
|/atom/movable/
|Parent of objects and mobs, something that can just kinda boogie around. Good for dealing with both types at once.
|-
|Datum
|/datum/
|NOT an atom, but rhymes with it. ATOMs are in world, Datums are not- they are for things like keeping track of information. Round scores, lists of items to fill a supply crate with, etc.
|-
|Area
|/area/
|Denotes a collective of tiles for organization, triggers, power handling, etc. Not seen by player (but can have overlays!)
|-
|Turf
|/turf/
|A wall or a floor or space or anything that makes up a solid environment.
|-
|Object
|/obj/
|An interactive thing in the world that is not a turf- doors, windows, machinery...
|-
|Mob
|/mob/
|A moveable object! That's what mob stands for. Clients (as in players) can be attached to them.
|-
|Living Mob
|/mob/living/
|All what things that are alive and in game.
|-
|Dead Mob
|/mob/dead/
|Basically new players (who haven't spawned) and dead players (observers)
|-
|Mobcritters
|/mob/living/critter/
|Weird beasts and other animals that move around and do actions and have limited AI- these are mobs.
|-
|Critters
|/obj/critter/
|Weird beasts and other animals that move around and do actions and have limited AI- these are *objects*
|-
|Items
|/obj/item/
|handheld objects- things you can pick up
|-
|Machinery
|/obj/machinery/
|stationary objects that do something using a process() proc called once about every second (or 10 ticks)
|-
|Submachine
|/obj/submachine/
|stationary objects that do something only when interacted with
|}