diff --git a/code/game/gamemodes/clock_cult/clock_items.dm b/code/game/gamemodes/clock_cult/clock_items.dm index c32a7483f8f..ae9b8e4a305 100644 --- a/code/game/gamemodes/clock_cult/clock_items.dm +++ b/code/game/gamemodes/clock_cult/clock_items.dm @@ -251,9 +251,9 @@ var/text_to_add = "" var/drivers = "Drivers" var/scripts = "Scripts
These scriptures require at least five servants and a tinkerer's cache." - var/applications = "Applications
These scriptures require at least eight servants, three tinkerer's caches, and 50CV." - var/revenant = "Revenant
These scriptures require at least ten servants and 100CV." - var/judgement = "Judgement
These scriptures require at least ten servants and 100CV. In addition, there may not be an active non-servant AI." + var/applications = "Applications
These scriptures require at least eight servants, three tinkerer's caches, and 100CV." + var/revenant = "Revenant
These scriptures require at least ten servants and 200CV." + var/judgement = "Judgement
These scriptures require at least twelve servants and 300CV. In addition, there may not be any active non-servant AIs." for(var/V in subtypesof(/datum/clockwork_scripture)) var/datum/clockwork_scripture/S = V var/datum/clockwork_scripture/S2 = new V diff --git a/code/game/gamemodes/clock_cult/clock_unsorted.dm b/code/game/gamemodes/clock_cult/clock_unsorted.dm index 22f74fed564..aea398ca02d 100644 --- a/code/game/gamemodes/clock_cult/clock_unsorted.dm +++ b/code/game/gamemodes/clock_cult/clock_unsorted.dm @@ -110,14 +110,14 @@ if(servants >= 5 && clockwork_caches) return 1 //5 or more non-brain servants and any number of clockwork caches if(SCRIPTURE_APPLICATION) - if(servants >= 8 && clockwork_caches >= 3 && clockwork_construction_value >= 75) - return 1 //8 or more non-brain servants, 3+ clockwork caches, and at least 75 CV + if(servants >= 8 && clockwork_caches >= 3 && clockwork_construction_value >= 100) + return 1 //8 or more non-brain servants, 3+ clockwork caches, and at least 100 CV if(SCRIPTURE_REVENANT) - if(servants >= 10 && clockwork_caches >= 4 && clockwork_construction_value >= 150) - return 1 //10 or more non-brain servants, 4+ clockwork caches, and at least 150 CV + if(servants >= 10 && clockwork_caches >= 4 && clockwork_construction_value >= 200) + return 1 //10 or more non-brain servants, 4+ clockwork caches, and at least 200 CV if(SCRIPTURE_JUDGEMENT) - if(servants >= 12 && clockwork_caches >= 5 && clockwork_construction_value >= 250 && !unconverted_ai_exists) - return 1 //12 or more non-brain servants, 5+ clockwork caches, at least 250 CV, and there are no living, non-servant ais + if(servants >= 12 && clockwork_caches >= 5 && clockwork_construction_value >= 300 && !unconverted_ai_exists) + return 1 //12 or more non-brain servants, 5+ clockwork caches, at least 300 CV, and there are no living, non-servant ais return 0 /proc/scripture_unlock_alert(list/previous_states) //reports to servants when scripture is locked or unlocked diff --git a/code/game/machinery/doors/airlock_types.dm b/code/game/machinery/doors/airlock_types.dm index 53de5f9dd73..769d08cb838 100644 --- a/code/game/machinery/doors/airlock_types.dm +++ b/code/game/machinery/doors/airlock_types.dm @@ -408,6 +408,11 @@ var/turf/T = get_turf(src) PoolOrNew(/obj/effect/overlay/temp/ratvar/door, T) PoolOrNew(/obj/effect/overlay/temp/ratvar/beam/door, T) + change_construction_value(3) + +/obj/machinery/door/airlock/clockwork/Destroy() + change_construction_value(-3) + return ..() /obj/machinery/door/airlock/clockwork/canAIControl(mob/user) return (is_servant_of_ratvar(user) && !isAllPowerCut()) diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm index 80559de529e..2babb9a44c1 100644 --- a/code/game/machinery/doors/windowdoor.dm +++ b/code/game/machinery/doors/windowdoor.dm @@ -349,7 +349,14 @@ var/obj/effect/E = PoolOrNew(/obj/effect/overlay/temp/ratvar/door/window, get_turf(src)) if(set_dir) E.setDir(set_dir) + else + E.setDir(dir) debris += new/obj/item/clockwork/component/vanguard_cogwheel(src) + change_construction_value(2) + +/obj/machinery/door/window/clockwork/Destroy() + change_construction_value(-2) + return ..() /obj/machinery/door/window/clockwork/ratvar_act() health = initial(health) diff --git a/code/game/objects/structures/grille.dm b/code/game/objects/structures/grille.dm index fe74cba367d..fedae0ed7d6 100644 --- a/code/game/objects/structures/grille.dm +++ b/code/game/objects/structures/grille.dm @@ -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) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 58f3de3d68a..4e8a4eb86df 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -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