mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Adds: The C-Foam launcher (#25738)
* The start * Getting a bit further * Slight ammo casing update * Istype helper and foam blockage * Adds status effect * Foam blockage and status effect fixes * Autolathe ammo + stun * aaaaaaaa * Adds uplink item * Actual slowdown * Makes attacking a bit faster again * Ammo increase to 12 * Sirryan review * Adds sprites - almost working * Lots of fixes + mineral doors * Mineral doors don't open with foam
This commit is contained in:
@@ -508,3 +508,12 @@
|
||||
muzzle_flash_range = MUZZLE_FLASH_RANGE_NORMAL
|
||||
muzzle_flash_color = LIGHT_COLOR_DARKRED
|
||||
icon_state = "lasercasing"
|
||||
|
||||
/obj/item/ammo_casing/caseless/c_foam
|
||||
name = "\improper C-Foam blob"
|
||||
desc = "You shouldn't see this! Make an issue report on Github!"
|
||||
caliber = "c_foam"
|
||||
projectile_type = /obj/item/projectile/c_foam
|
||||
muzzle_flash_strength = MUZZLE_FLASH_RANGE_WEAK
|
||||
muzzle_flash_range = MUZZLE_FLASH_RANGE_WEAK
|
||||
muzzle_flash_color = LIGHT_COLOR_DARKRED
|
||||
|
||||
@@ -624,3 +624,13 @@
|
||||
|
||||
/obj/item/ammo_box/magazine/detective/speedcharger/attackby()
|
||||
return
|
||||
|
||||
/obj/item/ammo_box/magazine/c_foam
|
||||
name = "\improper C-Foam canister"
|
||||
desc = "A canister containing inert foam for the C-Foam launcher."
|
||||
icon_state = "foam_canister"
|
||||
ammo_type = /obj/item/ammo_casing/caseless/c_foam
|
||||
max_ammo = 12
|
||||
|
||||
/obj/item/ammo_box/magazine/c_foam/attack_self(mob/user)
|
||||
return
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
else if(isturf(T) && T.density)
|
||||
if(!(istype(T, /turf/simulated/wall/indestructible)))
|
||||
CreateDoor(T)
|
||||
else if(istype(target, /obj/machinery/door))
|
||||
else if(isairlock(target))
|
||||
OpenDoor(target)
|
||||
else if(istype(target, /obj/structure/closet))
|
||||
OpenCloset(target)
|
||||
|
||||
Reference in New Issue
Block a user