Commit Graph

  • 97da2dc191 Fix crash when npc close a door master sys4-fr 2018-03-27 23:29:04 +0200
  • dfaa904ba8 Avoid crash when npc don't find alternative place to go sys4-fr 2018-03-25 21:22:19 +0200
  • 166db4b5e5 Fix crash sys4-fr 2018-03-25 15:46:58 +0200
  • 784359575f Merge 5b9c072c03 into 2dc2400b38 #37 Hector Kio 2018-01-13 16:32:02 +0000
  • 5b9c072c03 Removed .idea folder #37 commands_api Hector Franqui 2018-01-13 10:20:35 -0500
  • 18f07ce50f Actions: Added description. Fully implement helper methods for validating and evaluating expressions. Full implementation of declarative commands. Hector Franqui 2018-01-13 10:12:17 -0500
  • ff82f83c0b NPC: Add execution environment Actions: Rename 'actions' to 'command' Add skeleton method for declarative and control commands Hector Franqui 2018-01-09 20:04:20 -0500
  • 9125aa334a Actions: Replace "action" for "command". Add declarative and control commands comments and function signature (no implementation yet). Hector Franqui 2018-01-09 19:04:51 -0500
  • 221cfa3105 NPC: Add execution context. Hector Franqui 2018-01-09 18:43:33 -0500
  • 2dc2400b38 Api doc update (#31) BrunoMine 2017-12-20 17:40:36 -0200
  • 49c12efb3a
    orthographic correction #31 BrunoMine 2017-12-19 23:06:19 -0200
  • 1a1fe32368
    Add WALK_TO_POS task BrunoMine 2017-11-30 18:03:54 -0200
  • 274ec87c75
    Add schedule commands BrunoMine 2017-11-30 18:01:02 -0200
  • 3e7016ceda
    Update api.md BrunoMine 2017-11-24 09:25:44 -0200
  • 0b5c744a98
    Merge pull request #1 from hkzorman/master BrunoMine 2017-11-24 09:23:09 -0200
  • f92ae105c0
    Update api.md #30 BrunoMine 2017-11-24 08:58:52 -0200
  • c7fad7d6c6 Initiating documentation (#25) BrunoMine 2017-11-06 11:57:59 -0200
  • 030d612771 Remove some terms #25 BrunoMine 2017-11-04 13:07:18 -0200
  • 7057347acb Fix links BrunoMine 2017-11-04 13:04:30 -0200
  • 8c8132be36 Add links BrunoMine 2017-11-04 13:00:49 -0200
  • 2ce1e8afbc Convert to .MD docs BrunoMine 2017-11-04 12:39:52 -0200
  • 4170d56e62 Add Actions and Tasks documentation BrunoMine 2017-10-23 21:16:07 -0200
  • c89cca24a1 Add API BrunoMine 2017-10-23 21:15:02 -0200
  • 5f9afae5d9 NPC: Support backward compatibility. Hector Franqui 2017-10-19 21:51:16 -0400
  • ec0392096f NPC: After interacting with NPC, original yaw is restored. Hector Franqui 2017-10-19 21:47:35 -0400
  • 205bdf6eb1 NPC: Use after_activate() callback to fix animation issue. Hector Franqui 2017-10-18 15:09:00 -0400
  • 5bdc3c3c29 NPC: Fix animation state not persistent on interaction/game restart. Action lock/unlock doesn't perform lock if movement state is sitting or laying. Right-click interaction can now be disabled in freeze action command. Upon NPC activation, animation is restored. Hector Franqui 2017-10-18 09:05:08 -0400
  • 4a4dc724cd NPC: Fix issues with female and male skins. Fix naming issues with male skins. Improve coloring on male skins. Hector Franqui 2017-10-16 18:48:02 -0400
  • d95c8504ec Places: Add truly owned nodes. NPCs shouldn't override ownership anymore. Spawner: Add command "/restore_area" to clear up node ownership & usage in manually spawned places. "/restore_plotmarkers" now clean up node ownership & usage in mg_villages. Hector Franqui 2017-10-07 11:28:38 -0400
  • 8a5e80e2cb Places: Allow finding alternative nodes when nodes are being used. Add owned and used properties to each owned/shared node. Actions: Allow to find alternative sittable/bed/furnace node if currently being used. Default occupation: Add alternative sitting finding. NPC: Log cleanup. Hector Franqui 2017-10-05 18:53:46 -0400
  • 72213f95f5 Update default_farmer.lua #19 NewbProgrammer101 2017-10-01 17:42:00 -0500
  • 739824015c Update actions.lua NewbProgrammer101 2017-10-01 17:10:39 -0500
  • a4f7d3bbf7 Update default_farmer.lua NewbProgrammer101 2017-10-01 17:09:41 -0500
  • 07272c2eb1 Update default_priest.lua NewbProgrammer101 2017-10-01 17:04:53 -0500
  • c0ef5686c3 Update default_miner.lua NewbProgrammer101 2017-10-01 17:04:26 -0500
  • 9842ce6f8f Update default_farmer.lua NewbProgrammer101 2017-10-01 17:04:04 -0500
  • b73ea52c95 Update actions.lua NewbProgrammer101 2017-10-01 16:55:42 -0500
  • ccbf678937 Update actions.lua NewbProgrammer101 2017-10-01 16:48:36 -0500
  • a321551611 Update actions.lua NewbProgrammer101 2017-10-01 16:37:45 -0500
  • 1a796a0a26 Update occupations.lua NewbProgrammer101 2017-10-01 16:27:10 -0500
  • f21d010f7f Update gift_items_data.lua NewbProgrammer101 2017-09-23 11:58:26 -0500
  • d92b729e19 Fixed bugs related to door positioning, opening/closing, and finding positions in general. Hector Franqui 2017-09-23 10:43:51 -0400
  • 43c69ffee4 Spawner: Add search radius and height to manual spawn egg. Hector Franqui 2017-09-21 20:03:01 -0400
  • 164e09bed5 Farmer: Add trading list. Add 6 cotton seeds as initial inventory. Hector Franqui 2017-09-21 18:55:29 -0400
  • 5a79b9a119 Trade: Fix name for stone hoe. Hector Franqui 2017-09-21 18:55:02 -0400
  • d55ffd06fc Schedules: Allow to set trade list as a schedule property. Trade: Trading list now supports setting maximum sell count, buy count and how much to keep (in case of sell). Add price for empty bucket. Hector Franqui 2017-09-21 18:53:43 -0400
  • c94edbc649 Log cleanup. Hector Franqui 2017-09-21 13:45:34 -0400
  • cb218fc9f9 Actions: Fix bug with not finding walkable positions around bed. Hector Franqui 2017-09-21 13:45:09 -0400
  • c37c4dd868 Default occupation: Perform casual trading during afternoon, none during the rest of the day. Hector Franqui 2017-09-21 09:02:41 -0400
  • cf77ab5299 Farmer: Add other schedule entries for commonplace tasks. Priest: Fixed missing dialogue issue. Miner: Fixed indentation. Hector Franqui 2017-09-18 01:13:20 -0400
  • 175d07476d Remove workspace.xml Hector Franqui 2017-09-18 00:33:24 -0400
  • ee38dfe46b Update init.lua NewbProgrammer101 2017-09-09 11:21:31 -0500
  • 7f9fedba9d Update default_miner.lua NewbProgrammer101 2017-09-09 10:51:12 -0500
  • 5fed6e3a90 Update default_miner.lua NewbProgrammer101 2017-09-09 10:41:45 -0500
  • c3d5a995a6 Create default_miner.lua NewbProgrammer101 2017-09-09 09:45:18 -0500
  • a527bcd746 Update default_farmer.lua NewbProgrammer101 2017-09-09 09:32:24 -0500
  • e1a7efe9ab Update default_priest.lua NewbProgrammer101 2017-09-09 11:18:56 -0500
  • 19ef08dda9 Merge 0368a4d579 into 2a979ef1fe #16 NewbProgrammer101 2017-09-17 16:13:18 +0000
  • 2a979ef1fe Actions: Add sounds to dig/place actions. Hector Franqui 2017-09-17 12:11:31 -0400
  • 580792284d Spawner: Fix undefined node Hector Franqui 2017-09-15 18:29:38 -0400
  • 561b11f8fe Spawner: Fix typo Hector Franqui 2017-09-15 18:17:19 -0400
  • db415dee97 Occupations: Change building type format to be more flexible. Spawner: Huge rework on logic to determine occupations. Warning! Completely incomprehensible code. Schedule: Improve schedule check enqueue and execution. Optimize walk_to_pos if used on distances < 3 Huge amounts of log cleanup. Places: Improve adding shared places. Improve orthogonal node scanning by using walkables and not one single node. Hector Franqui 2017-09-15 14:51:37 -0400
  • b02a78de6d Default Farmer (WIP): Improve schedule entries, schedule check. Change to new building type format. Hector Franqui 2017-09-15 14:47:04 -0400
  • 8cf1e932bc Default Priest: Change building type definitions to new format. Hector Franqui 2017-09-15 14:46:08 -0400
  • bcd6327a13 Merge branch 'master' of https://github.com/hkzorman/advanced_npc Hector Franqui 2017-09-15 14:44:45 -0400
  • 866b25c63c Pathfinder: Fix indentation. Improve path decorator to avoid jumping NPCs (in Minetest 0.5-dev) Hector Franqui 2017-09-13 09:09:08 -0400
  • 70fd62825c Actions: Fix bugs in dig and place actions. Fix bug in get_pos_argument() function. Optimize walk_to_pos task and improve usage of access node. Improve get_direction() by using vector.direction() and vector.round() Hector Franqui 2017-09-13 09:06:58 -0400
  • 770125fae9 Log cleanup. Hector Franqui 2017-09-12 09:09:15 -0400
  • 70c7a3c96f Actions: Add mine animation to dig/place actions. Fix bug enabling wandering after dig action. Improved "random" dir functionality for walk_step to avoid getting NPC stuck. General formatting fixes. Hector Franqui 2017-09-12 09:08:44 -0400
  • 0368a4d579 Merge branch 'master' into master #16 NewbProgrammer101 2017-09-10 16:22:51 -0500
  • 247a8bc94b Update init.lua NewbProgrammer101 2017-09-09 11:21:31 -0500
  • 957590c2f6 Update default_priest.lua NewbProgrammer101 2017-09-09 11:18:56 -0500
  • 83b95c9deb Update default_miner.lua NewbProgrammer101 2017-09-09 10:51:12 -0500
  • 464ca64bd2 Update default_miner.lua NewbProgrammer101 2017-09-09 10:41:45 -0500
  • 3410b1ac33 Update default_farmer.lua NewbProgrammer101 2017-09-09 10:03:55 -0500
  • ace616d30b Create default_miner.lua NewbProgrammer101 2017-09-09 09:45:18 -0500
  • 179ffe8135 Update default_farmer.lua NewbProgrammer101 2017-09-09 09:32:24 -0500
  • 245c2c32c2 My first pull request. (#15) NewbProgrammer101 2017-09-08 07:31:19 -0500
  • 466f021944 Update init.lua #15 NewbProgrammer101 2017-09-08 06:16:16 -0500
  • d13aa0aa6e Update default_priest.lua NewbProgrammer101 2017-09-08 06:14:54 -0500
  • cb93e13378 Delete occupations_data.lua NewbProgrammer101 2017-09-08 06:12:16 -0500
  • ce47958144 Actions: Fix bugs and improve dig and place action commands. Hector Franqui 2017-09-07 08:51:50 -0400
  • 2a0b0aa538 Occupations: Refactor all occupation defs into separate Lua files. Add WIP priest occupation. Add WIP (very WIP) farmer occupation. Hector Franqui 2017-09-05 22:47:03 -0400
  • 6c3988a731 Occupation: Add ability to set some of the NPCs properties. Currently, you can set: - Trader status - Whether to show or hide gift items hints NPC: Add enable/disable gift item hints flag Schedules: Allow to set the enable/disable gift item hints flag Dialogues: Add ability to choose from normal dialogues if hint dialogues are disabled. Hector Franqui 2017-09-05 19:02:50 -0400
  • 8e5d6d03f4 Spawner: Fix issue when "npcs" table is not present in restore_plotmarkers. Hector Franqui 2017-09-01 18:27:17 -0400
  • fe5a155177 Fix bug with dialogues being cleared for NPCs on occupation init. Hector Franqui 2017-09-01 18:15:53 -0400
  • cd8e3c09cb Priest occupation (WIP) Hector Franqui 2017-09-01 14:15:23 -0400
  • 48eb8078b3 Schedules: Add support to change flags in schedules. Hector Franqui 2017-09-01 14:15:01 -0400
  • 939181284b Spawner: Add workplaces properly to the usable nodes. Hector Franqui 2017-09-01 14:14:35 -0400
  • 40ac2a55a1 Actions: Fix bug and add support for using access node. Hector Franqui 2017-09-01 14:13:13 -0400
  • ba6348663b Dialogues: Fix bug when not having custom trade offers. Hector Franqui 2017-08-31 17:59:46 -0500
  • c9eb3b0ef4 Spawner: Workplaces are properly assigned to NPC. If a workplace is assigned to a NPC, it is not used by any other NPC. "/restore_plotmarkers" command also restores the workplace so it can be used by other NPCs. Occupations: Dialogues are registered on occupation registration. Hector Franqui 2017-08-31 09:11:43 -0400
  • 706a5cf188 Add occupation name to entity properties. Hector Franqui 2017-08-29 18:16:48 -0500
  • e85a8161c3 Change names to match convention. Hector Franqui 2017-08-29 18:12:21 -0500
  • 337f8c46b7 Small bug fixes and log cleanups. Hector Franqui 2017-08-29 14:55:38 -0400
  • 4ec8ad7f7f Add priest texture (WIP) Hector Franqui 2017-08-29 14:55:21 -0400
  • 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. Hector Franqui 2017-08-29 14:54:57 -0400
  • 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. Hector Franqui 2017-08-28 15:43:57 -0400
  • 0ddb30c0f9 Finish implementation to find nearby plotmarkers. Hector Franqui 2017-08-27 14:46:48 -0400
  • 19c5ca1d0c Add plotmarker search to adapt_mg_villages_plotmarker (WIP) Small code cleanup. Hector Franqui 2017-08-27 12:50:53 -0400