Finished first version of medicine feature.

This commit is contained in:
Zarkonnen
2013-07-10 12:53:28 +02:00
parent 4334f36e57
commit bb953de92b
8 changed files with 285 additions and 40 deletions
+1 -1
View File
@@ -815,7 +815,7 @@ var World = {
},
leaveItAtHome: function(thing) {
return thing != 'cured meat' && thing != 'bullets' && thing != 'energy cell' && thing != 'charm'
return thing != 'cured meat' && thing != 'bullets' && thing != 'energy cell' && thing != 'charm' && thing != 'medicine'
&& typeof World.Weapons[thing] == 'undefined' && typeof Room.Craftables[thing] == 'undefined';
},