This commit prevents a runtime of "list index out of bounds" with events
by adding a simple sanity checking system, so that the list checked always
has a valid check, regardless of if the event has a valid variable. NOTE:
May result in unintended behaviour if an event tries to complete with an
invalid severity level. It will always be set to moderate, as that is a
safe assumption for the code to make.
This commit fixes some special cases where a certain series of events
could lead to a space turf being created which was not activated in LINDA,
therefore it would not drain atmos correctly.
Things changed:
- ChangeTurf properly updates new space tiles
- Admin delete calls changeturf instead of del'ing turfs to satisfy LINDA
- Admin delete now uses qdel instead of del, because everything is being
switched to qdel.
This commit fixes the following things:
- Get_Area() now properly returns the area
- Events will no longer runtime upon being manually triggered by an admin
- The prison break event works again
- Grabbing will no longer runtime (May result in people with pixel
offsets from a grab being stuck, better than a runtime)
This commit adds custom color definitions to almost every computer that
did not already have them. It also causes cigarretes to very dimly glow.
Also contains custom colors for candles, flashlights, and the mentioned
cigarretes.
Oh, and beepsky flashes red and blue now while in hunt mode. FTW
This commit adds a small sanity check to the falloff calculations of
lights, to prevent them from dividing by 0. This may cause undiscovered
strangeness, but strangeness is better than filling the runtime log.
This commit also fixes the supply shuttle, which was not spawning any
ordered items. It did this because it had a very basic contents.len check
which the lighting overlays triggered. The sanity check to not spawn stuff
on top of other stuff is now a for(atom) loop on the turfs, which has
snowflake checks for lights and lighting overlays.
This commit updates the map system to -tg- standards. All stations are
defined under _maps/, and all .dmm files go under _maps/map_files/.
Currently, only the NCS Cyberiad is setup under the system.
Misc changes:
- World Status contains the map name
- dm.sh script will allow automatic map changing between restarts.
- _globalvars folder starting to take shape, not everything is migrated
there yet.
This commit makes the ventcrawling system operate independant of
ventcrawling verbs. Every type of /mob/living now has a ventcrawling
variable, which allows them to interact with the ventcrawling system if
set to 1 or 2. The AltClickOn() defines for each ventcrawling mob have
been removed, and replaced with a single AltClick() define on ventcrawl
machinery.
This commit comments out all of the controversial code from the new grab
system. The code is being left non-hard-deleted as an example, the
framework would be a shame to kill.