mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-24 05:06:16 +01:00
Chocolatebox
This commit is contained in:
@@ -1268,4 +1268,14 @@ I said no!
|
||||
reagents = list("sugar" = 5, "frostoil" = 5)
|
||||
result = /obj/item/weapon/reagent_containers/food/snacks/mint
|
||||
|
||||
//////////////////////////////////////////
|
||||
// End of BS12 food port
|
||||
//////////////////////////////////////////
|
||||
|
||||
/datum/recipe/chocolatebox
|
||||
reagents = list("milk" = 5)
|
||||
items = list(
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolatebar,
|
||||
/obj/item/weapon/reagent_containers/food/snacks/grown/cherries
|
||||
)
|
||||
result = /obj/item/weapon/reagent_containers/food/snacks/chocolatebox
|
||||
@@ -3309,3 +3309,31 @@
|
||||
..()
|
||||
reagents.add_reagent("nutriment", 3)
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolatebox
|
||||
name = "box of chocolates"
|
||||
desc = "A heart-shaped box of sweet, sweet chocolate-y goodness."
|
||||
icon_state = "chocolatebox-closed"
|
||||
wrapped = 1
|
||||
bitesize = 1
|
||||
trash = /obj/item/trash/chocolatebox
|
||||
|
||||
New()
|
||||
..()
|
||||
reagents.add_reagent("nutriment", 6)
|
||||
|
||||
attack_self(mob/user as mob)
|
||||
if(wrapped)
|
||||
open(user)
|
||||
|
||||
proc/open(mob/user as mob)
|
||||
wrapped = 0
|
||||
user << "You open the [src]."
|
||||
icon_state = "chocolatebox-open"
|
||||
update_icon()
|
||||
|
||||
attack(mob/M as mob, mob/user as mob, def_zone)
|
||||
if(wrapped)
|
||||
user << "You should open the box, first."
|
||||
return
|
||||
else
|
||||
..()
|
||||
Reference in New Issue
Block a user