diff --git a/js/003-data/policiesData.js b/js/003-data/policiesData.js index b7549fa2aca2f61cd9daf5e41e329c7f32990259..889be22bfdb82cfbb1d50223c7178e3ae78b5dfd 100644 --- a/js/003-data/policiesData.js +++ b/js/003-data/policiesData.js @@ -413,5 +413,14 @@ App.Data.Policies.Selection = { activatedNote: [`activated entertainments`, ``] } ], + [ + { + title: "Public Personal Assistant", + text: `${V.assistant.name} is part of your public image.`, + activatedText: `${V.assistant.name} is part of your public image.`, + policy: "policies.publicPA", + note: `May improve cultural development if ${V.assistant.name}'s appearance is fashionable` + } + ], ] }; diff --git a/src/interaction/policies/policies.js b/src/interaction/policies/policies.js index 79c93c8ca5737124f60de603002340a305ac7b7d..a29ff30a283d17739e305559af432378cfd8997b 100644 --- a/src/interaction/policies/policies.js +++ b/src/interaction/policies/policies.js @@ -138,8 +138,8 @@ globalThis.policy = function(category) { div.append(`: `); // Description text - div.append(p.text); - div.append(` `); + console.log(p.text); + div.append(`${p.text} `); // link if (policyValue === 0) { let enable; diff --git a/src/interaction/policies/policies.tw b/src/interaction/policies/policies.tw index 0ac9a4284f7e63d8e9bcec3837c8a500d1a103f4..8999aaf2ff125765b093a62fec6773cc5f7b9836 100644 --- a/src/interaction/policies/policies.tw +++ b/src/interaction/policies/policies.tw @@ -109,16 +109,6 @@ policy("DomesticPolicies"); </script> - <<if $policies.publicPA == 1>> - <br>''Public Personal Assistant:'' $assistant.name is part of your public image. - <span class="yellow">[[Repeal|Policies][$policies.publicPA = 0]]</span> - <<else>> - <br>''Public Personal Assistant:'' $assistant.name will become part of your public image. - <<if $rep >= 1000>> - <span class="green">[[Implement|Policies][$policies.publicPA = 1, cashX(-5000, "policies"), repX(-1000, "policies")]]</span> - <</if>> - <br> //May improve cultural development if $assistant.name's appearance is fashionable// - <</if>> <<if $policies.coursingAssociation == 1>> <br>''Coursing Association:'' you are sponsoring a [[Coursing Association]] that will hold monthly races.