Fixes Industrial Dropper icons

This commit is contained in:
Krausus
2015-05-18 03:22:03 -04:00
parent cd0013c72e
commit f669cd17cd

View File

@@ -3,7 +3,7 @@
name = "Industrial Dropper"
desc = "A larger dropper. Transfers 10 units."
icon = 'icons/obj/chemical.dmi'
icon_state = "dropper0"
icon_state = "dropper"
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(1,2,3,4,5,6,7,8,9,10)
volume = 10
@@ -65,7 +65,7 @@
user << "\blue You transfer [trans] units of the solution."
if (src.reagents.total_volume<=0)
filled = 0
icon_state = "dropper[filled]"
icon_state = "[initial(icon_state)]"
return
@@ -91,7 +91,7 @@
user << "\blue You transfer [trans] units of the solution."
if (src.reagents.total_volume<=0)
filled = 0
icon_state = "dropper[filled]"
icon_state = "[initial(icon_state)]"
else
@@ -108,6 +108,6 @@
user << "\blue You fill the dropper with [trans] units of the solution."
filled = 1
icon_state = "dropper[filled]"
icon_state = "[initial(icon_state)][filled]"
return