Slightly more construction value is required to unlock scripture

This commit is contained in:
Joan Lung
2016-07-08 07:58:59 -04:00
parent 7b77def821
commit fa12bbacd6
6 changed files with 31 additions and 9 deletions
+5
View File
@@ -285,12 +285,17 @@
/obj/structure/grille/ratvar/New()
..()
change_construction_value(1)
if(destroyed)
PoolOrNew(/obj/effect/overlay/temp/ratvar/grille/broken, get_turf(src))
else
PoolOrNew(/obj/effect/overlay/temp/ratvar/grille, get_turf(src))
PoolOrNew(/obj/effect/overlay/temp/ratvar/beam/grille, get_turf(src))
/obj/structure/grille/ratvar/Destroy()
change_construction_value(-1)
return ..()
/obj/structure/grille/ratvar/narsie_act()
take_damage(rand(1, 3), BRUTE)
if(src)
+5
View File
@@ -520,6 +520,11 @@
debris -= I
qdel(I)
debris += new/obj/item/clockwork/component/vanguard_cogwheel(src)
change_construction_value(fulltile ? 3 : 2)
/obj/structure/window/reinforced/clockwork/Destroy()
change_construction_value(fulltile ? -3 : -2)
return ..()
/obj/structure/window/reinforced/clockwork/ratvar_act()
health = maxhealth