New chem dispenser interface, by Tobba. Some sanity checking in power.dm, by Tobba.

Updated changelog, by PETE YEAAAH.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2532 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2011-11-20 10:24:17 +02:00
committed by Albert Iordache
parent 8f734c9bc6
commit fcddc199ff
7 changed files with 447 additions and 41 deletions
+356 -2
View File
@@ -291,6 +291,360 @@ menu "menu"
saved-params = "is-checked"
window "chemdispenser"
elem "chemdispenser"
type = MAIN
pos = 281,0
size = 340x480
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 = "Chem Dispenser"
titlebar = true
statusbar = false
can-close = true
can-minimize = true
can-resize = true
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 = ""
menu = ""
on-close = ""
elem "energy"
type = LABEL
pos = 8,24
size = 56x16
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 = "Energy: 25"
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
elem "eject"
type = BUTTON
pos = 264,4
size = 72x20
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 = "[Insert beaker]"
image = ""
command = "skincmd \"chemdispenser;eject\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "amountc"
type = BUTTON
pos = 208,4
size = 48x20
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 = "[Other]"
image = ""
command = "skincmd \"chemdispenser;amountc\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "amount3"
type = BUTTON
pos = 176,4
size = 24x20
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 = "[30]"
image = ""
command = "skincmd \"chemdispenser;amount30\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "amount2"
type = BUTTON
pos = 144,4
size = 24x20
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 = "[20]"
image = ""
command = "skincmd \"chemdispenser;amount20\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "amount1"
type = BUTTON
pos = 112,4
size = 24x20
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 = "[10]"
image = ""
command = "skincmd \"chemdispenser;amount10\""
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "amount"
type = LABEL
pos = 4,4
size = 100x20
anchor1 = none
anchor2 = none
font-family = ""
font-size = 12
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 = "Amount: 30"
image = ""
image-mode = center
keep-aspect = false
align = center
text-wrap = false
elem "child1"
type = CHILD
pos = 0,40
size = 340x440
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 = "chemdispenser_reagents"
right = ""
is-vert = false
splitter = 50
show-splitter = true
lock = none
window "chemdispenser_reagents"
elem "chemdispenser_reagents"
type = MAIN
pos = 281,0
size = 340x448
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 = "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 = vertical
icon = ""
image = ""
image-mode = stretch
keep-aspect = false
transparent-color = none
alpha = 255
macro = ""
menu = ""
on-close = ""
elem "template_dispense"
type = BUTTON
pos = 256,8
size = 64x32
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 = "is-checked"
on-size = ""
text = "Dispense"
image = 'icons\\dispensebutton_bg.png'
command = ""
is-flat = true
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "template_name"
type = LABEL
pos = 18,8
size = 230x32
anchor1 = none
anchor2 = none
font-family = ""
font-size = 15
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 = ""
on-size = ""
text = "Chloral Hydrate"
image = 'icons\\reagentname_bg.png'
image-mode = stretch
keep-aspect = false
align = center
text-wrap = false
window "mainwindow"
elem "mainwindow"
type = MAIN
@@ -920,7 +1274,7 @@ window "vendingslot"
is-maximized = false
can-scroll = none
icon = ""
image = 'icons\\vending_icons\\vendingslot_bg.png'
image = 'icons\\vendingslot_bg.png'
image-mode = stretch
keep-aspect = false
transparent-color = none
@@ -1012,7 +1366,7 @@ window "vendingslot"
window "vendingwindow"
elem "vendingwindow"
type = MAIN
pos = 758,177
pos = 281,0
size = 300x470
anchor1 = none
anchor2 = none