Template:FactionBuildingCargo: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 9: Line 9:
|join on =  
|join on =  
           building_t.target_id = B.id
           building_t.target_id = B.id
|where  = B.faction = '{{{dungeon|}}}'
|where  = B.faction = '{{{faction|}}}'
           AND building_t.language = 'en'
           AND building_t.language = 'en'
           AND B.id = '{{{bldg_id|}}}'
           AND B.id = '{{{bldg_id|}}}'
Line 18: Line 18:
           building_t.description  = description,
           building_t.description  = description,
           B.icon                  = icon,
           B.icon                  = icon,
          CONCAT({{{faction}}}, '_', B.prereqs__full)              = prereqs,
          <!--  CONCAT({{{faction}}}, '_', B.prereqs__full)              = prereqs, -->
           B.gold_cost              = gold,
           B.gold_cost              = gold,
           B.wood_cost              = wood,
           B.wood_cost              = wood,

Revision as of 00:14, 1 June 2026






Artifact Merchant
Requirements:
Error: operator for the virtual field 'Building.prereqs' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
Cost Effect
2500 Gold
5 Wood
5 Ore
Allows artifacts to be traded.





Treasury
Requirements: Bank, Fortifications I
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.

Note: Something random test test test








Tavern
Requirements: None.
Cost Effect
5,000 Gold
5 Gems
5 Crystals
5 Mercury
Produces 2000 Gold daily.

Note: Something random test test test