mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 03:01:37 +00:00
This commit overhauls the global.dm file, global_lists.dm file, and defines.dm file into a tree system based on -tg-. All defines have been split and distributed in code/__DEFINES/ Everything from global.dm and global_lists.dm has been split and distributed in code/_globalvars The _compile_options.dm file contains anything that absolutely, 100%, must be initialized before world.dm. Name definitions have been moved to code/_globalvars/lists/names.dm. Other things to note - All instances of something.z == 2/1/3/5 have been replaced with easily configurable defines, labeled ZLEVEL_. The map include file can override these by defining custom ones in it's file, as it is at the top of the tree.
20 lines
964 B
Plaintext
20 lines
964 B
Plaintext
//Languages!
|
|
#define LANGUAGE_HUMAN 1
|
|
#define LANGUAGE_ALIEN 2
|
|
#define LANGUAGE_DOG 4
|
|
#define LANGUAGE_CAT 8
|
|
#define LANGUAGE_BINARY 16
|
|
#define LANGUAGE_OTHER 32768
|
|
|
|
#define LANGUAGE_UNIVERSAL 65535
|
|
|
|
//Language flags.
|
|
#define WHITELISTED 1 // Language is available if the speaker is whitelisted.
|
|
#define RESTRICTED 2 // Language can only be accquired by spawning or an admin.
|
|
#define NONVERBAL 4 // Language has a significant non-verbal component. Speech is garbled without line-of-sight
|
|
#define SIGNLANG 8 // Language is completely non-verbal. Speech is displayed through emotes for those who can understand.
|
|
#define HIVEMIND 16 // Broadcast to all mobs with this language.
|
|
#define NONGLOBAL 32 // Do not add to general languages list
|
|
#define INNATE 64 // All mobs can be assumed to speak and understand this language (audible emotes)
|
|
#define NO_TALK_MSG 128 // Do not show the "\The [speaker] talks into \the [radio]" message
|