mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00:00
* Base work for the unathi robot subspecies. * Adds metabolism species, kidney vars, and the robot unathi organs. * Moves some action buttons to organs, pretty much a bay port right now. Todo: the unathi and alien stuff should also go here. * First autakh implant power. * Fixes the organs action button this time. * Finishes more implants, and interactions with flashs and vaurca. * Prepare for great changes. * Drops the real bomb, boss. * He who fights with monsters. * Far more work into augments and limb removing powers. * Limb verbs should be good now. * A LOT of work into the assited organ, allowing it to bleed and etc, as well adding a new chem that will stop bleeding in their case. * Probably the last work on implants. * Some extra touches. * Some tweaks to the species. * More fixes and adds kyre's sprites. * More runtime fixes. * Fixes the species name too. * Fixes travis. * Updates this file too to work with the new tools procs. * Adds changelog * Fixed changelog. * Unathi hair and lore description. * Some tweaks to this too. * Locks away them for now, they will be released after we got all the events and etc done. * Changes this chemical. * Fixes an airlock runtime. * Adds the non scan flag to the autakh, mostly due to some bizzare interactions with changelings and cloning. * Organs removal changes; can't take out the organ if it is too damage. * Restricts them back again. * Robotic organs now have the proper icons and names. * Adds sprites for their organs and some extra tweaks. * Fixes this missing icon. * emp should also now hurt assited organs. * Tweaks more organ related things. * Fixes the head not being properly set as well. * Fixes their flags. * fixes the flag for real this time. * Poze's review. * Changes the au'takh organ buttons to don't be animated. * Helps with adminbus or something. * Fowl's requested changes. * Fixes a typo. * Robotic limb's brute and burn mods are now controlled by the limb model. * Fowl's changes once more. * Stops some spam. * More grammar. * No eal. * Skull's review.
72 lines
2.5 KiB
Plaintext
72 lines
2.5 KiB
Plaintext
#define Clamp(x, low, high) max(low, min(high, x))
|
|
#define CLAMP01(x) (Clamp(x, 0, 1))
|
|
|
|
#define span(class, text) ("<span class='[class]'>[text]</span>")
|
|
|
|
#define isAI(A) istype(A, /mob/living/silicon/ai)
|
|
#define isDrone(A) istype(A, /mob/living/silicon/robot/drone)
|
|
|
|
#define isalien(A) istype(A, /mob/living/carbon/alien)
|
|
|
|
#define isanimal(A) istype(A, /mob/living/simple_animal)
|
|
|
|
#define isairlock(A) istype(A, /obj/machinery/door/airlock)
|
|
|
|
#define isbrain(A) istype(A, /mob/living/carbon/brain)
|
|
|
|
#define iscarbon(A) istype(A, /mob/living/carbon)
|
|
|
|
#define iscorgi(A) istype(A, /mob/living/simple_animal/corgi)
|
|
|
|
#define isEye(A) istype(A, /mob/abstract/eye)
|
|
|
|
#define ishuman(A) istype(A, /mob/living/carbon/human)
|
|
|
|
#define isliving(A) istype(A, /mob/living)
|
|
|
|
#define ismouse(A) istype(A, /mob/living/simple_animal/mouse)
|
|
|
|
#define isnewplayer(A) istype(A, /mob/abstract/new_player)
|
|
|
|
#define isobj(A) istype(A, /obj)
|
|
|
|
#define isobserver(A) istype(A, /mob/abstract/observer)
|
|
|
|
#define isorgan(A) istype(A, /obj/item/organ/external)
|
|
|
|
#define ispAI(A) istype(A, /mob/living/silicon/pai)
|
|
|
|
#define isrobot(A) istype(A, /mob/living/silicon/robot)
|
|
|
|
#define issilicon(A) istype(A, /mob/living/silicon)
|
|
|
|
#define isslime(A) istype(A, /mob/living/carbon/slime)
|
|
|
|
#define iscapacitor(A) istype(A, /obj/item/weapon/stock_parts/capacitor)
|
|
|
|
#define ismicrolaser(A) istype(A, /obj/item/weapon/stock_parts/micro_laser)
|
|
|
|
#define ismatterbin(A) istype(A, /obj/item/weapon/stock_parts/matter_bin)
|
|
|
|
#define isscanner(A) istype(A, /obj/item/weapon/stock_parts/scanning_module)
|
|
|
|
#define ismanipulator(A) istype(A, /obj/item/weapon/stock_parts/manipulator)
|
|
|
|
#define isclient(A) istype(A, /client)
|
|
|
|
#define isprojectile(A) istype(A, /obj/item/projectile)
|
|
|
|
#define to_chat(target, message) target << message
|
|
#define to_world(message) world << message
|
|
#define sound_to(target, sound) target << sound
|
|
#define to_file(file_entry, file_content) file_entry << file_content
|
|
#define show_browser(target, browser_content, browser_name) target << browse(browser_content, browser_name)
|
|
#define send_rsc(target, rsc_content, rsc_name) target << browse_rsc(rsc_content, rsc_name)
|
|
#define send_output(target, msg, control) target << output(msg, control)
|
|
|
|
#define CanInteract(user, state) (CanUseTopic(user, state) == STATUS_INTERACTIVE)
|
|
|
|
#define isopenturf(target) istype(target, /turf/simulated/open)
|
|
#define isweakref(target) istype(target, /datum/weakref)
|
|
#define isdatum(target) istype(target, /datum)
|