Files
Bubberstation/code/modules/projectiles/ammunition/ballistic/rocket.dm
Ghom 6b007f758b Replaces ammo_casing/caseless and bullet/reusable with elements. (#76335)
The reusable and caseless types only purposes are the behaviors of
deleting the casing when fired and spawning a new object when the
projectile ultimately reaches its maximum range or hits a target, both
of which are easily "elementizable". Also, I don't like those barely
filled sub-folders in the projectile module, and the fact we've
divergent reusable and single use arrow types.
2023-06-28 01:14:59 +00:00

43 lines
1.3 KiB
Plaintext

/obj/item/ammo_casing/rocket
name = "\improper PM-9HE"
desc = "An 84mm High Explosive rocket. Fire at people and pray."
caliber = CALIBER_84MM
icon_state = "srm-8"
base_icon_state = "srm-8"
projectile_type = /obj/projectile/bullet/rocket
/obj/item/ammo_casing/rocket/Initialize(mapload)
. = ..()
AddElement(/datum/element/caseless)
/obj/item/ammo_casing/rocket/update_icon_state()
. = ..()
icon_state = "[base_icon_state]"
/obj/item/ammo_casing/rocket/heap
name = "\improper PM-9HEAP"
desc = "An 84mm High Explosive All Purpose rocket. For when you just need something to not exist anymore."
icon_state = "84mm-heap"
base_icon_state = "84mm-heap"
projectile_type = /obj/projectile/bullet/rocket/heap
/obj/item/ammo_casing/rocket/weak
name = "\improper PM-9HE Low-Yield"
desc = "An 84mm High Explosive rocket. This one isn't quite as devastating."
projectile_type = /obj/projectile/bullet/rocket/weak
/obj/item/ammo_casing/a75
desc = "A .75 bullet casing."
caliber = CALIBER_75
icon_state = "s-casing-live"
base_icon_state = "s-casing-live"
projectile_type = /obj/projectile/bullet/gyro
/obj/item/ammo_casing/a75/Initialize(mapload)
. = ..()
AddElement(/datum/element/caseless)
/obj/item/ammo_casing/a75/update_icon_state()
. = ..()
icon_state = "[base_icon_state]"