fb549e7f93
Pathfinder: Drop jumper.lua's pathfinder in favor of MarkBu's pathfinder with slight modifications, as the later one supports 3D paths.
...
Clean up old pathfinder code.
Add path decoration to MarkBu pathfinder's generated paths.
Change actions.lua and places.lua to use the new pathfinder.
Properly modify README.md.
2017-06-17 11:47:51 -04:00
e1bf931064
Relationships: change texture of smoke to use default's mod texture
2017-06-17 11:45:57 -04:00
3e006ac828
Add proper description.txt, depends.txt
2017-06-17 11:15:40 -04:00
caa39d97ab
NPC: Fixed bugs around new logs and npc chat functions.
...
Fixed bug with child texture.
1.0-alpha-0
2017-06-17 10:22:00 -04:00
a91160ecc6
NPC: Cleaned up debugging logs.
...
Standarized logs to have different levels.
Show by default only INFO, ERROR log messages.
Dialogues: Standarized function for NPC chat messages.
Removed trader.lua and trader_test.lua which are part of old 'mobs_npc' mod.
2017-06-17 09:44:25 -04:00
bf0f643e3e
NPC: Changed general issue with names. Now names are a dedicated variable, not anymore a nametag.
...
NPC names aren't visible anymore.
Spawner: Added NPC statistics to plotmarkers.
Add statistics-based spawning for a more balanced, family-type spawning of NPCs.
2017-06-17 09:08:29 -04:00
adeeecd43e
Pathfinding (WIP): Use MarkBu's pathfinder mod as the new pathfinder.
...
Actions: Modify walk_to_pos to use new pathfinding code.
Allow support for giving positions as strings or tables referring to specific places on Places Map.
Spawner: Assign beds to NPCs.
Increase amount of NPCs now being spawned as they are able to reach top floor beds.
Places: Slight overhaul and changes. Add more info to places.
NPC: Hide nametag.
2017-06-14 18:42:36 -04:00
d4e8744cfb
Spawner: Assign entrance door to every NPC spawned.
...
Increased ABM chance to make NPC spawning less laggy.
Improved building scanning, finally now has correct data for scanning nodes.
Places: Finding entrances is limited now to MTG doors.
2017-05-19 14:36:11 -04:00
1d1a56592b
Actions: Rewrite API to use executor function + constants of commands.
...
Re-write NPC add action/task functions, do_custom() to use new actions API.
Spawner: Find building entrances (WIP)
Places: Fix numerous bugs with add/get places functions.
Actions: Fix bugs with sittable task.
2017-05-13 13:17:45 -04:00
9b3d458872
Spawner: Part 1: Add initial code to find doors front/behind position.
...
Detect first floor nodes.
2017-05-05 18:34:16 -04:00
f4c374314a
Actions: Enhance walking reliability by adding a moveto() at the end of every step and just before the next step.
...
Increase walking speed constants to more normal values.
2017-05-05 09:13:30 -04:00
55c6146e94
Spawning: Find entrance doors to building.
2017-04-10 22:42:21 -04:00
7169035783
Merge branch 'master' of https://github.com/hkzorman/advanced_npc
2017-04-08 10:22:10 -04:00
a667f538f8
Spawner: Find entrance doors (WIP)
2017-04-08 10:21:51 -04:00
bb5cd7e2c6
Add version of Jumper library
...
As requested by Roland Yonaba.
2017-04-06 19:32:38 -04:00
5a6113479e
Improve initial comment.
2017-04-05 19:18:34 -04:00
b30324fabe
Pathfinding: Remove Jumper submodule.
...
Tidy-up init.lua
Update Readme.
2017-04-04 14:32:28 -04:00
ef973e47cc
Pathfinding: Cleaned up pathfinder.lua logs.
...
Changed init.lua to refer to proper files.
Updated comment about Jumper library in pathfinder.lua
2017-04-04 10:20:19 -04:00
7f2e1b665a
Pathfinding: Cleanup jumper.lua
...
Add copyright notices to jumper.lua
Remove 'pathfinder2.lua'
2017-04-04 10:11:19 -04:00
297dd379a6
Pathfinding: Fix for mod security - joining up Jumper library code (WIP)
2017-04-03 21:48:17 -04:00
afe8dc8f6e
Places: Detect building entrances (WIP)
2017-03-27 20:05:18 -04:00
d375762d11
NPCs: Add random female and male names.
...
Spawner: Start adding metadata to spawner, places to NPCs. (WIP)
2017-03-27 14:47:31 -04:00
b5ef1f8ed8
Spawner: automatic and manual spawning now works completely.
2017-03-27 14:03:40 -04:00
509bf571b1
Spawner: Fixed spawning. (WIP)
2017-03-27 11:08:18 -04:00
d18d1ce897
Trading: Fix price items not being accounted for.
2017-03-27 10:53:21 -04:00
626ca68eb5
Spawner: Working node spawning.
2017-03-23 10:20:08 -04:00
e937cc4ce4
Spawner: Moved all spawning code to spawner.lua.
...
Started progress on node timer-based NPC spawning (WIP)
2017-03-22 22:08:41 -04:00
3649d5bc6a
Spawner: Adds ABM for replacement for when LBM fails.
2017-03-18 12:58:36 -04:00
f5fbda142e
Spawner: Adds LBM to replace mg_villages:plotmarker with advanced_npc:auto_spawner (WIP).
...
Adds initial scan code (WIP).
2017-03-18 10:32:37 -04:00
2e2815b559
Spawner: Add initial specification
2017-03-17 19:35:19 -04:00
bd6d735170
Actions: Change use sittable and use bed interface to use them as tasks.
...
Schedules: Allow tasks to be added as well as actions.
2017-03-09 19:41:44 -05:00
f55757d334
Schedules: Fix bugs, add simple test schedule.
2017-03-09 13:54:37 -05:00
fecdf8ff48
Schedules: Add correct execution interval for times.
2017-03-08 09:36:53 -05:00
f476f162f6
Trade: Fully supported custom trading (for now).
2017-02-24 07:56:31 -05:00
1417e35ffb
Trade: (WIP) Add custom trading dialogues, custom trading offers and code to show the custom trading options.
2017-02-23 07:27:25 -05:00
37d8182bda
Merge pull request #3 from tbowan/master
...
Fix error on unknown node
2017-02-20 18:20:53 -05:00
f5968b952d
Better fix
2017-02-14 10:32:52 +01:00
8ea9af6e23
Fix error on unknown node
2017-02-13 23:37:33 +01:00
ce39d59356
Trade: Full support for dedicated trading.
2017-02-09 11:38:14 -05:00
8648e8fdff
Merge branch 'master' of https://github.com/hkzorman/advanced_npc
2017-02-04 12:38:24 -05:00
a763516977
Trade: (WIP) Add working dedicated trading. Need to add offer re-generation.
2017-02-04 12:38:02 -05:00
b2edbf60b6
Small tweaks to README
2017-02-01 22:03:22 -05:00
4b839ebc06
Fix links on README
2017-02-01 21:58:14 -05:00
b5439db961
Edited README, moved roadmap to the wiki.
2017-02-01 21:56:24 -05:00
ac31226320
Updates README
2017-02-01 21:20:39 -05:00
fcc1968179
Trade: Added dedicated trader's formspec.
2017-02-01 21:16:31 -05:00
d8b90d95c3
Trade: Add function to store trade offers on NPC data based on the trading status.
...
Add support to avoid flipping sold items out of stock to buy immediately.
2017-02-01 11:36:20 -05:00
b3b9bf393f
Trade: Added basic logic for dedicated traders offers.
2017-01-30 21:51:16 -05:00
54c005ec34
Trade: Add dedicated trading prompts.
...
Dialogue: Add support to show dedicated trading prompts for dedicated traders.
(WIP) Get buy/sell offers for dedicated traders.
2017-01-29 20:30:43 -05:00
d7a8de5b86
Trade: A list of buyable items is now calculated with the maximum amount buyable (given the currency), the minimum buyable amount and the minimum price.
...
Port casual trading to use this system.
Refactor the offer function to also support dedicated trading.
2017-01-29 20:08:34 -05:00