mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Adds lunchboxes
This commit is contained in:
@@ -20,48 +20,48 @@
|
|||||||
icon_state = "red"
|
icon_state = "red"
|
||||||
item_state = "toolbox_red"
|
item_state = "toolbox_red"
|
||||||
|
|
||||||
New()
|
/obj/item/weapon/storage/toolbox/emergency/New()
|
||||||
..()
|
..()
|
||||||
new /obj/item/weapon/crowbar/red(src)
|
new /obj/item/weapon/crowbar/red(src)
|
||||||
new /obj/item/weapon/extinguisher/mini(src)
|
new /obj/item/weapon/extinguisher/mini(src)
|
||||||
if(prob(50))
|
if(prob(50))
|
||||||
new /obj/item/device/flashlight(src)
|
new /obj/item/device/flashlight(src)
|
||||||
else
|
else
|
||||||
new /obj/item/device/flashlight/flare(src)
|
new /obj/item/device/flashlight/flare(src)
|
||||||
new /obj/item/device/radio(src)
|
new /obj/item/device/radio(src)
|
||||||
|
|
||||||
/obj/item/weapon/storage/toolbox/mechanical
|
/obj/item/weapon/storage/toolbox/mechanical
|
||||||
name = "mechanical toolbox"
|
name = "mechanical toolbox"
|
||||||
icon_state = "blue"
|
icon_state = "blue"
|
||||||
item_state = "toolbox_blue"
|
item_state = "toolbox_blue"
|
||||||
|
|
||||||
New()
|
/obj/item/weapon/storage/toolbox/mechanical/New()
|
||||||
..()
|
..()
|
||||||
new /obj/item/weapon/screwdriver(src)
|
new /obj/item/weapon/screwdriver(src)
|
||||||
new /obj/item/weapon/wrench(src)
|
new /obj/item/weapon/wrench(src)
|
||||||
new /obj/item/weapon/weldingtool(src)
|
new /obj/item/weapon/weldingtool(src)
|
||||||
new /obj/item/weapon/crowbar(src)
|
new /obj/item/weapon/crowbar(src)
|
||||||
new /obj/item/device/analyzer(src)
|
new /obj/item/device/analyzer(src)
|
||||||
new /obj/item/weapon/wirecutters(src)
|
new /obj/item/weapon/wirecutters(src)
|
||||||
|
|
||||||
/obj/item/weapon/storage/toolbox/electrical
|
/obj/item/weapon/storage/toolbox/electrical
|
||||||
name = "electrical toolbox"
|
name = "electrical toolbox"
|
||||||
icon_state = "yellow"
|
icon_state = "yellow"
|
||||||
item_state = "toolbox_yellow"
|
item_state = "toolbox_yellow"
|
||||||
|
|
||||||
New()
|
/obj/item/weapon/storage/toolbox/electrical/New()
|
||||||
..()
|
..()
|
||||||
var/color = pick("red","yellow","green","blue","pink","orange","cyan","white")
|
var/color = pick("red","yellow","green","blue","pink","orange","cyan","white")
|
||||||
new /obj/item/weapon/screwdriver(src)
|
new /obj/item/weapon/screwdriver(src)
|
||||||
new /obj/item/weapon/wirecutters(src)
|
new /obj/item/weapon/wirecutters(src)
|
||||||
new /obj/item/device/t_scanner(src)
|
new /obj/item/device/t_scanner(src)
|
||||||
new /obj/item/weapon/crowbar(src)
|
new /obj/item/weapon/crowbar(src)
|
||||||
|
new /obj/item/stack/cable_coil(src,30,color)
|
||||||
|
new /obj/item/stack/cable_coil(src,30,color)
|
||||||
|
if(prob(5))
|
||||||
|
new /obj/item/clothing/gloves/yellow(src)
|
||||||
|
else
|
||||||
new /obj/item/stack/cable_coil(src,30,color)
|
new /obj/item/stack/cable_coil(src,30,color)
|
||||||
new /obj/item/stack/cable_coil(src,30,color)
|
|
||||||
if(prob(5))
|
|
||||||
new /obj/item/clothing/gloves/yellow(src)
|
|
||||||
else
|
|
||||||
new /obj/item/stack/cable_coil(src,30,color)
|
|
||||||
|
|
||||||
/obj/item/weapon/storage/toolbox/syndicate
|
/obj/item/weapon/storage/toolbox/syndicate
|
||||||
name = "black and red toolbox"
|
name = "black and red toolbox"
|
||||||
@@ -70,13 +70,123 @@
|
|||||||
origin_tech = list(TECH_COMBAT = 1, TECH_ILLEGAL = 1)
|
origin_tech = list(TECH_COMBAT = 1, TECH_ILLEGAL = 1)
|
||||||
force = 7.0
|
force = 7.0
|
||||||
|
|
||||||
New()
|
/obj/item/weapon/storage/toolbox/syndicate/New()
|
||||||
..()
|
..()
|
||||||
var/color = pick("red","yellow","green","blue","pink","orange","cyan","white")
|
var/color = pick("red","yellow","green","blue","pink","orange","cyan","white")
|
||||||
new /obj/item/weapon/screwdriver(src)
|
new /obj/item/weapon/screwdriver(src)
|
||||||
new /obj/item/weapon/wrench(src)
|
new /obj/item/weapon/wrench(src)
|
||||||
new /obj/item/weapon/weldingtool(src)
|
new /obj/item/weapon/weldingtool(src)
|
||||||
new /obj/item/weapon/crowbar(src)
|
new /obj/item/weapon/crowbar(src)
|
||||||
new /obj/item/stack/cable_coil(src,30,color)
|
new /obj/item/stack/cable_coil(src,30,color)
|
||||||
new /obj/item/weapon/wirecutters(src)
|
new /obj/item/weapon/wirecutters(src)
|
||||||
new /obj/item/device/multitool(src)
|
new /obj/item/device/multitool(src)
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox
|
||||||
|
max_storage_space = 8 //slightly smaller than a toolbox
|
||||||
|
name = "rainbow lunchbox"
|
||||||
|
icon_state = "lunchbox_rainbow"
|
||||||
|
item_state = "toolbox_pink"
|
||||||
|
desc = "A little lunchbox. This one is the colors of the rainbow!"
|
||||||
|
var/filled = FALSE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/New()
|
||||||
|
..()
|
||||||
|
if(filled)
|
||||||
|
var/lunch = pick(/obj/item/weapon/reagent_containers/food/snacks/sandwich, /obj/item/weapon/reagent_containers/food/snacks/meatbreadslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/tofubreadslice, /obj/item/weapon/reagent_containers/food/snacks/creamcheesebreadslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/margheritaslice, /obj/item/weapon/reagent_containers/food/snacks/meatpizzaslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/mushroompizzaslice, /obj/item/weapon/reagent_containers/food/snacks/vegetablepizzaslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/tastybread, /obj/item/weapon/reagent_containers/food/snacks/liquidfood,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/jellysandwich/cherry, /obj/item/weapon/reagent_containers/food/snacks/tossedsalad)
|
||||||
|
|
||||||
|
var/snack = pick(/obj/item/weapon/reagent_containers/food/snacks/donut/jelly, /obj/item/weapon/reagent_containers/food/snacks/donut/cherryjelly,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/muffin, /obj/item/weapon/reagent_containers/food/snacks/popcorn,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/sosjerky, /obj/item/weapon/reagent_containers/food/snacks/no_raisin,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/spacetwinkie, /obj/item/weapon/reagent_containers/food/snacks/cheesiehonkers,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/poppypretzel, /obj/item/weapon/reagent_containers/food/snacks/carrotfries
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/candiedapple, /obj/item/weapon/reagent_containers/food/snacks/applepie,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/cherrypie, /obj/item/weapon/reagent_containers/food/snacks/plumphelmetbiscuit,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/appletart, /obj/item/weapon/reagent_containers/food/snacks/carrotcakeslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/cheesecakeslice, /obj/item/weapon/reagent_containers/food/snacks/plaincakeslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/orangecakeslice, /obj/item/weapon/reagent_containers/food/snacks/limecakeslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/lemoncakeslice, /obj/item/weapon/reagent_containers/food/snacks/chocolatecakeslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/birthdaycakeslice, /obj/item/weapon/reagent_containers/food/snacks/watermelonslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/applecakeslice, /obj/item/weapon/reagent_containers/food/snacks/pumpkinpieslice,
|
||||||
|
/obj/item/weapon/reagent_containers/food/snacks/skrellsnacks)
|
||||||
|
|
||||||
|
var/drink = pick(/obj/item/weapon/reagent_containers/food/drinks/cans/cola, /obj/item/weapon/reagent_containers/food/drinks/cans/waterbottle,
|
||||||
|
/obj/item/weapon/reagent_containers/food/drinks/cans/space_mountain_wind, /obj/item/weapon/reagent_containers/food/drinks/cans/dr_gibb,
|
||||||
|
/obj/item/weapon/reagent_containers/food/drinks/cans/starkist, /obj/item/weapon/reagent_containers/food/drinks/cans/space_up,
|
||||||
|
/obj/item/weapon/reagent_containers/food/drinks/cans/lemon_lime, /obj/item/weapon/reagent_containers/food/drinks/cans/iced_tea,
|
||||||
|
/obj/item/weapon/reagent_containers/food/drinks/cans/grape_juice, /obj/item/weapon/reagent_containers/food/drinks/cans/tonic,
|
||||||
|
/obj/item/weapon/reagent_containers/food/drinks/cans/sodawater)
|
||||||
|
|
||||||
|
new lunch(src)
|
||||||
|
new snack(src)
|
||||||
|
new drink(src)
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/heart
|
||||||
|
name = "heart lunchbox"
|
||||||
|
icon_state = "lunchbox_lovelyhearts"
|
||||||
|
item_state = "toolbox_pink"
|
||||||
|
desc = "A little lunchbox. This one has cute little hearts on it!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/heart/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/cat
|
||||||
|
name = "cat lunchbox"
|
||||||
|
icon_state = "lunchbox_sciencecatshow"
|
||||||
|
item_state = "toolbox_green"
|
||||||
|
desc = "A little lunchbox. This one has a cute little science cat from a popular show on it!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/cat/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/nt
|
||||||
|
name = "Nanotrasen brand lunchbox"
|
||||||
|
icon_state = "lunchbox_nanotrasen"
|
||||||
|
item_state = "toolbox_blue"
|
||||||
|
desc = "A little lunchbox. This one is branded with the Nanotrasen logo!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/nt/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/mars
|
||||||
|
name = "Mars university lunchbox"
|
||||||
|
icon_state = "lunchbox_marsuniversity"
|
||||||
|
item_state = "toolbox_red"
|
||||||
|
desc = "A little lunchbox. This one is branded with the Mars university logo!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/mars/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/cti
|
||||||
|
name = "CTI lunchbox"
|
||||||
|
icon_state = "lunchbox_cti"
|
||||||
|
item_state = "toolbox_blue"
|
||||||
|
desc = "A little lunchbox. This one is branded with the CTI logo!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/cti/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/nymph
|
||||||
|
name = "Diona nymph lunchbox"
|
||||||
|
icon_state = "lunchbox_dionanymph"
|
||||||
|
item_state = "toolbox_yellow"
|
||||||
|
desc = "A little lunchbox. This one is an adorable Diona nymph on the side!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/nymph/filled
|
||||||
|
filled = TRUE
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/syndicate
|
||||||
|
name = "black and red lunchbox"
|
||||||
|
icon_state = "lunchbox_syndie"
|
||||||
|
item_state = "toolbox_syndi"
|
||||||
|
desc = "A little lunchbox. This one is a sleek black and red, made of a durable steel!"
|
||||||
|
|
||||||
|
/obj/item/weapon/storage/toolbox/lunchbox/syndicate/filled
|
||||||
|
filled = TRUE
|
||||||
|
|||||||
@@ -37,3 +37,35 @@
|
|||||||
/datum/gear/comb
|
/datum/gear/comb
|
||||||
display_name = "purple comb"
|
display_name = "purple comb"
|
||||||
path = /obj/item/weapon/haircomb
|
path = /obj/item/weapon/haircomb
|
||||||
|
|
||||||
|
/datum/gear/rainbowlunchbox
|
||||||
|
display_name = "lunchbox, rainbow"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/filled
|
||||||
|
|
||||||
|
/datum/gear/heartlunchbox
|
||||||
|
display_name = "lunchbox, heart"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/heart/filled
|
||||||
|
|
||||||
|
/datum/gear/catlunchbox
|
||||||
|
display_name = "lunchbox, cat"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/cat/filled
|
||||||
|
|
||||||
|
/datum/gear/ntlunchbox
|
||||||
|
display_name = "lunchbox, Nanotrasen"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/nt/filled
|
||||||
|
|
||||||
|
/datum/gear/marslunchbox
|
||||||
|
display_name = "lunchbox, Mars university"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/mars/filled
|
||||||
|
|
||||||
|
/datum/gear/ctilunchbox
|
||||||
|
display_name = "lunchbox, CTI"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/cti/filled
|
||||||
|
|
||||||
|
/datum/gear/nymphlunchbox
|
||||||
|
display_name = "lunchbox, Diona nymph"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/nymph/filled
|
||||||
|
|
||||||
|
/datum/gear/syndicatelunchbox
|
||||||
|
display_name = "lunchbox, black and red"
|
||||||
|
path = /obj/item/weapon/storage/toolbox/lunchbox/syndicate/filled
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 68 KiB |
Reference in New Issue
Block a user