mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
127 lines
3.0 KiB
Plaintext
127 lines
3.0 KiB
Plaintext
|
|
/obj/item/weapon/plantspray
|
|
icon = 'icons/obj/hydroponics_machines.dmi'
|
|
item_state = "spray"
|
|
flags = OPENCONTAINER | NOBLUDGEON
|
|
slot_flags = SLOT_BELT
|
|
throwforce = 4
|
|
w_class = 2
|
|
throw_speed = 2
|
|
throw_range = 10
|
|
var/toxicity = 4
|
|
var/pest_kill_str = 0
|
|
var/weed_kill_str = 0
|
|
|
|
/obj/item/weapon/plantspray/weeds // -- Skie
|
|
|
|
name = "weed-spray"
|
|
desc = "It's a toxic mixture, in spray form, to kill small weeds."
|
|
icon_state = "weedspray"
|
|
weed_kill_str = 6
|
|
|
|
/obj/item/weapon/plantspray/pests
|
|
name = "pest-spray"
|
|
desc = "It's some pest eliminator spray! <I>Do not inhale!</I>"
|
|
icon_state = "pestspray"
|
|
pest_kill_str = 6
|
|
|
|
/obj/item/weapon/plantspray/pests/old
|
|
name = "bottle of pestkiller"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle16"
|
|
|
|
/obj/item/weapon/plantspray/pests/old/carbaryl
|
|
name = "bottle of carbaryl"
|
|
icon_state = "bottle16"
|
|
toxicity = 4
|
|
pest_kill_str = 2
|
|
|
|
/obj/item/weapon/plantspray/pests/old/lindane
|
|
name = "bottle of lindane"
|
|
icon_state = "bottle18"
|
|
toxicity = 6
|
|
pest_kill_str = 4
|
|
|
|
/obj/item/weapon/plantspray/pests/old/phosmet
|
|
name = "bottle of phosmet"
|
|
icon_state = "bottle15"
|
|
toxicity = 8
|
|
pest_kill_str = 7
|
|
|
|
|
|
// *************************************
|
|
// Weedkiller defines for hydroponics
|
|
// *************************************
|
|
|
|
/obj/item/weedkiller
|
|
name = "bottle of weedkiller"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle16"
|
|
flags = OPENCONTAINER | NOBLUDGEON
|
|
var/toxicity = 0
|
|
var/weed_kill_str = 0
|
|
|
|
/obj/item/weedkiller/triclopyr
|
|
name = "bottle of glyphosate"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle16"
|
|
toxicity = 4
|
|
weed_kill_str = 2
|
|
|
|
/obj/item/weedkiller/lindane
|
|
name = "bottle of triclopyr"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle18"
|
|
toxicity = 6
|
|
weed_kill_str = 4
|
|
|
|
/obj/item/weedkiller/D24
|
|
name = "bottle of 2,4-D"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle15"
|
|
toxicity = 8
|
|
weed_kill_str = 7
|
|
|
|
// *************************************
|
|
// Nutrient defines for hydroponics
|
|
// *************************************
|
|
|
|
/obj/item/weapon/reagent_containers/glass/fertilizer
|
|
name = "fertilizer bottle"
|
|
desc = "A small glass bottle. Can hold up to 10 units."
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle16"
|
|
flags = OPENCONTAINER
|
|
possible_transfer_amounts = null
|
|
w_class = 2
|
|
|
|
var/fertilizer //Reagent contained, if any.
|
|
|
|
//Like a shot glass!
|
|
amount_per_transfer_from_this = 10
|
|
volume = 10
|
|
|
|
/obj/item/weapon/reagent_containers/glass/fertilizer/New()
|
|
..()
|
|
|
|
src.pixel_x = rand(-5.0, 5)
|
|
src.pixel_y = rand(-5.0, 5)
|
|
|
|
if(fertilizer)
|
|
reagents.add_reagent(fertilizer,10)
|
|
|
|
/obj/item/weapon/reagent_containers/glass/fertilizer/ez
|
|
name = "bottle of E-Z-Nutrient"
|
|
icon_state = "bottle16"
|
|
fertilizer = "eznutrient"
|
|
|
|
/obj/item/weapon/reagent_containers/glass/fertilizer/l4z
|
|
name = "bottle of Left 4 Zed"
|
|
icon_state = "bottle18"
|
|
fertilizer = "left4zed"
|
|
|
|
/obj/item/weapon/reagent_containers/glass/fertilizer/rh
|
|
name = "bottle of Robust Harvest"
|
|
icon_state = "bottle15"
|
|
fertilizer = "robustharvest"
|