mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-20 18:47:53 +01:00
Merge pull request #4837 from Schnayy/giftitems
Gift items + Cargo crate
This commit is contained in:
@@ -35,6 +35,50 @@
|
||||
var/const/signfont = "Times New Roman"
|
||||
var/const/crayonfont = "Comic Sans MS"
|
||||
|
||||
/obj/item/weapon/paper/card
|
||||
name = "blank card"
|
||||
desc = "A gift card with space to write on the cover."
|
||||
icon_state = "greetingcard"
|
||||
slot_flags = null //no fun allowed!!!!
|
||||
|
||||
/obj/item/weapon/paper/card/AltClick() //No fun allowed
|
||||
return
|
||||
|
||||
/obj/item/weapon/paper/card/update_icon()
|
||||
return
|
||||
|
||||
/obj/item/weapon/paper/card/smile
|
||||
name = "happy card"
|
||||
desc = "A gift card with a smiley face on the cover."
|
||||
icon_state = "greetingcard_smile"
|
||||
|
||||
/obj/item/weapon/paper/card/cat
|
||||
name = "cat card"
|
||||
desc = "A gift card with a cat on the cover."
|
||||
icon_state = "greetingcard_cat"
|
||||
|
||||
/obj/item/weapon/paper/card/flower
|
||||
name = "flower card"
|
||||
desc = "A gift card with a flower on the cover."
|
||||
icon_state = "greetingcard_flower"
|
||||
|
||||
/obj/item/weapon/paper/card/heart
|
||||
name = "heart card"
|
||||
desc = "A gift card with a heart on the cover."
|
||||
icon_state = "greetingcard_heart"
|
||||
|
||||
/obj/item/weapon/paper/card/New()
|
||||
..()
|
||||
pixel_y = rand(-8, 8)
|
||||
pixel_x = rand(-9, 9)
|
||||
stamps = null
|
||||
|
||||
if(info != initial(info))
|
||||
info = html_encode(info)
|
||||
info = replacetext(info, "\n", "<BR>")
|
||||
info = parsepencode(info)
|
||||
return
|
||||
|
||||
/obj/item/weapon/paper/alien
|
||||
name = "alien tablet"
|
||||
desc = "It looks highly advanced"
|
||||
@@ -319,7 +363,7 @@
|
||||
if(P.lit && !user.restrained())
|
||||
if(istype(P, /obj/item/weapon/flame/lighter/zippo))
|
||||
class = "rose"
|
||||
|
||||
|
||||
user.visible_message("<span class='[class]'>[user] holds \the [P] up to \the [src], it looks like [TU.hes] trying to burn it!</span>", \
|
||||
"<span class='[class]'>You hold \the [P] up to \the [src], burning it slowly.</span>")
|
||||
|
||||
|
||||
@@ -376,6 +376,29 @@
|
||||
reagents.add_reagent("coco", 2)
|
||||
bitesize = 2
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolatepiece
|
||||
name = "chocolate piece"
|
||||
desc = "A luscious milk chocolate piece filled with gooey caramel."
|
||||
icon_state = "chocolatepiece"
|
||||
filling_color = "#7D5F46"
|
||||
center_of_mass = list("x"=15, "y"=15)
|
||||
nutriment_amt = 1
|
||||
nutriment_desc = list("chocolate" = 3, "caramel" = 2, "lusciousness" = 1)
|
||||
bitesize = 2
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolatepiece/white
|
||||
name = "white chocolate piece"
|
||||
desc = "A creamy white chocolate piece drizzled in milk chocolate."
|
||||
icon_state = "chocolatepiece_white"
|
||||
filling_color = "#E2DAD3"
|
||||
nutriment_desc = list("white chocolate" = 3, "creaminess" = 1)
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolatepiece/truffle
|
||||
name = "chocolate truffle"
|
||||
desc = "A bite-sized milk chocolate truffle that could buy anyone's love."
|
||||
icon_state = "chocolatepiece_truffle"
|
||||
nutriment_desc = list("chocolate" = 3, "undying devotion" = 3)
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/chocolateegg
|
||||
name = "Chocolate Egg"
|
||||
desc = "Such sweet, fattening food."
|
||||
|
||||
Reference in New Issue
Block a user