Adminbus: Difference between revisions
Jump to navigation
Jump to search
(Add first information on useful procs, typepaths, vars & How to X) |
(+ How to breach all abnormalities) |
||
Line 41: | Line 41: | ||
=== ... change ordeal type === | === ... change ordeal type === | ||
MC -> Lobotomy Corporation -> next_ordeal -> any /datum/ordeal subpath | MC -> Lobotomy Corporation -> next_ordeal -> any /datum/ordeal subpath | ||
=== ... breach ''all'' abnormalities === | |||
<code>CALL BreachEffect() ON /mob/living/simple_animal/hostile/abnormality</code> |
Revision as of 21:30, 9 May 2025
Please feel free add any notes on driving the adminbus such as useful procedures or typepaths or whatever here
Useful procs
proc | parent | Use | Notes |
---|---|---|---|
lighting_build_overlay() | /turf/ | (Re)Generates the lighting object for any given turf | Recommended to just use SDQL2 to call it on any new turfs, remember to add them to an area |
Useful typepaths
TBA
Useful vars
var | parent | Use | Notes |
---|---|---|---|
cached_multiplicative_slowdown | Slowdown factor for the mob | Higher = Slower | |
rapid_melee | SIMPLEMOB/hostile | Repeat melee X times | Some mobs reset it (like pbird) |
How to X
... change ordeal type
MC -> Lobotomy Corporation -> next_ordeal -> any /datum/ordeal subpath
... breach all abnormalities
CALL BreachEffect() ON /mob/living/simple_animal/hostile/abnormality