Log in

View Full Version : error in export_descr_buildings.txt. Rock-Temple of Nabia not giving bonuses



Gerhard
12-23-2007, 00:51
The description on the Rock-Temple of Nabia says that it upgrades light and heavy weapons, which it does not.

The reason is an error in edb.

After the heading

"temple_of_fun_awesome_temple ..."

the lines

weapon_simple 1 requires factions { spain, }
weapon_bladed 1 requires factions { spain, }

should be

weapon_simple bonus 1 requires factions { spain, }
weapon_bladed bonus 1 requires factions { spain, }

cheers

Gerhard

bovi
12-24-2007, 10:54
I believe the syntax is allowed for positive bonuses.



blacksmith requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, } and building_present_min_level market trader
{
capability
{
recruit "barb chariot light briton" 0 requires factions { britons, }
recruit "east scythed chariot" 0 requires factions { pontus, }
recruit "egyptian chariot" 0 requires factions { egyptian, }
recruit "rebel amazon chariots" 0 requires factions { slave, }
recruit "greek chariot scythed" 0 requires factions { seleucid, }
weapon_simple 1
weapon_bladed 1
}
construction 3
cost 1200
settlement_min large_town
upgrades
{
smiths_workshop
}
}


I'm rather surprised that we still have equipment upgrades in temples though.

Gerhard
12-25-2007, 04:31
Ok, i see, so maybe for temples only the word bonus is required. After the changes the upgrade worked as in the description.

Also the casse get a weapon and armor upgrade via a temple. This upgrade works and has the word bonus in EDB.

cheers
Gerhard