mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Remove Sabess's custom item from code, it's been replaced with an entry in the new system.
This commit is contained in:
@@ -10,14 +10,14 @@
|
|||||||
var/open
|
var/open
|
||||||
var/obj/item/held //Item inside locket.
|
var/obj/item/held //Item inside locket.
|
||||||
|
|
||||||
/obj/item/clothing/accessory/locket/heart
|
|
||||||
name = "heart-shaped locket"
|
|
||||||
desc = " A silver, heart-shaped locket. It flips open to reveal two pictures, one of a young red-headed woman and one of a brunette of similar age. Small writing is etched onto the back, reading 'M+L'. Some may regard it as cheesy."
|
|
||||||
icon_state = "heartlocket"
|
|
||||||
|
|
||||||
/obj/item/clothing/accessory/locket/attack_self(mob/user as mob)
|
/obj/item/clothing/accessory/locket/attack_self(mob/user as mob)
|
||||||
if(!base_icon)
|
if(!base_icon)
|
||||||
base_icon = icon_state
|
base_icon = icon_state
|
||||||
|
|
||||||
|
if(!("[base_icon]_open" in icon_states(icon)))
|
||||||
|
user << "\The [src] doesn't seem to open."
|
||||||
|
return
|
||||||
|
|
||||||
open = !open
|
open = !open
|
||||||
user << "You flip \the [src] [open?"open":"closed"]."
|
user << "You flip \the [src] [open?"open":"closed"]."
|
||||||
if(open)
|
if(open)
|
||||||
@@ -36,11 +36,11 @@
|
|||||||
|
|
||||||
if(istype(O,/obj/item/weapon/paper) || istype(O, /obj/item/weapon/photo))
|
if(istype(O,/obj/item/weapon/paper) || istype(O, /obj/item/weapon/photo))
|
||||||
if(held)
|
if(held)
|
||||||
usr << "[src] already has something inside it."
|
usr << "\The [src] already has something inside it."
|
||||||
else
|
else
|
||||||
usr << "You slip [O] into [src]."
|
usr << "You slip [O] into [src]."
|
||||||
user.drop_item()
|
user.drop_item()
|
||||||
O.loc = src
|
O.loc = src
|
||||||
src.held = O
|
src.held = O
|
||||||
return
|
return
|
||||||
..()
|
..()
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 9.7 KiB |
Reference in New Issue
Block a user