Set the repairing to 20

This commit is contained in:
farie82
2018-10-30 08:51:29 +01:00
committed by GitHub
parent b5b3fca2af
commit f03aea80f5
+2 -2
View File
@@ -790,7 +790,7 @@
user.visible_message("<span class='notice'>[user] repairs the damaged gas tank.</span>", "<span class='notice'>You repair the damaged gas tank.</span>")
else
user.visible_message("<span class='notice'>[user] repairs some damage to [name].</span>", "<span class='notice'>You repair some damage to [name]</span>")
health += min(10, initial(health)-health)
health += min(20, initial(health)-health)
repairers -= user
else
to_chat(user, "<span class='warning'>You are already repairing [name]!</span>")
@@ -1501,4 +1501,4 @@
visual_effect_icon = ATTACK_EFFECT_MECHFIRE
else if(damtype == TOX)
visual_effect_icon = ATTACK_EFFECT_MECHTOXIN
..()
..()