Skip to content

Commit 9e86f45

Browse files
committed
Added basic implementation of new society technologies
1 parent a9ff1bb commit 9e86f45

File tree

6 files changed

+321
-87
lines changed

6 files changed

+321
-87
lines changed

documentation/TECH_TREE.drawio

+87-87
Large diffs are not rendered by default.

documentation/updates/0.9.0.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 0.9.0 - Society Technologies
2+
3+
## Soulbound Currency
4+
- Soulbound Currency is a new society technology
5+
- This technology increases minting and decreases loan interest rates
6+
7+
## Thaumaturgic Courts
8+
- Thaumaturgic Courts is a new society technology
9+
- This technology decreases the radicalism of political movements
10+
11+
## Mana-Linked Education
12+
- Mana-Linked Education is a new society technology
13+
- This technology increases qualifications
14+
15+
## Ethereal Messaging
16+
- Ethereal Messaging is a new society technology
17+
- This technology increases taxation capacity as well as mobilization speed
18+
19+
## Arcane Infrastructure
20+
- Arcane Infrastructure is a new society technology
21+
- This technology increases infrastructure as well as construction

mod/common/scripted_guis/gate_technology_society_sgui.txt

+64
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,32 @@ monster_compendium = {
113113
}
114114
}
115115

116+
arcane_infrastructure = {
117+
scope = country
118+
is_valid = {
119+
AND = {
120+
has_technology_researched = mana_lanterns
121+
has_technology_researched = modern_sewerage
122+
}
123+
}
124+
effect = {
125+
add_technology_researched = arcane_infrastructure
126+
}
127+
}
128+
129+
ethereal_messaging = {
130+
scope = country
131+
is_valid = {
132+
AND = {
133+
has_technology_researched = formalized_magic
134+
has_technology_researched = central_archives
135+
}
136+
}
137+
effect = {
138+
add_technology_researched = ethereal_messaging
139+
}
140+
}
141+
116142
healing_circles = {
117143
scope = country
118144
is_valid = {
@@ -136,4 +162,42 @@ magic_science = {
136162
effect = {
137163
add_technology_researched = magic_science
138164
}
165+
}
166+
167+
mana_linked_education = {
168+
scope = country
169+
is_valid = {
170+
AND = {
171+
has_technology_researched = magic_science
172+
has_technology_researched = dialectics
173+
}
174+
}
175+
effect = {
176+
add_technology_researched = mana_linked_education
177+
}
178+
}
179+
180+
thaumaturgic_courts = {
181+
scope = country
182+
is_valid = {
183+
AND = {
184+
has_technology_researched = magic_science
185+
}
186+
}
187+
effect = {
188+
add_technology_researched = thaumaturgic_courts
189+
}
190+
}
191+
192+
soulbound_currency = {
193+
scope = country
194+
is_valid = {
195+
AND = {
196+
has_technology_researched = magic_science
197+
has_technology_researched = international_exchange_standards
198+
}
199+
}
200+
effect = {
201+
add_technology_researched = soulbound_currency
202+
}
139203
}

mod/common/technology/technologies/403_magic_society.txt

+104
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,50 @@ monster_compendium = {
181181
}
182182
}
183183

184+
arcane_infrastructure = {
185+
era = era_2
186+
texture = "gfx/interface/icons/invention_icons/gate_invention_placeholder.dds"
187+
category = society
188+
can_research = no
189+
190+
modifier = {
191+
state_infrastructure_from_population_add = 1
192+
state_infrastructure_from_population_max_add = 20
193+
country_construction_add = 5
194+
country_max_weekly_construction_progress_add = 5
195+
}
196+
197+
unlocking_technologies = {
198+
mana_lanterns
199+
modern_sewerage
200+
}
201+
202+
ai_weight = {
203+
value = 1
204+
}
205+
}
206+
207+
ethereal_messaging = {
208+
era = era_2
209+
texture = "gfx/interface/icons/invention_icons/gate_invention_placeholder.dds"
210+
category = society
211+
can_research = no
212+
213+
modifier = {
214+
state_tax_capacity_add = 25
215+
military_formation_mobilization_speed_mult = 0.1
216+
}
217+
218+
unlocking_technologies = {
219+
formalized_magic
220+
central_archives
221+
}
222+
223+
ai_weight = {
224+
value = 1
225+
}
226+
}
227+
184228
magic_science = {
185229
era = era_3
186230
texture = "gfx/interface/icons/invention_icons/magic_science.dds"
@@ -206,4 +250,64 @@ magic_science = {
206250
ai_weight = {
207251
value = 2 # Very important, increases research speed
208252
}
253+
}
254+
255+
mana_linked_education = {
256+
era = era_3
257+
texture = "gfx/interface/icons/invention_icons/gate_invention_placeholder.dds"
258+
category = society
259+
can_research = no
260+
261+
modifier = {
262+
state_pop_qualifications_mult = 0.1
263+
}
264+
265+
unlocking_technologies = {
266+
magic_science
267+
dialectics
268+
}
269+
270+
ai_weight = {
271+
value = 1
272+
}
273+
}
274+
275+
thaumaturgic_courts = {
276+
era = era_3
277+
texture = "gfx/interface/icons/invention_icons/gate_invention_placeholder.dds"
278+
category = society
279+
can_research = no
280+
281+
unlocking_technologies = {
282+
magic_science
283+
}
284+
285+
modifier = {
286+
political_movement_radicalism_add = -0.05
287+
}
288+
289+
ai_weight = {
290+
value = 1
291+
}
292+
}
293+
294+
soulbound_currency = {
295+
era = era_4
296+
texture = "gfx/interface/icons/invention_icons/gate_invention_placeholder.dds"
297+
category = society
298+
can_research = no
299+
300+
modifier = {
301+
country_minting_mult = 0.1
302+
country_loan_interest_rate_add = -0.02
303+
}
304+
305+
unlocking_technologies = {
306+
international_exchange_standards
307+
magic_science
308+
}
309+
310+
ai_weight = {
311+
value = 1
312+
}
209313
}

mod/gui/gate_technologies.gui

+35
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,47 @@ types gate_technologies {
264264
}
265265
}
266266

267+
gate_technology = {
268+
blockoverride "context" {
269+
datacontext = "[GetTechnology('arcane_infrastructure')]"
270+
datacontext = "[GetScriptedGui('arcane_infrastructure')]"
271+
}
272+
}
273+
274+
gate_technology = {
275+
blockoverride "context" {
276+
datacontext = "[GetTechnology('ethereal_messaging')]"
277+
datacontext = "[GetScriptedGui('ethereal_messaging')]"
278+
}
279+
}
280+
267281
gate_technology = {
268282
blockoverride "context" {
269283
datacontext = "[GetTechnology('magic_science')]"
270284
datacontext = "[GetScriptedGui('magic_science')]"
271285
}
272286
}
287+
288+
gate_technology = {
289+
blockoverride "context" {
290+
datacontext = "[GetTechnology('mana_linked_education')]"
291+
datacontext = "[GetScriptedGui('mana_linked_education')]"
292+
}
293+
}
294+
295+
gate_technology = {
296+
blockoverride "context" {
297+
datacontext = "[GetTechnology('thaumaturgic_courts')]"
298+
datacontext = "[GetScriptedGui('thaumaturgic_courts')]"
299+
}
300+
}
301+
302+
gate_technology = {
303+
blockoverride "context" {
304+
datacontext = "[GetTechnology('soulbound_currency')]"
305+
datacontext = "[GetScriptedGui('soulbound_currency')]"
306+
}
307+
}
273308
}
274309

275310
}

mod/localization/english/gate_technology_l_english.yml

+10
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,20 @@
4949
formalized_magic_desc: "After years of meticulous study and experimentation, scholars have unveiled a groundbreaking system to classify and codify magical effects. This framework, which categorizes spells by their elemental affinities, applications, and power scales, transforms the once-mystical art into an organized discipline."
5050
monster_compendium: "Monster Compendium"
5151
monster_compendium_desc: "Scholars have meticulously compiled the #v Monster Compendium#!, a vital booklet brimming with insights on creatures born of Earth’s rising mana density. From weaknesses to behaviors, this guide equips prospective hunters with the knowledge needed to survive—and thrive—against the arcane beasts now roaming the land."
52+
arcane_infrastructure: "Arcane Infrastructure"
53+
arcane_infrastructure_desc: "With the careful weave of enchantments into stone and steel, cities rise stronger than ever. Roads smooth themselves, aqueducts run pure, and the wealthiest districts bask in homes that never freeze nor swelter—monuments to a world where magic and masonry become one."
54+
ethereal_messaging: "Ethereal Messaging"
55+
ethereal_messaging_desc: "In an age where words must travel faster than horses, enchanted conduits hum with whispered missives. The arcane weave carries orders, secrets, and dreams across leagues—binding distant lands with unseen threads."
5256
healing_circles: "Healing Circles"
5357
healing_circles_desc: "A cornerstone of battlefield and civilian medical care, Healing Circles are enchantments that create zones of restorative energy. Activated by skilled mages, these circles rapidly mend wounds, stabilize critical injuries, and rejuvenate those within their radius. Though their power is limited by the caster’s mana reserves and the complexity of injuries, Healing Circles have saved countless lives."
5458
magic_science: "Magic & Science"
5559
magic_science_desc: "By merging the rigor of the scientific method with the principles of formalized magic, scholars have unlocked new depths of understanding into the arcane. Experiments once deemed impossible now yield repeatable results, revealing the hidden mechanics of mana, spellcasting, and enchantments."
60+
mana_linked_education: "Mana-Linked Education"
61+
mana_linked_education_desc: "By harnessing minor enchantments, schools can conjure interactive illusions, self-writing chalk, and magically preserved tomes. With the guidance of skilled instructors, even the simplest spells transform classrooms into vibrant halls of learning, where knowledge takes shape before students' very eyes."
62+
thaumaturgic_courts: "Thaumaturgic Courts"
63+
thaumaturgic_courts_desc: "Where mortal judgment falters, magic lends its cold clarity. Runes flare in response to lies, and enchanted contracts bind promises with unyielding force—justice made sharper, but not always kinder."
64+
soulbound_currency: "Soulbound Currency"
65+
soulbound_currency_desc: "Coins marked with the owner's essence whisper to their bearer and resist foreign hands. Wealth becomes more than mere gold—it becomes an extension of one's very soul."
5666
gate_expeditions: "Expedition into the Gate"
5767
gate_expeditions_desc: "Your country has learned to control the [GetBuildingType('building_gate').GetName] and can now explore [concept_gate_planet]."
5868
# Military

0 commit comments

Comments
 (0)