| | | OFFLINE | | Post: 291 | Registrato il: 18/07/2012
| Città: MILANO | Età: 38 | Scudiero | |
|
Uà Gongo: sei terribile!!!!
Con l'informatica l'edb non c'entra nulla
Qui per esempio ho accorpato i diversi templi norreni, la bussola è questa:
building temple_pagan
{
;religion pagan
levels odino_altar odino_sanctuary odino_temple thor_sanctuary thor_temple freyr_sanctuary freyr_temple
{
odino_altar requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 1
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 1
cost 1200
settlement_min village
upgrades
{
odino_sanctuary
thor_sanctuary
freyr_sanctuary
}
}
odino_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 2
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 2
cost 2400
settlement_min village
upgrades
{
odino_temple
}
}
odino_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 3
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 4
cost 4800
settlement_min village
upgrades
{
}
}
thor_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
recruits_morale_bonus bonus 2
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 2
cost 2400
settlement_min village
upgrades
{
thor_temple
}
}
thor_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
recruits_morale_bonus bonus 3
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 4
cost 4800
settlement_min village
upgrades
{
}
}
freyr_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
;trade_level_bonus bonus 0.5
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 2
cost 2400
settlement_min village
upgrades
{
freyr_temple
}
}
freyr_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1
{
capability
{
;trade_level_bonus bonus 0.75
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { saxons, barons, }
}
material wooden
construction 4
cost 4800
settlement_min village
upgrades
{
}
}
}
plugins
{
}
}
prima era così:
;;;;;;;;;templi odino e dievas
building temple_odino
{
religion pagan
levels odino_altar odino_sanctuary odino_temple
{
odino_altar requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_thor
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 1
happiness_bonus bonus 1
religion_level bonus 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 2 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 1
cost 1000
settlement_min town
upgrades
{
odino_sanctuary
}
}
odino_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_thor
{
capability
{
recruit_pool "dievas guard" 1 0.10 1 0 requires factions { barons, } and hidden_resource lituania and event_counter pagan_lithuania 1
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 2
happiness_bonus bonus 2
religion_level bonus 2 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 2 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 4 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 2
cost 2200
settlement_min large_town
upgrades
{
odino_temple
}
}
odino_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_thor
{
capability
{
recruit_pool "dievas guard" 1 0.25 3 1 requires factions { barons, } and hidden_resource lituania and event_counter pagan_lithuania 1
agent priest 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
law_bonus bonus 3
happiness_bonus bonus 3
religion_level bonus 3 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 3 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 6 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 3
cost 4000
settlement_min city
upgrades
{
}
}
}
plugins
{
}
}
;;;;;;;;;templi thor e perkunas
building temple_thor
{
religion pagan
levels thor_altar thor_sanctuary thor_temple
{
thor_altar requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_odino
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
recruits_morale_bonus bonus 1
happiness_bonus bonus 1
religion_level bonus 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 2 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 1
cost 1000
settlement_min town
upgrades
{
thor_sanctuary
}
}
thor_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_odino
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
recruits_morale_bonus bonus 2
happiness_bonus bonus 2
religion_level bonus 2 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 2 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 4 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 2
cost 2200
settlement_min large_town
upgrades
{
thor_temple
}
}
thor_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_freyr and not building_present temple_odino
{
capability
{
agent priest 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
recruits_morale_bonus bonus 3
happiness_bonus bonus 3
religion_level bonus 3 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 3 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 4 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 3
cost 4000
settlement_min city
upgrades
{
}
}
}
plugins
{
}
}
;;;;;;;;;templi freyr e giltine
building temple_freyr
{
religion pagan
levels freyr_altar freyr_sanctuary freyr_temple
{
freyr_altar requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_thor and not building_present temple_odino
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
trade_level_bonus bonus 1
happiness_bonus bonus 1
religion_level bonus 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 1 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 2 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 1
cost 1000
settlement_min town
upgrades
{
freyr_sanctuary
}
}
freyr_sanctuary requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_thor and not building_present temple_odino
{
capability
{
agent priest 0 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
trade_level_bonus bonus 2
happiness_bonus bonus 2
religion_level bonus 2 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 2 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 4 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 2
cost 2200
settlement_min large_town
upgrades
{
freyr_temple
}
}
freyr_temple requires factions { saxons, barons, } and event_counter pagan_lithuania 1 and not building_present temple_thor and not building_present temple_odino
{
capability
{
agent priest 1 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
trade_level_bonus bonus 3
happiness_bonus bonus 3
religion_level bonus 3 requires factions { saxons, barons, } and event_counter pagan_lithuania 1
agent_limit priest 3 requires factions { all, } and not event_counter ai_player 1
agent_limit priest 6 requires factions { all, } and event_counter ai_player 1
}
material wooden
construction 3
cost 4000
settlement_min city
upgrades
{
}
}
}
plugins
{
}
}
Faccio notare un passaggio:
upgrades
{
odino_sanctuary
thor_sanctuary
freyr_sanctuary
}
Con questo lessico è possibile differenziare la costruzione degli edifici in un'unica linea di costruzione.
Con questo esempio oltretutto suggerisco anche agli ideatori un metodo semplice ed efficace per guadagnare spazio e semplificare un po' le linee sull'edb.
Ma senza arrivare a queste 'sofisticatezze', anche un principiante può in prima lettura capire cosa deve fare
E se proprio non ci riesce può iniziare copiando il mio esempio e cancellando le stringhe vecchie, così guadagna già due slot sufficienti a fare il primo test!!!
Buon lavoro, Gongo ;))) |