mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-30 20:22:32 +00:00
* Rework spray bottles and tools based on them somewhat. Consolidate spray adjustment functions. Change method of preventing spray amount adjustment. Standardize most spray amounts at 10u/2 tiles and 5u/1 tile. Should fix the following issues: https://github.com/ParadiseSS13/Paradise/issues/29930 https://github.com/ParadiseSS13/Paradise/issues/28964 * Adjust spray rework based on review comments Change `adjustable` var to boolean Change `adjust_verb` to `adjust_action` Tie spray transfer amount to tile reach
74 lines
2.6 KiB
Plaintext
74 lines
2.6 KiB
Plaintext
//This file contains xenoborg specic weapons.
|
|
|
|
/obj/item/melee/energy/alien/claws
|
|
name = "energy claws"
|
|
desc = "A set of alien energy claws."
|
|
icon = 'icons/mob/alien.dmi'
|
|
icon_state = "borg-laser-claws"
|
|
icon_state_on = "borg-laser-claws"
|
|
force = 15
|
|
force_on = 15
|
|
throwforce = 5
|
|
throwforce_on = 5
|
|
throw_speed = 1
|
|
throw_range = 5
|
|
w_class_on = WEIGHT_CLASS_SMALL
|
|
attack_verb = list("attacked", "slashed", "gored", "sliced", "torn", "ripped", "butchered", "cut")
|
|
attack_verb_on = list()
|
|
|
|
//Bottles for borg liquid squirters. PSSH PSSH
|
|
/obj/item/reagent_containers/spray/alien
|
|
name = "generic chemical synthesizer"
|
|
desc = "If you can see this, make an issue report on GitHub. Something has gone wrong!"
|
|
icon = 'icons/mob/alien.dmi'
|
|
icon_state = "borg-default"
|
|
spray_maxrange = 3
|
|
spray_currentrange = 3
|
|
|
|
/obj/item/reagent_containers/spray/alien/smoke
|
|
name = "smokescreen module"
|
|
desc = "Releases a dense smoke cloud that cannot be seen through. Your thermal vision is still able to see targets through it."
|
|
icon_state = "borg-spray-smoke"
|
|
list_reagents = list("water" = 50)
|
|
|
|
/obj/item/reagent_containers/spray/alient/normal_act(atom/A, mob/living/user)
|
|
. = TRUE
|
|
if(istype(A, /obj/structure/reagent_dispensers) && get_dist(src,A) <= 1)
|
|
if(!A.reagents.total_volume && A.reagents)
|
|
to_chat(user, "<span class='notice'>\The [A] is empty.</span>")
|
|
return
|
|
|
|
if(reagents.total_volume >= reagents.maximum_volume)
|
|
to_chat(user, "<span class='notice'>\The [src] is full.</span>")
|
|
return
|
|
reagents.remove_reagent(25,"water")
|
|
var/datum/effect_system/smoke_spread/bad/smoke = new
|
|
smoke.set_up(5, FALSE, user)
|
|
smoke.start()
|
|
playsound(user.loc, 'sound/effects/bamf.ogg', 50, 2)
|
|
|
|
/obj/item/reagent_containers/spray/alien/smoke/cyborg_recharge(coeff, emagged)
|
|
reagents.check_and_add("water", volume, 2 * coeff)
|
|
|
|
/obj/item/reagent_containers/spray/alien/acid
|
|
name = "polyacid synthesizer"
|
|
desc = "Sprays concentrated polyacid."
|
|
icon_state = "borg-spray-acid"
|
|
list_reagents = list("facid" = 125, "sacid" = 125)
|
|
|
|
/obj/item/reagent_containers/spray/alien/acid/cyborg_recharge(coeff, emagged)
|
|
reagents.check_and_add("facid", volume / 2, 2 * coeff) // Volume / 2 here becuase there should be an even amount of both chems.
|
|
reagents.check_and_add("sacid", volume / 2, 2 * coeff)
|
|
|
|
/obj/item/flash/cyborg/alien
|
|
name = "eye flash"
|
|
desc = "Useful for taking pictures, making friends and flash-frying chips."
|
|
icon = 'icons/mob/alien.dmi'
|
|
icon_state = "borg-flash"
|
|
|
|
/obj/item/flash/cyborg/alien/cyborg_recharge(coeff, emagged)
|
|
if(broken)
|
|
broken = FALSE
|
|
times_used = 0
|
|
icon_state = "borg-flash"
|