mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 14:12:20 +00:00
Fixed up BrokenInHands a little.
Signed-off-by: Mloc <colmohici@gmail.com>
This commit is contained in:
@@ -13,24 +13,24 @@
|
|||||||
var/list/istates = J.IconStates()
|
var/list/istates = J.IconStates()
|
||||||
if(!Lstates.Find(O.icon_state) && !Lstates.Find(O.item_state))
|
if(!Lstates.Find(O.icon_state) && !Lstates.Find(O.item_state))
|
||||||
if(O.icon_state)
|
if(O.icon_state)
|
||||||
text += "[O.type] WANTS IN LEFT HAND CALLED\n\"[O.icon_state]\".\n"
|
text += "[O.type] is missing left hand icon called \"[O.icon_state]\".\n"
|
||||||
if(!Rstates.Find(O.icon_state) && !Rstates.Find(O.item_state))
|
if(!Rstates.Find(O.icon_state) && !Rstates.Find(O.item_state))
|
||||||
if(O.icon_state)
|
if(O.icon_state)
|
||||||
text += "[O.type] WANTS IN RIGHT HAND CALLED\n\"[O.icon_state]\".\n"
|
text += "[O.type] is missing right hand icon called \"[O.icon_state]\".\n"
|
||||||
|
|
||||||
|
|
||||||
if(O.icon_state)
|
if(O.icon_state)
|
||||||
if(!istates.Find(O.icon_state))
|
if(!istates.Find(O.icon_state))
|
||||||
text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.icon_state]\" IN \"[O.icon]\"\n"
|
text += "[O.type] is missing normal icon called \"[O.icon_state]\" in \"[O.icon]\".\n"
|
||||||
if(O.item_state)
|
//if(O.item_state)
|
||||||
if(!istates.Find(O.item_state))
|
// if(!istates.Find(O.item_state))
|
||||||
text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.item_state]\" IN \"[O.icon]\"\n"
|
// text += "[O.type] MISSING NORMAL ICON CALLED\n\"[O.item_state]\" IN \"[O.icon]\"\n"
|
||||||
text+="\n"
|
//text+="\n"
|
||||||
del(O)
|
del(O)
|
||||||
if(text)
|
if(text)
|
||||||
var/F = file("broken_icons.txt")
|
var/F = file("broken_icons.txt")
|
||||||
fdel(F)
|
fdel(F)
|
||||||
F << text
|
F << text
|
||||||
world << "Completely successfully and written to [F]"
|
world << "Completeled successfully and written to [F]"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user