The PR no one asked for

This commit is contained in:
Archie
2021-10-27 17:24:41 -03:00
parent f83c92b0cf
commit d937b5bc87
3 changed files with 46 additions and 0 deletions
+14
View File
@@ -1921,6 +1921,20 @@ datum/uplink_item/stealthy_weapons/taeclowndo_shoes
item = /obj/item/gun/energy/emitter
restricted_roles = list("Chief Engineer", "Station Engineer", "Atmospheric Technician")
/datum/uplink_item/role_restricted/coconut_cannon
name = "Coconut Cannon"
desc = "A coconut cannon for botanists. Doesn't need gas and can hold up to 50 coconuts."
cost = 5
item = /obj/item/pneumatic_cannon/coconut
restricted_roles = list("Botanist")
/datum/uplink_item/role_restricted/scharge_coconut_cannon
name = "Self-Charging Coconut Cannon"
desc = "A special coconut cannon for botanists, this one can hold up to 20 coconuts and automatically fabricates one every two seconds!"
cost = 10
item = /obj/item/pneumatic_cannon/coconut/selfcharge
restricted_roles = list("Botanist")
// Pointless
/datum/uplink_item/badass
category = "(Pointless) Badassery"
@@ -0,0 +1,31 @@
/obj/item/reagent_containers/food/snacks/grown/coconut/hardened //Exclusively used by the selfcharging version
name = "hardened coconut"
desc = "just like a regular coconut, except this one was probably sitting in a freezer too."
force = 5
throwforce = 8
/obj/item/pneumatic_cannon/coconut //Basically almost a complete mirror of the pie cannon.
name = "coconut cannon"
desc = "Co co nut."
force = 10
gasPerThrow = 0
pressureSetting = 2 //bonk
checktank = FALSE
range_multiplier = 3
fire_mode = PCANNON_FIFO
throw_amount = 1
maxWeightClass = 180 //60 coconuts.
clumsyCheck = FALSE
var/static/list/coconut_typecache = typecacheof(/obj/item/reagent_containers/food/snacks/grown/coconut)
/obj/item/pneumatic_cannon/coconut/Initialize()
. = ..()
allowed_typecache = coconut_typecache
/obj/item/pneumatic_cannon/coconut/selfcharge
desc = "Co co nut. This one seems to have an integrated bluespace coconut self-charging device."
automatic = TRUE
selfcharge = TRUE
pressureSetting = 2 //bonk
charge_type = /obj/item/reagent_containers/food/snacks/grown/coconut/hardened
maxWeightClass = 60 //20 coconuts.
+1
View File
@@ -3092,6 +3092,7 @@
#include "hyperstation\code\datums\weather\oxygen_rain.dm"
#include "hyperstation\code\game\machinery\lore_terminal.dm"
#include "hyperstation\code\game\objects\railings.dm"
#include "hyperstation\code\game\objects\items\coconutcannon.dm"
#include "hyperstation\code\game\objects\items\cosmetics.dm"
#include "hyperstation\code\game\objects\items\storage\big_bag.dm"
#include "hyperstation\code\game\objects\structures\bench.dm"