mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-26 08:38:34 +01:00
981aaee9fa
* bustin makes me feel good * Update vorestation.dme * Update trap.dm * more * Edits * Make this work on incorp entities * Update entrepreneur_items.dm * Ghost Capture! * awwa * Update entrepreneur_items.dm * Update entrepreneur_items.dm * vore * Other ways to spawn it * Spectral shot * ammo * yeh * get these * Update ammo.dm * AAAA * Update weapons.dm * Update weapons.dm * beeem * better * Update weapons.dm * more stuffs * make sure this is unticked * Update supplypack.dm * spooky * yeh * mob sprites * aaa * Update research_nodes.dm * Remove RND_CATEGORY_INITIAL from ammunition designs * ?. * subtype
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
#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 DEFAULT_BLOOD_TYPE "A+"
|
|
|
|
#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 send_rsc(target, rsc_content, rsc_name) target << browse_rsc(rsc_content, rsc_name)
|
|
#define open_link(target, url) target << link(url)
|
|
|
|
#define CanInteract(user, state) (CanUseTopic(user, state) == STATUS_INTERACTIVE)
|
|
|
|
#define sequential_id(key) GLOB.uniqueness_repository.Generate(/datum/uniqueness_generator/id_sequential, key)
|
|
|
|
#define random_id(key,min_id,max_id) GLOB.uniqueness_repository.Generate(/datum/uniqueness_generator/id_random, key, min_id, max_id)
|
|
|
|
#define WORLD_ICON_SIZE 32 //Needed for the R-UST port
|
|
|
|
#define PIXEL_MULTIPLIER WORLD_ICON_SIZE/32 //Needed for the R-UST port
|
|
|
|
#define JOINTEXT(X) jointext(X, null)
|
|
|
|
#define isbelly(A) istype(A, /obj/belly)
|
|
#define isrobotmultibelt(A) istype(A, /obj/item/robotic_multibelt)
|
|
#define isgripperpocket(A) istype(A, /obj/item/storage/internal/gripper)
|
|
#define iscapturecrystal(A) istype(A, /obj/item/capture_crystal)
|
|
#define isghosttrap(A) istype(A, /obj/item/ghost_trap)
|