mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
/obj/structure/ship_munition/disperser_charge
|
|
name = "unknown disperser charge"
|
|
desc = "A charge to power the obstruction removal ballista with. It looks impossibly round and shiny. This charge does not have a defined purpose."
|
|
icon = 'icons/obj/munitions.dmi'
|
|
icon_state = "slug"
|
|
w_class = ITEMSIZE_HUGE
|
|
density = TRUE
|
|
// atom_flags = ATOM_FLAG_NO_TEMP_CHANGE | ATOM_FLAG_CLIMBABLE
|
|
var/chargetype
|
|
var/chargedesc
|
|
var/static/list/move_sounds = list( // some nasty sounds to make when moving the board
|
|
'sound/effects/metalscrape1.ogg',
|
|
'sound/effects/metalscrape2.ogg',
|
|
'sound/effects/metalscrape3.ogg'
|
|
)
|
|
|
|
// make a screeching noise to drive people mad
|
|
/obj/structure/ship_munition/disperser_charge/Moved(atom/old_loc, direction, forced = FALSE)
|
|
. = ..()
|
|
if(prob(50))
|
|
var/turf/T = get_turf(src)
|
|
if(!isspace(T) && !istype(T, /turf/simulated/floor/carpet))
|
|
playsound(T, pick(move_sounds), 50, 1)
|
|
|
|
/obj/structure/ship_munition/disperser_charge/fire
|
|
name = "FR1-ENFER charge"
|
|
color = "#b95a00"
|
|
desc = "A charge to power the obstruction removal ballista with. It looks impossibly round and shiny. This charge is designed to release a localised fire on impact."
|
|
chargetype = OVERMAP_WEAKNESS_FIRE
|
|
chargedesc = "ENFER"
|
|
|
|
/obj/structure/ship_munition/disperser_charge/emp
|
|
name = "EM2-QUASAR charge"
|
|
color = "#6a97b0"
|
|
desc = "A charge to power the obstruction removal ballista with. It looks impossibly round and shiny. This charge is designed to release a blast of electromagnetic pulse on impact."
|
|
chargetype = OVERMAP_WEAKNESS_EMP
|
|
chargedesc = "QUASAR"
|
|
|
|
/obj/structure/ship_munition/disperser_charge/mining
|
|
name = "MN3-BERGBAU charge"
|
|
color = "#cfcf55"
|
|
desc = "A charge to power the obstruction removal ballista with. It looks impossibly round and shiny. This charge is designed to mine ores on impact."
|
|
chargetype = OVERMAP_WEAKNESS_MINING
|
|
chargedesc = "BERGBAU"
|
|
|
|
/obj/structure/ship_munition/disperser_charge/explosive
|
|
name = "XP4-INDARRA charge"
|
|
color = "#aa5f61"
|
|
desc = "A charge to power the obstruction removal ballista with. It looks impossibly round and shiny. This charge is designed to explode on impact."
|
|
chargetype = OVERMAP_WEAKNESS_EXPLOSIVE
|
|
chargedesc = "INDARRA"
|