Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xeno and a bit of defines cleanup. #41

Merged
merged 39 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
042e37e
voice folder
Helg2 Jul 22, 2024
893ff45
b18
Helg2 Jul 22, 2024
a8d7973
predator
Helg2 Jul 22, 2024
71fc36d
human male
Helg2 Jul 22, 2024
b83f620
human female
Helg2 Jul 22, 2024
3f9a3bb
predalien
Helg2 Jul 22, 2024
bb8f346
alien
Helg2 Jul 22, 2024
d8a7fd1
larva
Helg2 Jul 22, 2024
c319282
queen
Helg2 Jul 22, 2024
ea6946c
oops
Helg2 Jul 22, 2024
a2cb140
effect folder
Helg2 Jul 22, 2024
12aaafb
behemoth
Helg2 Jul 24, 2024
25c91ff
alien
Helg2 Jul 24, 2024
b58978b
explosions
Helg2 Jul 24, 2024
a174f76
behemoth2
Helg2 Jul 24, 2024
73b313d
alien footsteps
Helg2 Jul 24, 2024
ee800cf
Revert "alien footsteps"
Helg2 Jul 24, 2024
494c3ed
Reapply "alien footsteps"
Helg2 Jul 24, 2024
d8b8d4f
hmmm
Helg2 Jul 24, 2024
3bb295a
Update sound.dm
Helg2 Jul 24, 2024
dbb4c33
Update __game.dm
Helg2 Jul 25, 2024
79e7b8b
Update _radio.dm
Helg2 Jul 25, 2024
0f3f281
hmm
Helg2 Jul 25, 2024
4693aac
eh
Helg2 Jul 25, 2024
998bde0
etc
Helg2 Jul 25, 2024
e8c34b5
icons
Helg2 Jul 25, 2024
62f6673
fixes
Helg2 Jul 25, 2024
14db675
forgot
Helg2 Jul 25, 2024
f044e19
Update code/modules/mob/living/carbon/xenomorph/castes/chimera/abilit…
Helg2 Jul 25, 2024
8867eb9
Update sentries.dm
Helg2 Jul 25, 2024
2d19a8e
hmm
Helg2 Jul 25, 2024
4b48471
Vet
Helg2 Jul 25, 2024
1f6765e
Merge branch 'master' into sound-reorg
Helg2 Jul 26, 2024
732ef28
conflicts
Helg2 Jul 26, 2024
c19eac0
Merge branch 'master' into defines
Helg2 Jul 26, 2024
ec5a392
conflicts
Helg2 Jul 26, 2024
99cf25a
Merge branch 'sound-reorg' into defines
Helg2 Jul 26, 2024
14af5cc
Merge branch 'master' into defines
Helg2 Jul 26, 2024
d7b2198
Delete abilities_wraith.dm
Helg2 Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions code/__DEFINES/__game.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

#define INVISIBILITY_ABSTRACT 101 //only used for abstract objects (e.g. spacevine_controller), things that are not really there.


//Object specific defines
#define CANDLE_LUM 3 //For how bright candles are

Expand All @@ -47,24 +46,11 @@
#define SEC_LEVEL_RED 2
#define SEC_LEVEL_DELTA 3


//=================================================
#define HOSTILE_STANCE_IDLE 1
#define HOSTILE_STANCE_ALERT 2
#define HOSTILE_STANCE_ATTACK 3
#define HOSTILE_STANCE_ATTACKING 4
#define HOSTILE_STANCE_TIRED 5
//=================================================


//=================================================
//Game mode related defines.

#define TRANSITIONEDGE 3 //Distance from edge to move to another z-level

//Flags for zone sleeping
#define ZONE_ACTIVE 1
#define ZONE_SLEEPING 0
#define GET_RANDOM_FREQ rand(32000, 55000) //Frequency stuff only works with 45kbps oggs.

//ceiling types
Expand All @@ -77,7 +63,6 @@
#define CEILING_DEEP_UNDERGROUND 6
#define CEILING_DEEP_UNDERGROUND_METAL 6


// Default font settings
#define FONT_SIZE "5pt"
#define FONT_COLOR "#09f"
Expand All @@ -89,21 +74,13 @@

#define GAME_YEAR (text2num(time2text(world.realtime, "YYYY")) + 395)


#define MAX_MESSAGE_LEN 1024
#define MAX_PAPER_MESSAGE_LEN 3072
#define MAX_BOOK_MESSAGE_LEN 9216
#define MAX_NAME_LEN 26
#define MAX_BROADCAST_LEN 512
#define MAX_NAME_HYPO 3


//for whether AI eyes see static, and whether it is mouse-opaque or not
#define USE_STATIC_NONE 0
#define USE_STATIC_TRANSPARENT 1
#define USE_STATIC_OPAQUE 2


#define CINEMATIC_DEFAULT 1
#define CINEMATIC_SELFDESTRUCT 2
#define CINEMATIC_SELFDESTRUCT_MISS 3
Expand Down
7 changes: 2 additions & 5 deletions code/__DEFINES/_radio.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
#define RADIO_CHANNEL_ECHO "Echo"
#define RADIO_CHANNEL_DS1 "Alamo"
#define RADIO_CHANNEL_DS2 "Normandy"
#define RADIO_CHANNEL_YAUTJA "Yautja" //RU TGMC ADDITION
#define RADIO_CHANNEL_YAUTJA "Yautja"

#define MIN_FREE_FREQ 1201 // -------------------------------------------------
// Frequencies are always odd numbers and range from 1201 to 1599.

//Preds
#define YAUT_FREQ 1233 //RU TGMC ADDITION
#define YAUT_FREQ 1233

//SOM squads
#define FREQ_COMMAND_SOM 1235
Expand Down Expand Up @@ -119,14 +119,11 @@

#define FREQ_CIV_GENERAL 1469


#define MAX_FREQ 1489 // ------------------------------------------------------


#define MAX_FREE_FREQ 1599 // -------------------------------------------------



// Transmission types.
#define TRANSMISSION_WIRE 0 // some sort of wired connection, not used
#define TRANSMISSION_RADIO 1 // electromagnetic radiation (default)
Expand Down
3 changes: 0 additions & 3 deletions code/__DEFINES/actions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@
#define ABILITY_IGNORE_DEAD_TARGET (1 << 13) // bypass checks of a dead target
#define ABILITY_IGNORE_SELECTED_ABILITY (1 << 14) // bypass the check of the selected ability
#define ABILITY_DO_AFTER_ATTACK (1 << 15) //Let the xeno attack the object and perform the ability.
#define ABILITY_USE_BURROWED (1 << 16) // ignore being burrowed
#define ABILITY_USE_ROOTED (1 << 17) // ignore being currently rooted

#define ABILITY_TURF_TARGET (1 << 0) // ability targets turfs
#define ABILITY_MOB_TARGET (1 << 1) // ability targets mobs

#define ABILITY_KEYBIND_USE_ABILITY (1 << 0) // immediately activate even if selectable


#define ABILITY_CRASH (1<<0)
#define ABILITY_NUCLEARWAR (1<<1)
#define ABILITY_ALL_GAMEMODE (ABILITY_CRASH|ABILITY_NUCLEARWAR)
2 changes: 1 addition & 1 deletion code/__DEFINES/area.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define NO_DROPPOD (1<<2)
///Make this area immune to cas/ob laser. Explosions can still go through if the ob is called in a nearby area
#define OB_CAS_IMMUNE (1<<3)
///Prevent wraith from portaling there, and hivemind to weed there when shutters are closed
///Prevent hivemind to weed there when shutters are closed
#define MARINE_BASE (1<<4)
///radio works even underground
#define ALWAYS_RADIO (1<<5)
1 change: 0 additions & 1 deletion code/__DEFINES/cooldowns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#define COOLDOWN_GAS_BREATH "cooldown_gas_breath"
#define COOLDOWN_SIGNALLER_SEND "cooldown_signaller_send"
#define COOLDOWN_BIKE_FUEL_MESSAGE "cooldown_bikee_fuel_message"
#define COOLDOWN_WRAITH_PORTAL_TELEPORTED "cooldown_wraith_portal_teleported"
#define COOLDOWN_ITEM_TRICK "cooldown_item_trick"
#define COOLDOWN_RAVAGER_FLAMER_ACT "cooldown_ravager_flamer_act"
#define COOLDOWN_DROPPOD_TARGETTING "cooldown_droppod_targetting"
Expand Down
5 changes: 1 addition & 4 deletions code/__DEFINES/dcs/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
///from base of atom/get_mechanics_info(): (/mob)
#define COMSIG_ATOM_GET_MECHANICS_INFO "atom_mechanics_info"
#define COMPONENT_MECHANICS_CHANGE (1<<0)

///from base of [/atom/proc/update_appearance]: (updates)
#define COMSIG_ATOM_UPDATE_APPEARANCE "atom_update_appearance"
/// If returned from [COMSIG_ATOM_UPDATE_APPEARANCE] it prevents the atom from updating its name.
Expand Down Expand Up @@ -678,9 +678,6 @@
#define COMSIG_XENO_PROJECTILE_HIT "xeno_projectile_hit" ///from [/mob/living/carbon/xenomorph/projectile_hit] called when a projectile hits a xeno but before confirmation of a hit (can miss due to inaccuracy/evasion)
#define COMPONENT_PROJECTILE_DODGE (1<<0)

#define COMSIG_XENOMORPH_WRAITH_RECALL "xenomorph_wraith_recall"
#define COMPONENT_BANISH_TARGETS_EXIST (1<<0)

#define COMSIG_XENO_PSYCHIC_LINK_REMOVED "xeno_psychic_link_removed"

#define COMSIG_XENOMORPH_LEAP_BUMP "xenomorph_leap_bump" //from /mob/living/carbon/xenomorph/bump
Expand Down
2 changes: 0 additions & 2 deletions code/__DEFINES/is_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@
#define isxenodefiler(A) (istype(A, /mob/living/carbon/xenomorph/defiler))
#define isxenobull(A) (istype(A, /mob/living/carbon/xenomorph/bull))
#define isxenohivemind(A) (istype(A, /mob/living/carbon/xenomorph/hivemind))
#define isxenowraith(A) (istype(A, /mob/living/carbon/xenomorph/wraith))
//#define isxenowidow(A) (istype(A, /mob/living/carbon/xenomorph/widow)) //RUTGMC DELETION, WIDOW DELETION
#define isxenowarlock(A) (istype(A, /mob/living/carbon/xenomorph/warlock))
#define isxenoking(A) (istype(A, /mob/living/carbon/xenomorph/king))
#define isxenobehemoth(A) (istype(A, /mob/living/carbon/xenomorph/behemoth))
Expand Down
32 changes: 0 additions & 32 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -714,33 +714,9 @@ RU TGMC EDIT */
#define SENTINEL_INTOXICATED_RESIST_REDUCTION 8 //Amount of stacks removed every time the Intoxicated debuff is Resisted against.
#define SENTINEL_INTOXICATED_SANGUINAL_INCREASE 3 //Amount of debuff stacks applied for every tick of Sanguinal.

//Wraith defines

#define WRAITH_BLINK_DRAG_NONFRIENDLY_MULTIPLIER 20 //The amount we multiply the cooldown by when we teleport while dragging a non-friendly target
#define WRAITH_BLINK_DRAG_FRIENDLY_MULTIPLIER 4 //The amount we multiply the cooldown by when we teleport while dragging a friendly target
#define WRAITH_BLINK_RANGE 3

#define WRAITH_BANISH_BASE_DURATION 10 SECONDS
#define WRAITH_BANISH_NONFRIENDLY_LIVING_MULTIPLIER 0.5
#define WRAITH_BANISH_VERY_SHORT_MULTIPLIER 0.3

#define WRAITH_TELEPORT_DEBUFF_STAGGER_STACKS 2 SECONDS //Stagger and slow stacks applied to adjacent living hostiles before/after a teleport
#define WRAITH_TELEPORT_DEBUFF_SLOWDOWN_STACKS 3 //Stagger and slow stacks applied to adjacent living hostiles before/after a teleport

//Larva defines
#define LARVA_VENT_CRAWL_TIME 1 SECONDS //Larva can crawl into vents fast

/* RUTGMC DELETION, WIDOW DELETION
//Widow Defines
#define WIDOW_SPEED_BONUS 1 // How much faster widow moves while she has wall_speedup element
#define WIDOW_WEB_HOOK_RANGE 10 // how far the web hook can reach
#define WIDOW_WEB_HOOK_MIN_RANGE 3 // the minimum range that the hook must travel to use the ability
#define WIDOW_WEB_HOOK_SPEED 3 // how fast widow yeets herself when using web hook

//Spiderling defines
#define TIME_TO_DISSOLVE 5 SECONDS
#define SPIDERLING_RAGE_RANGE 10 // how close a nearby human has to be in order to be targeted
*/
//Praetorian defines
#define PRAE_CHARGEDISTANCE 6

Expand Down Expand Up @@ -837,14 +813,6 @@ GLOBAL_LIST_INIT(human_body_parts, list(BODY_ZONE_HEAD,

#define IGNORE_LOC_CHANGE (IGNORE_USER_LOC_CHANGE|IGNORE_TARGET_LOC_CHANGE)

/* RUTGMC DELETION
#define TIER_ONE_THRESHOLD 420

#define TIER_TWO_THRESHOLD 840

#define TIER_THREE_THRESHOLD 1750
*/

// Pheromones and buff orders

#define AURA_XENO_RECOVERY "Recovery"
Expand Down
6 changes: 2 additions & 4 deletions code/__DEFINES/obj_flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
#define XENO_DAMAGEABLE (1<<3) //xenos can damage this by slashing and spitting
#define DROPSHIP_IMMUNE (1<<4) //dropship cannot land on it
#define CRUSHER_IMMUNE (1<<5) //is immune to crusher's charge destruction
#define BANISH_IMMUNE (1<<6) //is immune it wraith's banish ability
#define PLASMACUTTER_IMMUNE (1<<7) //is immune to being cut by a plasmacutter
#define PROJECTILE_IMMUNE (1<<8) //Cannot be hit by projectiles
#define PORTAL_IMMUNE (1<<9) //Cannot be teleported by wraith's portals
#define PLASMACUTTER_IMMUNE (1<<6) //is immune to being cut by a plasmacutter
#define PROJECTILE_IMMUNE (1<<7) //Cannot be hit by projectiles

#define RESIST_ALL (UNACIDABLE|INDESTRUCTIBLE|PLASMACUTTER_IMMUNE)

Expand Down
2 changes: 0 additions & 2 deletions code/__DEFINES/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
#define OPTABLE_TRAIT "optable"
#define TIMESHIFT_TRAIT "timeshift"
#define BRAIN_TRAIT "brain"
//#define WIDOW_ABILITY_TRAIT "widow_ability_trait" //RUTGMC DELETION, WIDOW DELETION
#define PSYCHIC_BLAST_ABILITY_TRAIT "psychic_blast_ability_trait"
#define PSYCHIC_CRUSH_ABILITY_TRAIT "psychic_crush_ability_trait"
#define VORTEX_ABILITY_TRAIT "vortex_ability_trait"
Expand Down Expand Up @@ -183,7 +182,6 @@
#define TRAIT_LEGLESS "legless" //Has lost all the appendages needed to stay standing up.
#define TRAIT_NOPLASMAREGEN "noplasmaregen"//xeno plasma wont recharge
#define TRAIT_UNDEFIBBABLE "undefibbable"//human can't be revived
// #define TRAIT_HOLLOW "hollowedout" //examine trait for puppeteer
#define TRAIT_IMMEDIATE_DEFIB "immediate_defib"//immediately revives when defibbed, rather than just healing
#define TRAIT_HEALING_INFUSION "healing_infusion"//greatly improves natural healing for xenos
#define TRAIT_PSY_DRAINED "psy_drained"//mob was drained of life force by a xenos
Expand Down
27 changes: 1 addition & 26 deletions code/__DEFINES/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@
#define WEAK_ACID_STRENGTH 0.016
#define REGULAR_ACID_STRENGTH 0.04
#define STRONG_ACID_STRENGTH 0.1
/* RU TGMC EDIT
#define PUPPET_RECALL "recall puppet"
#define PUPPET_SEEK_CLOSEST "seeking closest and attack order" //not xeno-usable
#define PUPPET_ATTACK "seek and attack order"
#define PUPPET_SCOUT "scouting order"
RU TGMC EDIT*/

//List of weed types
GLOBAL_LIST_INIT(weed_type_list, typecacheof(list(
/obj/alien/weeds/node,
Expand Down Expand Up @@ -134,24 +129,6 @@ GLOBAL_LIST_INIT(resin_images_list, list(
ALIEN_NEST = image('icons/Xeno/actions.dmi', icon_state = ALIEN_NEST)
))

/* RU TGMC EDIT PUPPETEER REMOVAL
//List of puppeteer order images
GLOBAL_LIST_INIT(puppeteer_order_images_list, list(
PUPPET_ATTACK = image('icons/Xeno/actions.dmi', icon_state = "enrage"),
PUPPET_SCOUT = image('icons/mob/actions.dmi', icon_state = "66"),
PUPPET_RECALL = image('icons/mob/actions.dmi', icon_state = "rally")
))
RU TGMC EDIT PUPPETEER REMOVAL*/
//RUTGMC EDIT BEGIN - Moved to modular_RUtgmc\code\__DEFINES\xeno.dm
/*
//List of puppeteer pheromone images
GLOBAL_LIST_INIT(puppeteer_phero_images_list, list(
AURA_XENO_BLESSFURY = image('icons/mob/actions.dmi', icon_state = "Fury"),
AURA_XENO_BLESSWARDING = image('icons/mob/actions.dmi', icon_state = "Warding"),
AURA_XENO_BLESSFRENZY = image('icons/mob/actions.dmi', icon_state = "Frenzy"),
))
*/ //RUTGMC EDIT END

GLOBAL_LIST_INIT(panther_toxin_type_list, list(
/datum/reagent/toxin/xeno_hemodile,
/datum/reagent/toxin/xeno_transvitox,
Expand Down Expand Up @@ -215,6 +192,4 @@ GLOBAL_LIST_INIT(xeno_ai_spawnable, list(
/// Failed to other blockers such as egg, power plant , coocon , traps
#define ERROR_CONSTRUCT 8

#define PUPPET_WITHER_RANGE 15

#define PRIMAL_WRATH_GAIN_MULTIPLIER 0.5
4 changes: 0 additions & 4 deletions code/_globalvars/bitfields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,8 @@ GLOBAL_LIST_INIT(bitfields, list(
"XENO_DAMAGEABLE" = XENO_DAMAGEABLE,
"DROPSHIP_IMMUNE" = DROPSHIP_IMMUNE,
"CRUSHER_IMMUNE" = CRUSHER_IMMUNE,
"BANISH_IMMUNE" = BANISH_IMMUNE,
"PLASMACUTTER_IMMUNE" = PLASMACUTTER_IMMUNE,
"PROJECTILE_IMMUNE" = PROJECTILE_IMMUNE,
"PORTAL_IMMUNE" = PORTAL_IMMUNE
),
"restrained_flags" = list(
"RESTRAINED_XENO_NEST" = RESTRAINED_XENO_NEST,
Expand Down Expand Up @@ -601,8 +599,6 @@ GLOBAL_LIST_INIT(bitfields, list(
"ABILITY_IGNORE_DEAD_TARGET" = ABILITY_IGNORE_DEAD_TARGET,
"ABILITY_IGNORE_SELECTED_ABILITY" = ABILITY_IGNORE_SELECTED_ABILITY,
"ABILITY_DO_AFTER_ATTACK" = ABILITY_DO_AFTER_ATTACK,
"ABILITY_USE_BURROWED" = ABILITY_USE_BURROWED,
"ABILITY_USE_ROOTED" = ABILITY_USE_ROOTED
),
"pipe_flags" = list(
"PIPING_ALL_LAYER" = PIPING_ALL_LAYER,
Expand Down
5 changes: 0 additions & 5 deletions code/datums/actions/ability_actions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@
carbon_owner.balloon_alert(carbon_owner, "Cannot, busy")
return FALSE

if(!(flags_to_check & ABILITY_USE_BURROWED) && HAS_TRAIT(carbon_owner, TRAIT_BURROWED))
if(!silent)
carbon_owner.balloon_alert(carbon_owner, "Cannot while burrowed")
return FALSE

if(!(flags_to_check & ABILITY_USE_CLOSEDTURF) && isclosedturf(get_turf(carbon_owner)))
if(!silent)
//Not converted to balloon alert as xeno.dm's balloon alert is simultaneously called and will overlap.
Expand Down
10 changes: 0 additions & 10 deletions code/datums/actions/xeno_action.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
X.balloon_alert(X, "Cannot while in crest defense")
return FALSE

if(!(flags_to_check & ABILITY_USE_ROOTED) && HAS_TRAIT_FROM(X, TRAIT_IMMOBILE, BOILER_ROOTED_TRAIT))
if(!silent)
X.balloon_alert(X, "Cannot while rooted")
return FALSE

if(!(flags_to_check & ABILITY_IGNORE_PLASMA) && X.plasma_stored < ability_cost)
if(!silent)
X.balloon_alert(X, "Need [ability_cost - X.plasma_stored] more plasma")
Expand Down Expand Up @@ -83,11 +78,6 @@
X.balloon_alert(X, "Cannot while in crest defense")
return FALSE

if(!(flags_to_check & ABILITY_USE_ROOTED) && HAS_TRAIT_FROM(X, TRAIT_IMMOBILE, BOILER_ROOTED_TRAIT))
if(!silent)
X.balloon_alert(X, "Cannot while rooted")
return FALSE

if(!(flags_to_check & ABILITY_IGNORE_PLASMA) && X.plasma_stored < ability_cost)
if(!silent)
X.balloon_alert(X, "Need [ability_cost - X.plasma_stored] more plasma")
Expand Down
Loading
Loading