Experimental DMF vending machine update, by Tobba.

Pretty sure everyone who cares knows about this already, but the low down is that shit is more responsive and potentially prettier.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2529 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-11-18 00:45:50 +00:00
parent 38d90773cc
commit 5545d032be
6 changed files with 594 additions and 31 deletions
+488 -2
View File
@@ -136,6 +136,40 @@ macro "macro"
command = ".screenshot"
is-disabled = false
macro "vending"
elem
name = "NORTHEAST"
command = "skincmd \"vending;pagen\""
is-disabled = false
elem
name = "SOUTHEAST"
command = "skincmd \"vending;pagep\""
is-disabled = false
elem
name = "1"
command = "skincmd \"vending;buy0\""
is-disabled = false
elem
name = "2"
command = "skincmd \"vending;buy1\""
is-disabled = false
elem
name = "3"
command = "skincmd \"vending;buy2\""
is-disabled = false
elem
name = "4"
command = "skincmd \"vending;buy3\""
is-disabled = false
elem
name = "5"
command = "skincmd \"vending;buy4\""
is-disabled = false
elem
name = "6"
command = "skincmd \"vending;buy5\""
is-disabled = false
menu "menu"
elem
@@ -567,7 +601,7 @@ window "outputwindow"
window "rpane"
elem "rpane"
type = MAIN
pos = 559,121
pos = 281,0
size = 640x480
anchor1 = none
anchor2 = none
@@ -825,7 +859,7 @@ window "infowindow"
elem "info"
type = INFO
pos = 0,0
size = 640x499
size = 638x475
anchor1 = 0,0
anchor2 = 100,100
font-family = ""
@@ -854,3 +888,455 @@ window "infowindow"
on-hide = ".winset\"rpane.infob.is-visible=false;rpane.browseb.is-visible=true?rpane.browseb.is-checked=true rpane.rpanewindow.left=browserwindow:rpane.textb.is-visible=true rpane.rpanewindow.pos=0,30 rpane.rpanewindow.size=0x0 rpane.rpanewindow.left=\""
on-tab = ""
window "vendingslot"
elem "vendingslot"
type = MAIN
pos = 281,0
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = false
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "pos;size;is-minimized;is-maximized"
on-size = ""
title = ""
titlebar = false
statusbar = false
can-close = false
can-minimize = false
can-resize = false
is-pane = true
is-minimized = false
is-maximized = false
can-scroll = none
icon = ""
image = 'icons\\vending_icons\\vendingslot_bg.png'
image-mode = stretch
keep-aspect = false
transparent-color = none
alpha = 255
macro = ""
menu = ""
on-close = ""
elem "buy"
type = BUTTON
pos = 228,4
size = 52x52
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = #9f9f9f
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "Buy"
image = ""
command = ""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "stock"
type = LABEL
pos = 8,36
size = 216x20
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = true
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
text = "Left in stock: 0"
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
elem "name"
type = LABEL
pos = 8,4
size = 216x28
anchor1 = none
anchor2 = none
font-family = ""
font-size = 14
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = true
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
text = "HoNK"
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
window "vendingwindow"
elem "vendingwindow"
type = MAIN
pos = 758,177
size = 300x470
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = false
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "pos;size;is-minimized;is-maximized"
on-size = ""
title = ""
titlebar = true
statusbar = false
can-close = true
can-minimize = false
can-resize = false
is-pane = false
is-minimized = false
is-maximized = false
can-scroll = none
icon = ""
image = ""
image-mode = stretch
keep-aspect = false
transparent-color = none
alpha = 255
macro = "vending"
menu = ""
on-close = ""
elem "slot6"
type = CHILD
pos = 8,364
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "slot5"
type = CHILD
pos = 8,300
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "page"
type = LABEL
pos = 64,448
size = 36x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
text = "1/1"
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
elem "button2"
type = BUTTON
pos = 96,448
size = 16x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = ">"
image = ""
command = "skincmd \"vending;pagen\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "button1"
type = BUTTON
pos = 48,448
size = 16x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "<"
image = ""
command = "skincmd \"vending;pagep\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "label1"
type = LABEL
pos = 8,448
size = 40x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
text = "Page: "
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
elem "slot4"
type = CHILD
pos = 8,236
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "slot3"
type = CHILD
pos = 8,172
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "slot2"
type = CHILD
pos = 8,108
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "slot1"
type = CHILD
pos = 8,40
size = 288x60
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "splitter"
on-size = ""
left = ""
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
elem "title"
type = LABEL
pos = 5,8
size = 291x33
anchor1 = 1,2
anchor2 = 99,6
font-family = ""
font-size = 12
font-style = "bold"
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = true
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
text = "Crazy Dave's vending machine"
image = ""
image-mode = center
keep-aspect = false
align = top
text-wrap = false