Merge pull request #6636 from SpaceManiac/patch/syntax

Fix various syntactic problems
This commit is contained in:
Atermonera
2020-01-20 22:05:25 -08:00
committed by GitHub
29 changed files with 62 additions and 89 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
name = "paper"
icon_state = "paper_stack"
item_state = "paper"
var copied = 0
var iscopy = 0
var/copied = 0
var/iscopy = 0
/obj/item/weapon/paper/carbon/update_icon()
+1 -1
View File
@@ -546,7 +546,7 @@
stamps += (stamps=="" ? "<HR>" : "<BR>") + "<i>This paper has been stamped with the [P.name].</i>"
var/image/stampoverlay = image('icons/obj/bureaucracy.dmi')
var/{x; y;}
var/x, y
if(istype(P, /obj/item/weapon/stamp/captain) || istype(P, /obj/item/weapon/stamp/centcomm))
x = rand(-2, 0)
y = rand(-1, 2)
+1 -1
View File
@@ -134,7 +134,7 @@
user << browse(dat + "<html><head><title>[P.name]</title></head>" \
+ "<body style='overflow:hidden'>" \
+ "<div> <img src='tmp_photo.png' width = '180'" \
+ "[P.scribble ? "<div> Written on the back:<br><i>[P.scribble]</i>" : ]"\
+ "[P.scribble ? "<div> Written on the back:<br><i>[P.scribble]</i>" : null]"\
+ "</body></html>", "window=[name]")
/obj/item/weapon/paper_bundle/attack_self(mob/user as mob)