declare_counter pippo
set_event_counter pippo 0
monitor_event CharacterTurnStart CharacterIsLocal
and I_EventCounter pippo 0
and IsGeneral
and Trait NoTitled = 1
add_events
event counter RISCATTO_PERLA_CITTA_accepted
event counter RISCATTO_PERLA_CITTA_declined
date 0
end_add_events
historic_event RISCATTO_PERLA_CITTA true
end_monitor
monitor_conditions I_EventCounter RISCATTO_PERLA_CITTA_accepted = 1
set_event_counter pippo 1
set_event_counter RISCATTO_PERLA_CITTA_accepted 0
end_monitor
monitor_event CharacterTurnEnd CharacterIsLocal
and I_EventCounter pippo 1
console_command add_money -30000
set_event_counter pippo 0
end_monitor
testato e funzionante! metti tutto come ho metto io
[Modificato da franky317 04/09/2015 19:57]