mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Adds a generic photo item to the custom loadout (#9833)
This commit is contained in:
@@ -168,4 +168,8 @@
|
||||
toothpaste["toothpaste and blue toothbrush"] = /obj/item/storage/box/toothpaste
|
||||
toothpaste["toothpaste and green toothbrush"] = /obj/item/storage/box/toothpaste/green
|
||||
toothpaste["toothpaste and red toothbrush"] = /obj/item/storage/box/toothpaste/red
|
||||
gear_tweaks += new/datum/gear_tweak/path(toothpaste)
|
||||
gear_tweaks += new/datum/gear_tweak/path(toothpaste)
|
||||
|
||||
/datum/gear/photo
|
||||
display_name = "photo"
|
||||
path = /obj/item/generic_photo
|
||||
@@ -15,7 +15,7 @@
|
||||
desc = "A camera film cartridge. Insert it into a camera to reload it."
|
||||
icon_state = "film"
|
||||
item_state = "electropack"
|
||||
w_class = 1.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
|
||||
/********
|
||||
@@ -28,7 +28,7 @@ var/global/photo_count = 0
|
||||
icon = 'icons/obj/bureaucracy.dmi'
|
||||
icon_state = "photo"
|
||||
item_state = "paper"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
var/id
|
||||
var/icon/img //Big photo image
|
||||
var/scribble //Scribble on the back.
|
||||
@@ -123,7 +123,7 @@ var/global/photo_count = 0
|
||||
desc = "A polaroid camera."
|
||||
icon_state = "camera"
|
||||
item_state = "electropack"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 2000)
|
||||
@@ -277,3 +277,13 @@ var/global/photo_count = 0
|
||||
p.id = id
|
||||
|
||||
return p
|
||||
|
||||
/obj/item/generic_photo //this is just meant for the custom loadout, so people can rename and change the desc this to whatever they want
|
||||
name = "photo"
|
||||
desc = "A photo of some mundane situation."
|
||||
icon = 'icons/obj/bureaucracy.dmi'
|
||||
icon_state = "photo"
|
||||
item_state = "paper"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
pickup_sound = 'sound/items/pickup/paper.ogg'
|
||||
|
||||
Reference in New Issue
Block a user