Replaced most reagent initialisations with the helper proc create_reagents().

This commit is contained in:
Pete Goodfellow
2013-04-15 15:40:33 +01:00
parent d4cdaa2f00
commit e4bce0bb14
31 changed files with 56 additions and 141 deletions
+2 -7
View File
@@ -16,9 +16,7 @@
/obj/structure/janitorialcart/New()
var/datum/reagents/R = new/datum/reagents(100)
reagents = R
R.my_atom = src
create_reagents(100)
/obj/structure/janitorialcart/examine()
@@ -174,10 +172,7 @@
/obj/structure/stool/bed/chair/janicart/New()
handle_rotation()
var/datum/reagents/R = new/datum/reagents(100)
reagents = R
R.my_atom = src
create_reagents(100)
/obj/structure/stool/bed/chair/janicart/examine()
+1 -3
View File
@@ -10,9 +10,7 @@
/obj/structure/mopbucket/New()
var/datum/reagents/R = new/datum/reagents(100)
reagents = R
R.my_atom = src
create_reagents(100)
/obj/structure/mopbucket/examine()