Merge pull request #111 from surftheseawing/master

Fix calorite golem
This commit is contained in:
GDLW
2023-05-13 17:08:17 +02:00
committed by GitHub
3 changed files with 5 additions and 9 deletions
@@ -79,24 +79,20 @@ var/charges = 3
to_chat(owner, "<span class='notice'>You recharge yourself with magical energy!</span>")
/datum/action/innate/bless/Activate()
if(charges != 0)
charges -= 1
if(ishuman(owner))
to_chat(owner, "<span class='notice'>You bless the food around you!</span>")
for(var/obj/item/reagent_containers/food/O in view(1, owner))
if(O.foodtype != BLESSED)
for(var/obj/item/reagent_containers/food/O in view(1, owner))
if(!O.blessed)
O.reagents.add_reagent(/datum/reagent/consumable/nutriment, 10)
O.desc += " It faintly glows with warm, orange energy..."
O.foodtype = BLESSED
O.blessed = 1
else
to_chat(owner, "<span class='notice'>You need to recharge...</span>")
/datum/action/innate/unburden/Activate()
if(charges != 0)
charges -= 1