Vending machines now work off of a point based system, A-la oldcode.

This commit is contained in:
SkyMarshal
2012-03-14 02:11:31 -07:00
parent ac03e51fd3
commit e74f7a4c39
4 changed files with 160 additions and 67 deletions

View File

@@ -5,7 +5,7 @@
icon_state = "wardrobe_sealed"
item_state = "wardrobe"
w_class = 4
layer = BACKGROUND_LAYER + OBJ_LAYER
layer = 2.99
var
descriptor = "various clothing"
seal_torn = 0
@@ -63,7 +63,7 @@
update_icon()
examine()
set src in oview(7)
set src in view()
..()
if(src in usr)
usr << "It claims to contain [contents.len ? descriptor : descriptor + "... but it looks empty"]."