mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
/obj/item/projectile --> /obj/projectile (#30411)
* yers * vars * map changes * some comments (clearly not stolen from items) * fix component * summary
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
ranged = TRUE
|
||||
retreat_distance = 5
|
||||
minimum_distance = 5
|
||||
projectiletype = /obj/item/projectile/neurotox
|
||||
projectiletype = /obj/projectile/neurotox
|
||||
projectilesound = 'sound/weapons/pierce.ogg'
|
||||
|
||||
// Below here is ruin specific code
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
icon_state = "syndicate_harbinger"
|
||||
icon_living = "syndicate_harbinger"
|
||||
speak_emote = list("snarls")
|
||||
projectiletype = /obj/item/projectile/bullet/heavybullet
|
||||
projectiletype = /obj/projectile/bullet/heavybullet
|
||||
projectilesound = 'sound/weapons/gunshots/gunshot_rifle.ogg'
|
||||
internal_gps = null
|
||||
faction = list("syndicate", "spawned_corpse")
|
||||
|
||||
@@ -190,7 +190,7 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
|
||||
GLOB.telecomms_trap_tank -= src
|
||||
return ..()
|
||||
|
||||
/obj/structure/telecomms_trap_tank/bullet_act(obj/item/projectile/P)
|
||||
/obj/structure/telecomms_trap_tank/bullet_act(obj/projectile/P)
|
||||
explode()
|
||||
|
||||
/obj/structure/telecomms_trap_tank/proc/explode()
|
||||
@@ -337,7 +337,7 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
|
||||
maxHealth = 200
|
||||
faction = list("malf_drone")
|
||||
speed = 0.5
|
||||
projectile_type = /obj/item/projectile/beam/disabler/weak
|
||||
projectile_type = /obj/projectile/beam/disabler/weak
|
||||
projectile_sound = 'sound/weapons/taser2.ogg'
|
||||
ranged_burst_count = 2
|
||||
gold_core_spawnable = NO_SPAWN // Could you imagine xenobio with this? lmao.
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
/// Datum which keeps us hanging out with our parent
|
||||
var/datum/movement_detector/tracker
|
||||
/// Type of projectile we fire
|
||||
var/projectile_type = /obj/item/projectile/baby_watcher_blast
|
||||
var/projectile_type = /obj/projectile/baby_watcher_blast
|
||||
/// Sound to make when we shoot
|
||||
var/projectile_sound = 'sound/weapons/pierce.ogg'
|
||||
/// Time between taking potshots at goliaths
|
||||
@@ -193,7 +193,7 @@
|
||||
var/turf/U = get_turf(target)
|
||||
if(!T || !U)
|
||||
return
|
||||
var/obj/item/projectile/O = new projectile_type(T)
|
||||
var/obj/projectile/O = new projectile_type(T)
|
||||
playsound(get_turf(src), projectile_sound, 75, TRUE)
|
||||
O.firer = parent // no hitting owner.
|
||||
O.current = T
|
||||
@@ -253,6 +253,6 @@
|
||||
|
||||
|
||||
/// Beam fired by a baby watcher, doesn't actually do less damage than its parent
|
||||
/obj/item/projectile/baby_watcher_blast
|
||||
/obj/projectile/baby_watcher_blast
|
||||
name = "hatchling beam"
|
||||
icon_state = "ice_2"
|
||||
|
||||
Reference in New Issue
Block a user