butchering is still broke....

This commit is contained in:
Aurorablade
2016-03-24 00:07:41 -04:00
parent 0821cb6ca2
commit 40a1086f14
7 changed files with 27 additions and 26 deletions
+9 -9
View File
@@ -955,12 +955,12 @@
return 0
/mob/living/proc/harvest(mob/living/user)
//if(qdeleted(src))
// return//Replace with what?
if(butcher_results)
for(var/path in butcher_results)
for(var/i = 1; i <= butcher_results[path];i++)
new path(src.loc)
butcher_results.Remove(path) //In case you want to have things like simple_animals drop their butcher results on gib, so it won't double up below.
visible_message("<span class='notice'>[user] butchers [src].</span>")
gib()
if(qdeleted(src))
return
if(butcher_results)
for(var/path in butcher_results)
for(var/i = 1, i <= butcher_results[path], i++)
new path(loc)
butcher_results.Remove(path) //In case you want to have things like simple_animals drop their butcher results on gib, so it won't double up below.
visible_message("<span class='notice'>[user] butchers [src].</span>")
gib()
@@ -17,7 +17,7 @@
density = 0
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
ventcrawler = 2
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/meat = 1)
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/meat = 0)
/mob/living/simple_animal/butterfly/New()
..()
@@ -8,7 +8,7 @@
turns_per_move = 5
maxHealth = 15
health = 15
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/tomatomeat = 2)
butcher_results = list(/obj/item/weapon/reagent_containers/food/snacks/tomatomeat = 3)
response_help = "prods the"
response_disarm = "pushes aside the"
response_harm = "smacks the"