mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
* this got a bit... out of hand
* update icon
* extra lines begone
* soundfix
* sirryan review pt1
* fuck I accidently deleted a line
* sirryan pt2
* AA suggestion
* more review
* hooooly crap
* lewcc review
* reviews
* table
* merge master
* Revert "merge master"
This reverts commit c3ec73a0f8.
* bundle css
* reviews and revival
* fuck I missed a file
* steel review
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
|
|
/obj/machinery/kitchen_machine/candy_maker
|
|
name = "candy machine"
|
|
desc = "The stuff of nightmares for a dentist."
|
|
icon = 'icons/obj/cooking_machines.dmi'
|
|
icon_state = "candymaker_off"
|
|
cook_verbs = list("Wonderizing", "Scrumpdiddlyumptiousification", "Miracle-coating", "Flavorifaction")
|
|
recipe_type = RECIPE_CANDY
|
|
off_icon = "candymaker_off"
|
|
on_icon = "candymaker_on"
|
|
dirty_icon = "candymaker_dirty"
|
|
open_icon = "candymaker_open"
|
|
|
|
// see code/modules/food/recipes_candy.dm for recipes
|
|
|
|
/*******************
|
|
* Initialising
|
|
********************/
|
|
|
|
/obj/machinery/kitchen_machine/candy_maker/Initialize(mapload)
|
|
. = ..()
|
|
component_parts = list()
|
|
component_parts += new /obj/item/circuitboard/candy_maker(null)
|
|
component_parts += new /obj/item/stock_parts/manipulator(null)
|
|
component_parts += new /obj/item/stack/sheet/glass(null)
|
|
component_parts += new /obj/item/stack/cable_coil(null, 5)
|
|
RefreshParts()
|
|
|
|
/obj/machinery/kitchen_machine/candy_maker/upgraded/Initialize(mapload)
|
|
. = ..()
|
|
component_parts = list()
|
|
component_parts += new /obj/item/circuitboard/candy_maker(null)
|
|
component_parts += new /obj/item/stock_parts/manipulator/pico(null)
|
|
component_parts += new /obj/item/stack/sheet/glass(null)
|
|
component_parts += new /obj/item/stack/cable_coil(null, 5)
|
|
RefreshParts()
|
|
|
|
/obj/machinery/kitchen_machine/candy_maker/RefreshParts()
|
|
var/E
|
|
for(var/obj/item/stock_parts/manipulator/M in component_parts)
|
|
E += M.rating
|
|
efficiency = E
|