mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
You can now make plaques from gold. Put a plaque on a wall and engrave an epitaph.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1341 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -2616,6 +2616,12 @@ var/list/datum/material_recipe/MATERIAL_RECIPES = list(
|
||||
..()
|
||||
pixel_x = rand(0,4)-4
|
||||
pixel_y = rand(0,4)-4
|
||||
recipes = gold_recipes
|
||||
|
||||
var/global/list/datum/stack_recipe/gold_recipes = list ( \
|
||||
new/datum/stack_recipe("Plaque", /obj/item/weapon/plaque_assembly, 2), \
|
||||
)
|
||||
|
||||
|
||||
/obj/item/stack/sheet/silver
|
||||
name = "silver"
|
||||
|
||||
@@ -272,6 +272,21 @@
|
||||
opacity = 0
|
||||
density = 0
|
||||
|
||||
/obj/item/weapon/plaque_assembly
|
||||
desc = "Put this on a wall and engrave an epitaph"
|
||||
name = "Plaque Assembly"
|
||||
icon = 'decals.dmi'
|
||||
icon_state = "goldenplaque"
|
||||
|
||||
/obj/item/weapon/plaque_assembly/afterattack(atom/A as mob|obj|turf|area, mob/user as mob)
|
||||
if(istype(A,/turf/simulated/wall) || istype(A,/turf/simulated/shuttle/wall) || istype(A,/turf/unsimulated/wall))
|
||||
var/epitaph = input("What would you like to engrave", null)
|
||||
if(epitaph)
|
||||
var/obj/sign/goldenplaque/gp = new/obj/sign/goldenplaque(A)
|
||||
gp.name = epitaph
|
||||
gp.layer = 2.9
|
||||
del(src)
|
||||
|
||||
/obj/sign/maltesefalcon1 //The sign is 64x32, so it needs two tiles. ;3
|
||||
desc = "The Maltese Falcon, Space Bar and Grill"
|
||||
name = "The Maltese Falcon"
|
||||
|
||||
@@ -680,7 +680,7 @@ TO DO: actually integrate random appearance and player preference save.
|
||||
set desc = "switches between 1x and custom views"
|
||||
|
||||
if(src.view == world.view)
|
||||
src.view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14)
|
||||
src.view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128)
|
||||
else
|
||||
src.view = world.view
|
||||
|
||||
|
||||
Reference in New Issue
Block a user