Topic: Workers' accidents
dfTruF![]() Topic Opener |
Posted at: 2015-05-18, 09:15
Greetings. I'm thinking how to add accidents idea for every worker on random map. For workers who produce something or transport something on road. Accident has probability to happen (e.g. from 0.00001% to 2%), after every produced ware unit, or transported into flag. If success then ware unit is deleted from map. How can I handle this for events connected with finished work of every particular settler? Edited: 2015-05-18, 09:46
![]() ![]() |
GunChleoc![]() |
Posted at: 2015-05-18, 10:37
I don't think you can do this without programming changes in our C++ engine. The code would need to be added to the Carrier object. You can find the file in src/logic. Busy indexing nil values ![]() ![]() |
Tibor |
Posted at: 2016-08-24, 22:12
Accidents of workers might gone unnoticed by a player, maybe players would appreciate disasters like fires over some region when all buildings would turn into ruins - just thinking... ![]() ![]() |
king_of_nowhere![]() |
Posted at: 2016-08-25, 09:21
yeah, players wouldn't even notice worker accidents. Shows how widelands is a realistic simulation of how ruling is done ![]() ![]() |