Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions armoks-blessing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function brainwash_unit(unit)
unit.status.current_soul.personality.traits.GREED = 25
unit.status.current_soul.personality.traits.IMMODERATION = 25
unit.status.current_soul.personality.traits.VIOLENT = 50
unit.status.current_soul.personality.traits.PERSEVERENCE = 75
unit.status.current_soul.personality.traits.PERSEVERANCE = 75
unit.status.current_soul.personality.traits.WASTEFULNESS = 50
unit.status.current_soul.personality.traits.DISCORD = 25
unit.status.current_soul.personality.traits.FRIENDLINESS = 75
Expand Down Expand Up @@ -80,7 +80,7 @@ function brainwash_unit(unit)
[df.value_type.HARD_WORK]=41,
[df.value_type.SACRIFICE]=41,
[df.value_type.COMPETITION]=-41,
[df.value_type.PERSEVERENCE]=41,
[df.value_type.PERSEVERANCE]=41,
[df.value_type.LEISURE_TIME]=-11,
[df.value_type.COMMERCE]=41,
[df.value_type.ROMANCE]=41,
Expand Down
2 changes: 1 addition & 1 deletion assign-beliefs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function assign(beliefs, unit, reset)
belief = belief:upper()
-- there's a typo in the game data
if belief == "PERSEVERANCE" then
belief = "PERSEVERENCE"
belief = "PERSEVERANCE"
Comment thread
ab9rf marked this conversation as resolved.
Outdated
end
if df.value_type[belief] then
if level >= -3 and level <= 3 then
Expand Down
2 changes: 1 addition & 1 deletion assign-facets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function assign(facets, unit, reset)
facet = facet:upper()
-- there's a typo in the game data
if facet == "PERSEVERANCE" then
facet = "PERSEVERENCE"
facet = "PERSEVERANCE"
Comment thread
ab9rf marked this conversation as resolved.
Outdated
end
if df.personality_facet_type[facet] then
if level >= -3 and level <= 3 then
Expand Down
2 changes: 1 addition & 1 deletion devel/print-event.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ end
local function print_event(event)
local str = df.new("string")
local ctx = df.history_event_context:new()
event:getSentence(str, ctx)
event:getSentence(str, ctx, true, false)
ctx:delete()
print(str.value)
str:delete()
Expand Down
4 changes: 2 additions & 2 deletions exportlegends.lua
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,8 @@ local function export_more_legends_xml()
for ID, event in progress_ipairs(vector, 'historical event relationship supplements') do
file:write("\t<historical_event_relationship_supplement>\n")
file:write("\t\t<event>"..event.event.."</event>\n")
file:write("\t\t<occasion_type>"..event.occasion_type.."</occasion_type>\n")
file:write("\t\t<site>"..event.site.."</site>\n")
file:write("\t\t<occasion_type>"..event.circumstance.."</occasion_type>\n")
file:write("\t\t<site>"..event.circumstance_id.."</site>\n")
Comment thread
ab9rf marked this conversation as resolved.
Outdated
file:write("\t\t<reason>"..event.reason.."</reason>\n")
file:write("\t</historical_event_relationship_supplement>\n")
end
Expand Down