Skip to content

Commit

Permalink
TGS Test Merge (#16001)
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyorange committed Jun 17, 2024
2 parents 43e155c + a4fb64d commit a143d08
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
9 changes: 4 additions & 5 deletions code/game/objects/effects/effect_system/smoke.dm
Original file line number Diff line number Diff line change
Expand Up @@ -375,20 +375,19 @@

//Xeno neurotox smoke.
/obj/effect/particle_effect/smoke/xeno/neuro
alpha = 120
opacity = FALSE
alpha = 255
opacity = TRUE
color = "#ffbf58" //Mustard orange?
smoke_traits = SMOKE_XENO|SMOKE_XENO_NEURO|SMOKE_GASP|SMOKE_COUGH|SMOKE_EXTINGUISH

///Xeno neurotox smoke for Defilers; doesn't extinguish
/obj/effect/particle_effect/smoke/xeno/neuro/medium
alpha = 255
opacity = TRUE
color = "#ffbf58" //Mustard orange?
smoke_traits = SMOKE_XENO|SMOKE_XENO_NEURO|SMOKE_GASP|SMOKE_COUGH|SMOKE_HUGGER_PACIFY

///Xeno neurotox smoke for neurospit; doesn't extinguish or blind
/obj/effect/particle_effect/smoke/xeno/neuro/light
alpha = 120
opacity = FALSE
smoke_traits = SMOKE_XENO|SMOKE_XENO_NEURO|SMOKE_GASP|SMOKE_COUGH|SMOKE_NEURO_LIGHT //Light neuro smoke doesn't extinguish

/obj/effect/particle_effect/smoke/xeno/toxic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ GLOBAL_LIST_INIT(boiler_glob_image_list, list(
keybinding_signals = list(
KEYBINDING_NORMAL = COMSIG_XENOABILITY_LONG_RANGE_SIGHT,
)
/// The offset in a direction for zoom_in
var/tile_offset = 5
/// The size of the zoom for zoom_in
var/view_size = 4

/datum/action/ability/xeno_action/toggle_long_range/bull
tile_offset = 11
view_size = 12

/datum/action/ability/xeno_action/toggle_long_range/action_activate()
var/mob/living/carbon/xenomorph/boiler/X = owner
Expand All @@ -43,9 +51,7 @@ GLOBAL_LIST_INIT(boiler_glob_image_list, list(
else
X.visible_message(span_notice("[X] starts looking off into the distance."), \
span_notice("We start focusing your sight to look off into the distance."), null, 5)
if(!do_after(X, 1 SECONDS, IGNORE_HELD_ITEM, null, BUSY_ICON_GENERIC) || (X.xeno_flags & XENO_ZOOMED))
return
X.zoom_in(11)
X.zoom_in(tile_offset, view_size)
..()

// ***************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
// ***************************************
/mob/living/carbon/xenomorph/boiler/Initialize(mapload)
. = ..()
smoke = new /datum/effect_system/smoke_spread/xeno/acid(src)
smoke = new /datum/effect_system/smoke_spread/xeno/acid/opaque(src)
ammo = GLOB.ammo_list[/datum/ammo/xeno/boiler_gas]
update_boiler_glow()
RegisterSignal(src, COMSIG_XENOMORPH_GIBBING, PROC_REF(gib_explode))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/datum/action/ability/activable/xeno/bull_charge,
/datum/action/ability/activable/xeno/bull_charge/headbutt,
/datum/action/ability/activable/xeno/bull_charge/gore,
/datum/action/ability/xeno_action/toggle_long_range,
/datum/action/ability/xeno_action/toggle_long_range/bull,
)

/datum/xeno_caste/bull/normal
Expand Down
8 changes: 4 additions & 4 deletions code/modules/projectiles/ammo_types/xenos/gas_xenoammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@
if(!do_after(user_xeno, 3 SECONDS, NONE, trap))
return FALSE
trap.set_trap_type(TRAP_SMOKE_ACID)
trap.smoke = new /datum/effect_system/smoke_spread/xeno/acid
trap.smoke = new /datum/effect_system/smoke_spread/xeno/acid/opaque
trap.smoke.set_up(1, get_turf(trap))
return TRUE

/datum/ammo/xeno/boiler_gas/corrosive/on_shield_block(mob/target_mob, obj/projectile/proj)
airburst(target_mob, proj)

/datum/ammo/xeno/boiler_gas/corrosive/set_smoke()
smoke_system = new /datum/effect_system/smoke_spread/xeno/acid()
smoke_system = new /datum/effect_system/smoke_spread/xeno/acid/opaque()

/datum/ammo/xeno/boiler_gas/lance
name = "pressurized glob of gas"
Expand All @@ -158,7 +158,7 @@
///As opposed to normal globs, this will pass by the target tile if they hit nothing.
ammo_behavior_flags = AMMO_XENO|AMMO_SKIPS_ALIENS|AMMO_LEAVE_TURF
danger_message = span_danger("A pressurized glob of acid lands with a nasty splat and explodes into noxious fumes!")
max_range = 25
max_range = 14
damage = 75
penetration = 70
reagent_transfer_amount = 55
Expand All @@ -178,7 +178,7 @@
///As opposed to normal globs, this will pass by the target tile if they hit nothing.
ammo_behavior_flags = AMMO_XENO|AMMO_SKIPS_ALIENS|AMMO_LEAVE_TURF
danger_message = span_danger("A pressurized glob of acid lands with a concerning hissing sound and explodes into corrosive bile!")
max_range = 25
max_range = 14
damage = 75
penetration = 70
passed_turf_smoke_type = /datum/effect_system/smoke_spread/xeno/acid/light
Expand Down

0 comments on commit a143d08

Please sign in to comment.