Commit Graph

13 Commits

Author SHA1 Message Date
NewbProgrammer101
957590c2f6 Update default_priest.lua 2017-09-09 11:18:56 -05:00
NewbProgrammer101
83b95c9deb Update default_miner.lua 2017-09-09 10:51:12 -05:00
NewbProgrammer101
464ca64bd2 Update default_miner.lua 2017-09-09 10:41:45 -05:00
NewbProgrammer101
3410b1ac33 Update default_farmer.lua 2017-09-09 10:03:55 -05:00
NewbProgrammer101
ace616d30b Create default_miner.lua 2017-09-09 09:45:18 -05:00
NewbProgrammer101
179ffe8135 Update default_farmer.lua 2017-09-09 09:32:24 -05:00
NewbProgrammer101
d13aa0aa6e Update default_priest.lua 2017-09-08 06:14:54 -05:00
NewbProgrammer101
cb93e13378 Delete occupations_data.lua 2017-09-08 06:12:16 -05:00
Hector Franqui
2a0b0aa538 Occupations: Refactor all occupation defs into separate Lua files.
Add WIP priest occupation.
Add WIP (very WIP) farmer occupation.
2017-09-05 22:47:03 -04:00
Hector Franqui
cd8e3c09cb Priest occupation (WIP) 2017-09-01 14:15:23 -04:00
Hector Franqui
df56e44bbd Add workplaces support.
Places:
Workplaces are now usable nodes.
Plotmarkers around a building can be scanned and their information stored into current plotmarker.
Slightly optimize plotmarker search.
Occupations:
Add test "priest" occupation definition.
Fix lots of bugs in initialization code.
Spawner:
Add ability to determine occupation name out of surrounding workplaces.
Assign occupation to spawned NPC using simple algorithm.
Others:
Reduce log noise a bit.
Fix some warnings.
2017-08-29 14:54:57 -04:00
Hector Franqui
59bb430e62 Spawner: Nearby plotmarkers are now scanned for all mg_villages:plotmarkers.
Places: Usable nodes now include workplaces
Small bug fixes.
Relationships: Small bugfix with gift item response.
Occupations: Add work node descriptions.
Experimental "priest" occupation.
2017-08-28 15:43:57 -04:00
Hector Franqui
4c102a70a4 Spawner: Large code refactor to remove dependency on plotmarkers.
Most spawner functions can now be called without giving a plotmarker.
Move scanning functions to places.lua.
Places: Cleanup and add more area-scanning functions.
Schedules: Bugfix where schedules weren't being executed due to wrong
"end" order in the do_custom() function.
Data: Moved random data to "data" folder.
Textures: Add 14 male textures and 10 female textures.
Occupations: Small tweaks to "default_basic" occupation.
2017-08-25 09:31:45 -04:00