I also have a second issue, I have created a new religious doctrine and a new wonder. The wonder exists at the start of the game and the doctrine does appear in the reformation tab; however the GFX files don't seem to be working, as the images I set for them do not show up in-game.
Here is the code for the GFX file, the wonder and the doctrine:



Here is the code for the GFX file, the wonder and the doctrine:
Code:
spriteTypes = {
##== WONDERS ==##
spriteType = {
name = "GFX_wonder_strip_carthage_harbour_large"
texturefile = "gfx\\interface\\wonder_interface\\wonder_strips\\wonder_stages_carthage_harbour_large.dds"
noOfFrames = 5
}
spriteType = {
name = "GFX_wonder_strip_carthage_harbour_medium"
texturefile = "gfx\\interface\\wonder_interface\\wonder_strips\\wonder_stages_carthage_harbour_medium.dds"
noOfFrames = 5
}
spriteType = {
name = "GFX_wonder_strip_carthage_harbour_small"
texturefile = "gfx\\interface\\wonder_interface\\wonder_strips\\wonder_stages_carthage_harbour_small.dds"
noOfFrames = 5
}
##== RELIGION THINGS ==##
spriteType = {
name = "GFX_religion_feature_molochs_flame"
texturefile = "gfx\\interface\\religion_feature_molochs_flame.dds"
}
}
Code:
wonder_carthage_harbour = {
allow_construction = no
picture = GFX_wonder_strip_carthage_harbour
show_model = no
is_in_water = yes
potential = {
FROMFROMFROM = { is_coastal = yes }
OR = { culture = punic }
}
active = {
ROOT = {
OR = { culture = punic }
}
}
flags = {
is_historical
is_destructible
defensive
cost_medium
}
available_upgrades = {
# UNIQUE:
upgrade_cothon
upgrade_piers
upgrade_office_harbor
upgrade_lighthouse
upgrade_military_wharf
upgrade_master_of_tides
# OTHER:
upgrade_roads
upgrade_watchtower_network
upgrade_spikes
upgrade_tower
upgrade_hypocausts
upgrade_heating_pipes
upgrade_retinue
upgrade_road_tolls
upgrade_tavern
}
stage = {
allow = {
}
build_time = 250
gold_cost_flat = 2450
gold_cost_ticking = 5
restore_time = 150
loot_time = 100
restore_cost_flat = 400
restore_cost_ticking = 2
upgrade_slots = 2
local_modifier = {
local_tax_modifier = 0.025
tradevalue = 25
}
owner_modifier = {
monthly_character_prestige = 0.1
}
}
stage = {
allow = {
}
build_time = 300
gold_cost_flat = 1000
gold_cost_ticking = 3
restore_time = 200
loot_time = 100
restore_cost_flat = 500
restore_cost_ticking = 2
upgrade_slots = 2
local_modifier = {
local_tax_modifier = 0.025
tradevalue = 25
}
owner_modifier = {
monthly_character_prestige = 0.1
}
}
stage = {
allow = {
}
build_time = 300
gold_cost_flat = 1000
gold_cost_ticking = 3
restore_time = 200
loot_time = 20
restore_cost_flat = 500
restore_cost_ticking = 2
upgrade_slots = 2
local_modifier = {
local_tax_modifier = 0.025
tradevalue = 25
}
owner_modifier = {
monthly_character_prestige = 0.1
}
}
stage = {
allow = {
}
build_time = 300
gold_cost_flat = 1000
gold_cost_ticking = 3
restore_time = 200
loot_time = 20
restore_cost_flat = 500
restore_cost_ticking = 2
upgrade_slots = 2
local_modifier = {
local_tax_modifier = 0.025
tradevalue = 25
}
owner_modifier = {
monthly_character_prestige = 0.1
build_cost_modifier = 0.05
}
}
}
Code:
religion_doctrine = {
buttons = { doctrine1 doctrine2 }
religion_molochs_flame = {
picture = GFX_religion_feature_molochs_flame
trigger = {
NOR = {
has_selected_religion_feature = religion_peaceful
has_selected_religion_feature = religion_proselytizing
has_selected_religion_feature = religion_ritual_sacrifice
}
OR = {
religion = canaanite_pagan
religion = canaanite_pagan_reformed
}
}
effect = {
custom_tooltip = { text = tooltip_moloch_doctrine }
custom_tooltip = { text = tooltip_moloch_doctrine_traits }
}
ai_will_do = {
factor = 1
modifier = {
factor = 0.1
FROM = {
character = yes
NOR = {
trait = cruel
trait = impaler
}
}
}
}
}
}