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:
baloh.matevz
2011-04-02 09:59:02 +00:00
parent c8aae35228
commit 6b4ec6abf5
3 changed files with 22 additions and 1 deletions
+6
View File
@@ -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"
+15
View File
@@ -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"
+1 -1
View File
@@ -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