Template:FactionBuildingCargo: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<!-- faction: {{{faction}}} 1
Building ID: {{{bldg_id}}} 2
note: {{{note}}} 3 -->


{{#cargo_query:
{{#cargo_query:
Line 6: 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|}}}'


|fields  = B.id                     = id,
|fields  = B.id                                         = id,
           B.faction               = faction,
           B.faction                                   = faction,
           building_t.name         = name,
           building_t.name                             = name,
           building_t.description   = description,
           building_t.description                       = description,
           B.icon                   = icon,
           B.icon                                       = icon,
           CONCAT({{{faction}}}, '_', B.prereqs__full)               = prereqs,
           CONCAT(B.faction, '_', B.prereqs__full) = prereqs,
           B.gold_cost             = gold,
           B.gold_cost                                 = gold,
           B.wood_cost             = wood,
           B.wood_cost                                 = wood,
           B.ore_cost               = ore,
           B.ore_cost                                   = ore,
           B.crystals_cost         = crystals,
           B.crystals_cost                             = crystals,
           B.gemstones_cost         = gems,
           B.gemstones_cost                             = gems,
           B.mercury_cost           = mercury,
           B.mercury_cost                               = mercury,
           B.dust_cost             = dust,
           B.dust_cost                                 = dust,
           B.graal_cost             = graal
           B.graal_cost                                 = graal
         
                     
<!-- CONCAT(unit_en.name, '_icon')        = filename,
CONCAT(HSS.min, " - ", HSS.max)) = text    -->     
            
            
|format    = template
|format    = template
Line 34: Line 39:


<noinclude>
<noinclude>
{{FactionBuildingCargo
|faction = dungeon
|bldg_id = dungeon_Build_Artifact_Market_L1
|note    = Notenotenote
}}


{{FactionBuilding
{{FactionBuilding

Latest revision as of 00:19, 1 June 2026






Artifact Merchant
Requirements: Marketplace
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