Files
Citadel-Station-13-RP/code/_macros.dm
Felix 7bc4479271 [RFM] Adherent alright (#3677)
* Basic Foundation for Adherent

Pain

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Automatic changelog compile [ci skip]

* Corrects the Preview error

* Fixes the sprite, LETSSS GOOOOOOOO

* Part one of the species specific overlay shifter

* Adds a newline for linters

* Adds a newline for linters

* Adds a newline for linters

* Adds a newline for linters

* Adds a newline for linters

* LANGUAGE_GALCOM

* Gives Adherent flight, instead of permanent hover

* Bays on mob icons to for clothing pixelshifts

* Removes the attempt at pixelshifting for now,
needs to be done later

* restores get_mob_lay for accessories

* Hacks the clothing sprites away by removing -
all overlay

* adds the todo comment for the clothing issue

* Makes adherent external organs crystal

* Makes Adherent internal Organs crystaline

* Uncrystallises and recrystalises Adherent

* fixes Robotic and crystal checks

* Explaination on how to work with the defines

* crystalises the remaining Adherent parts

* Makes brittle a status rather than a condition

* postorgan rejuvenate correction

* Fixes mineral baths

* Removes the onmob icons that should be used for
bays on mob rendering

* Update adherent.dm

* removes the pointless proc Process()

* Gives Adherent native protocol

* removes the unneeded Verb assignments

* Renames the adherent language

* Reduces chargepylon damage to non adherents

* Makes the UI action buttons work

* Mineral baths fix system instability

* Coloration fix attempt partial progress.

* Comment to get the checks to run again

* changes adherent icobase

* Fresh tiles and cleared of clutter

tiles and shit emptied from the room, thanks, NT.

* Move over map and why was that AI pad there?

* WHO PUT THESE DECALS HERE?!

* Light bars for bulbs

* moved maint door, pipes, added adherent bath and bodyworks

* Comment to force checks

I hate you, Maintainers

* I hate me and my miss clicks, deleted two in wall firealarms

Co-authored-by: LordPapalus <lordpapalus@gmail.com>
Co-authored-by: Changelogs <action@github.com>
Co-authored-by: Solaris-Shade <73904284+Solaris-Shade@users.noreply.github.com>
Co-authored-by: LordPapalus <54518057+LordPapalus@users.noreply.github.com>
2022-02-17 09:14:59 -08:00

30 lines
1.1 KiB
Plaintext

#define span(class, text) ("<span class='[class]'>[text]</span>")
#define get_turf(A) get_step(A,0)
#define get_x(A) (get_step(A, 0)?.x || 0)
#define get_y(A) (get_step(A, 0)?.y || 0)
#define get_z(A) (get_step(A, 0)?.z || 0)
#define RANDOM_BLOOD_TYPE pick(4;"O-", 36;"O+", 3;"A-", 28;"A+", 1;"B-", 20;"B+", 1;"AB-", 5;"AB+")
#define to_world(message) to_chat(world, message)
#define to_file(file_entry, source_var) file_entry << source_var
#define from_file(file_entry, target_var) file_entry >> target_var
#define show_browser(target, browser_content, browser_name) target << browse(browser_content, browser_name)
#define CanInteract(user, state) (CanUseTopic(user, state) == UI_INTERACTIVE)
#define sequential_id(key) uniqueness_repository.Generate(/datum/uniqueness_generator/id_sequential, key)
#define random_id(key,min_id,max_id) uniqueness_repository.Generate(/datum/uniqueness_generator/id_random, key, min_id, max_id)
#define ARGS_DEBUG log_debug("[__FILE__] - [__LINE__]") ; for(var/arg in args) { log_debug("\t[log_info_line(arg)]") }
//thank you Kevin for not running checks again, now I have to update one file with a comment - Papalus