converts area vars to flags

This commit is contained in:
Kashargul
2024-12-04 22:21:38 +01:00
parent 847fa11fd6
commit ead0180057
45 changed files with 142 additions and 311 deletions
+14 -5
View File
@@ -48,10 +48,6 @@
#define CLIENT_FROM_VAR(I) (ismob(I) ? I:client : (isclient(I) ? I : null))
//Persistence
#define AREA_FLAG_IS_NOT_PERSISTENT 8 // SSpersistence will not track values from this area.
// Shuttles.
// These define the time taken for the shuttle to get to the space station, and the time before it leaves again.
@@ -99,7 +95,20 @@
#define DEFAULT_JOB_TYPE /datum/job/assistant
//Area flags, possibly more to come
#define RAD_SHIELDED 1 //shielded from radiation, clearly
#define RAD_SHIELDED 0x1 //shielded from radiation, clearly
#define BLUE_SHIELDED 0x2 // Shield from bluespace teleportation (telescience)
// unknown? 0x4
#define AREA_FLAG_IS_NOT_PERSISTENT 0x8 // SSpersistence will not track values from this area.
#define AREA_FORBID_EVENTS 0x10 // random events will not start inside this area.
#define AREA_FORBID_SINGULO 0x20 // singulo will not move in.
#define AREA_NO_SPOILERS 0x40 // makes it much more difficult to see what is inside an area with things like mesons.
#define AREA_SOUNDPROOF 0x80 // blocks sounds from other areas and prevents hearers on other areas from hearing the sounds within.
#define AREA_BLOCK_PHASE_SHIFT 0x100 // Stops phase shifted mobs from entering
#define AREA_BLOCK_GHOSTS 0x200 // Stops ghosts from entering
#define AREA_ALLOW_LARGE_SIZE 0x400 // If mob size is limited in the area.
#define AREA_BLOCK_SUIT_SENSORS 0x800 // If suit sensors are blocked in the area.
#define AREA_BLOCK_TRACKING 0x1000 // If camera tracking is blocked in the area.
#define AREA_SECRET_NAME 0x2000 // This tells certain things that display areas' names that they shouldn't display this area's name.
// OnTopic return values
#define TOPIC_NOACTION 0
-2
View File
@@ -40,8 +40,6 @@
//Shuttle madness!
#define SHUTTLE_CRASHED 3 // Yup that can happen now
#define BLUE_SHIELDED 2 // Shield from bluespace teleportation (telescience)
//Herm Gender
#define HERM "herm"
+1
View File
@@ -15,6 +15,7 @@
#define LANGUAGE_ANIMAL "Animal"
#define LANGUAGE_TEPPI "Teppi"
#define LANGUAGE_MOUSE "Mouse"
#define LANNGUAGE_DRAKE "Drake"
#define LANGUAGE_SHADEKIN "Shadekin Empathy"
#define LANGUAGE_LLEILL "Glamour Speak"