Skip to content
Snippets Groups Projects
Commit db591b01 authored by buster-scruggs's avatar buster-scruggs
Browse files

Simplify FS law edict check

parent d1b40f34
No related branches found
No related tags found
1 merge request!11269New FS: Antebellum Revivalism
...@@ -303,7 +303,7 @@ App.Mods.SecExp.edicts = function() { ...@@ -303,7 +303,7 @@ App.Mods.SecExp.edicts = function() {
}, },
{ {
text: "forbid residents to buy, sell and keep weaponry while within the arcology.", text: "forbid residents to buy, sell and keep weaponry while within the arcology.",
conditional: V.SecExp.edicts.weaponsLaw === 1 && !(V.arcologies[0].FSAntebellumRevivalistLaw2 === 1), conditional: V.SecExp.edicts.weaponsLaw === 1 && V.arcologies[0].FSAntebellumRevivalistLaw2 !== 1,
set: function() { set: function() {
V.SecExp.edicts.weaponsLaw = 0; V.SecExp.edicts.weaponsLaw = 0;
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment