Commit Graph

230 Commits

Author SHA1 Message Date
fullwall
63bf0b2221 Derp 2012-10-13 12:37:18 +08:00
Jeremy Schroeder
59218ae28c Add Anchors, saveable 'locations' for your NPCs. Usage: /npc anchor (--save [name]|--assume [name]|--remove [name]) (-a)
Also renamed /npc pose --load to /npc pose --assume
2012-10-12 21:24:42 -04:00
fullwall
042a0b5ba6 Fix 2012-10-12 19:35:11 +08:00
fullwall
4c335887a8 Better flyable NPCs 2012-10-10 21:45:34 +08:00
fullwall
08d2001d37 test 2012-10-10 14:26:41 +08:00
fullwall
f83498e5cb Revert "Move highlight logic to StringHelper"
This reverts commit 1acad881eb.
2012-10-08 22:05:19 +08:00
fullwall
1acad881eb Move highlight logic to StringHelper 2012-10-08 21:51:29 +08:00
fullwall
0b034e54ec Use Persistence API 2012-10-08 15:11:49 +08:00
fullwall
5b380cf96e Translate the last of the strings 2012-10-08 10:16:19 +08:00
fullwall
72b714c3f6 Nearly all strings translated 2012-10-04 14:58:35 +08:00
fullwall
03cbb6baf9 Translate a few more strings 2012-09-30 23:23:27 +08:00
fullwall
803ce5e483 Remove old file 2012-09-30 23:13:59 +08:00
fullwall
64512b282d Fix wander waypoint provider, stack overflow bug 2012-09-30 23:13:49 +08:00
fullwall
733364443d Translate yet more strings 2012-09-30 22:56:57 +08:00
fullwall
ee7ee3c8c8 Add /waypoint provider 2012-09-30 19:36:48 +08:00
fullwall
a8c9531f31 Update metrics, add WaypointCommands, fix templates (which work, mostly) 2012-09-30 19:03:12 +08:00
fullwall
ccacff92ec Changes 2012-09-29 23:07:48 +08:00
Jeremy Schroeder
244f9873f0 Remove old files 2012-09-28 13:36:14 -04:00
Jeremy Schroeder
b9ce5d2f9b Change Positions to Poses. Use /npc pose 2012-09-28 13:29:35 -04:00
Jeremy Schroeder
669da4fc95 Fix small bugs/update to /npc position. Add /npc position --remove [name]. 2012-09-28 12:02:05 -04:00
Jeremy Schroeder
3748ee098f Beef up /npc position. Add --save and --load for storing/recalling positions. Example: /npc positions --save position_1 -a ... continue to use -a for making the NPC assume that position. Using /npc position alone will list positions. Using -a alone will neither save nor load, just assume. 2012-09-28 10:25:00 -04:00
fullwall
a938fd3f07 Allow markers to be right clicked to update editing slot 2012-09-28 18:10:17 +08:00
fullwall
6053800129 Fix some bugs with waypoints, add waypoint markers 2012-09-28 17:56:16 +08:00
fullwall
a7e926b44a Fix format specifiers in waypoint editor 2012-09-17 23:06:52 +08:00
fullwall
f2608e3c8d Fix CITIZENS-186 2012-09-17 18:20:15 +08:00
fullwall
93d1c35305 Fix jrbuddas reported bugs 2012-09-17 17:18:17 +08:00
fullwall
1394ec9c9a Implement new trait methods 2012-09-16 12:29:08 +08:00
fullwall
8823a4b77f Changes 2012-09-14 14:53:25 +08:00
fullwall
0052596444 Fix NPE 2012-09-11 15:54:27 +08:00
fullwall
5b9cf50b8e Test fix for pathing 2012-09-10 22:40:25 +08:00
fullwall
d08c1dc623 Check if navigator is navigating in waypoints 2012-09-10 20:20:01 +08:00
fullwall
1986b6203e Fix to Age, cancel navigation target if npc despawns 2012-09-10 19:16:37 +08:00
fullwall
b69b6091b6 Fixes, flyable NPCs 2012-09-07 20:12:32 +08:00
fullwall
4073ceea54 2.0.1 2012-09-06 17:35:10 +08:00
fullwall
50c18d22dd Fix some bugs, implement new navigation customisation 2012-09-01 23:09:42 +08:00
fullwall
47c5775a95 Fix? 2012-09-01 14:26:54 +08:00
fullwall
28356f54a0 Implement changes 2012-08-25 10:40:36 +08:00
fullwall
07edf17dae Bugfix 2012-08-18 15:13:33 +08:00
fullwall
17366cba20 Bugfix 2012-08-17 22:05:30 +08:00
fullwall
2a6870da14 Remove pointless abstraction in WaypointGoal, made it a bit faster when only one waypoint 2012-08-16 23:15:10 +08:00
fullwall
2fceea7d23 Vault support 2012-08-16 00:06:13 +08:00
fullwall
6c93fad879 Check for null in getBukkitEntity() fix issue in Text 2012-08-12 14:39:44 +08:00
fullwall
e0638f2df7 Bugfixes, speed updates during pathfinding 2012-08-07 22:04:52 +08:00
fullwall
eacf70202d Fix traits/lookclose, use less memory in MCTargetStrategy, improve Behaviour (ie. scripts don't need to implement hashCode() any more) 2012-08-06 17:22:04 +08:00
fullwall
358cf996b1 Move trait commands, /npc copy 2012-08-05 21:07:42 +08:00
fullwall
d673f563d0 Derp 2012-08-04 22:08:47 +08:00
fullwall
288bcf5e9f CommandConfigurable interface, range/realistic looking settings added to LookClose and Text 2012-08-04 12:48:07 +08:00
fullwall
461d102107 C:/Program Files/Git/npc speed [speed] and speed/range saving 2012-08-03 22:30:11 +08:00
fullwall
b9b6004e65 Update for 1.3 2012-08-02 21:44:59 +08:00
fullwall
8bb4964e1d Fix some issues with pathing/controllable 2012-07-28 16:15:12 +08:00
fullwall
4294758937 Add isPaused() and setPaused(boolean) to WaypointProvider 2012-07-27 22:48:06 +08:00
fullwall
54c80aaa08 Fix waypoints (an issue with the Goal, not pathing) and make entity type use the bukkit naming scheme 2012-07-26 19:01:50 +08:00
fullwall
4cf071bf4b Add isPushable() and setPushable(), cleanup 2012-07-24 14:47:10 +08:00
fullwall
6f30ed3496 Fix pig pathing speed 2012-07-22 15:44:40 +08:00
fullwall
e258fc5e3a Git fail. WARNING: API BREAKAGES 2012-07-19 23:10:30 +08:00
fullwall
405946528a Revert "Simplification part 1 - remove characters"
This reverts commit 43f7cbc4a5.
2012-07-09 21:35:57 +08:00
fullwall
43f7cbc4a5 Simplification part 1 - remove characters 2012-07-09 16:46:53 +08:00
fullwall
e3d553e0d7 Hackfix a stack overflow problem. 2012-06-11 16:11:54 +08:00
fullwall
5c7ac6926b Normalise editing slot. 2012-05-30 16:39:35 +08:00
fullwall
32445afec6 Fix a multiworld issue in LookClose 2012-05-25 23:02:20 +08:00
fullwall
c5e95eb667 Delete metrics, clean up 2012-05-23 18:57:01 +08:00
fullwall
08e5f8223d Just use instanceofs 2012-05-18 00:06:31 +08:00
fullwall
841f378750 Tempfix all the things 2012-05-17 23:55:25 +08:00
fullwall
4698e70f77 Temporary hack to fix age throwing errors, don't give every NPC age on create 2012-05-17 23:31:09 +08:00
fullwall
434bc6168b Remove explicit @ServerCommand, remove unnecessary instanceof in CitizensNPCRegistry 2012-05-17 23:14:30 +08:00
fullwall
22ced5b02b BREAKING: rename methods 2012-05-17 21:34:03 +08:00
fullwall
f8cec0710f Fix bugs with controllables, waypoints, add waypoint editing slot, call damage event 2012-05-12 15:13:58 +08:00
fullwall
99f6f28e24 Fixed an issue with waypoints 2012-05-12 10:01:27 +08:00
fullwall
5bf0e6b0fe Bugfixes, console can select NPCs for use with commands 2012-05-11 23:13:10 +08:00
fullwall
406dfea4d1 Changes 2012-05-08 21:38:28 +08:00
fullwall
37ba042c29 Changes 2012-05-03 23:22:31 +08:00
fullwall
56ea9bbddb Fixed human npcs not updating properly, exclude some types from waypoints 2012-04-30 22:56:27 +08:00
fullwall
d17e49ee74 Refactoring, Behaviour trait (scripted AI) 2012-04-30 21:38:18 +08:00
aPunch
8c0ebdc65d No need for an extra key 2012-04-26 04:01:12 -05:00
fullwall
05bd12ba05 Package refactor, getNPC lookup optimisation, fix ByIdArray iterator remove 2012-04-24 23:05:38 +08:00
fullwall
e6c20235c6 Rework lookclose logic, Controllable is now Toggleable 2012-04-21 14:12:30 +08:00
fullwall
e60e889775 Fix errors in entity instantiation and update entities properly 2012-04-20 22:45:09 +08:00
fullwall
82da2c8beb Add some more TODOs, make TraitManager slightly more flexible with constructors, fix number of args for controllable 2012-04-20 22:19:03 +08:00
fullwall
8cf64ddc73 Simple controllable command 2012-04-19 22:57:54 +08:00
fullwall
86dcef9ad0 Move updating to individual entities 2012-04-19 11:52:07 +08:00
fullwall
9ab17fdf13 Hook into new event ContextProvider 2012-04-12 23:01:56 +08:00
aPunch
bf9936c472 Change to text prompt 2012-04-07 18:00:31 -05:00
fullwall
755a00f901 Minor changes 2012-04-01 19:14:11 +08:00
fullwall
5b6dc2e607 Move callback order 2012-03-27 23:26:47 +08:00
fullwall
5c0b32e8a3 Minor optimisations and changes 2012-03-27 22:42:15 +08:00
fullwall
1d20cd17d1 NPE check 2012-03-25 16:28:47 +08:00
fullwall
ca9c7056e1 Bugfix 2012-03-25 16:19:08 +08:00
aPunch
6d95c73f5c Fixes 2012-03-23 06:55:53 -05:00
aPunch
cba533f317 Small cleanup 2012-03-22 04:37:36 -05:00
aPunch
98dbdfd784 Use Ageable instead of Animals 2012-03-22 00:19:54 -05:00
fullwall
785f353bae Minor cleanup 2012-03-21 17:40:40 +08:00
aPunch
d042ff8b3b Added ability to equip Pig NPCs with saddles. This addresses CITIZENS-6. 2012-03-18 18:11:13 -05:00
aPunch
114c83ecdd Added ability to modify NPC age. This addresses CITIZENS-10. 2012-03-18 16:14:17 -05:00
aPunch
8683d6b033 Add ability to edit sheep via the equipment editor. This address CITIZENS-5. 2012-03-17 10:43:43 -05:00
aPunch
09a09eeede Added ability to change a villager NPC profession. This addresses CITIZENS-14. 2012-03-15 06:02:53 -05:00
fullwall
2614b07208 Fix CITIZENS-21, partially fix CITIZENS-2 and CITIZENS-11 2012-03-15 18:06:40 +08:00
aPunch
33d5a07f29 Change 2012-03-15 03:33:00 -05:00
aPunch
a37716ebeb Added default text in config file. This addresses CITIZENS-28. 2012-03-15 03:30:40 -05:00
aPunch
0a52a851c8 Fix look-close and talk-close defaults. This fixes CITIZENS-27. 2012-03-14 00:16:42 -05:00
fullwall
d0575e3e22 Make NPC handles accessible from nms Entity (increase speed of NPCManager.getNPC), make Text trait respect despawned state, despawn NPCs on death event 2012-03-12 18:45:36 +08:00
fullwall
15ebeab5a9 Fix part of CITIZENS-11 (waypoint saving incorrectly) 2012-03-12 18:17:28 +08:00
aPunch
1082f57938 Fix pitch and yaw not saving properly. This fixes CITIZENS-22. 2012-03-12 01:26:08 -05:00
aPunch
a02521b5cf Added ability to change if a creeper NPC is powered. This address CITIZENS-16. 2012-03-11 17:39:18 -05:00
fullwall
565f4ec8cb Changes 2012-03-10 18:33:11 +08:00
fullwall
492d2cf6cb Pathfinding changes 2012-03-10 13:59:37 +08:00
aPunch
7893d42ab8 fix text editing 2012-03-08 17:57:24 -06:00
aPunch
afbcc86030 changes 2012-03-08 12:01:12 -06:00
aPunch
ada0262ce4 major character and trait refactor 2012-03-07 19:03:32 -06:00
aPunch
b43ab6d28c change to talking 2012-03-04 12:06:33 -06:00
aPunch
85d2441bbc changes to text editing, added click to talk and some talk settings 2012-03-03 08:15:45 -06:00
aPunch
7e6c537fb1 added talk-close command and config settings 2012-03-02 18:04:49 -06:00
aPunch
a34061aff1 changes to text 2012-03-02 16:42:58 -06:00
aPunch
ed180614f1 initial text editing using Conversations API 2012-03-02 14:42:34 -06:00
fullwall
8f6b2e5c1e Misc changes / javadoc 2012-03-02 21:04:40 +08:00
fullwall
29100190a7 Attempted fixes 2012-03-02 19:39:47 +08:00
fullwall
5af2a7ee84 Fix? 2012-03-02 19:20:38 +08:00
fullwall
feb0ccd445 Merge 2012-03-02 18:38:39 +08:00
fullwall
b26a495aff Changes to waypoints 2012-03-02 18:36:54 +08:00
aPunch
3d4c02dfea update to new mob AI 2012-03-02 03:59:02 -06:00
fullwall
f89aac853d Fix some bugs 2012-02-28 22:17:49 +08:00
fullwall
816545cf59 Move file 2012-02-28 21:03:36 +08:00
fullwall
c741cf08d6 Minor change 2012-02-28 20:38:08 +08:00
fullwall
d1fc04e9ec Fix logic 2012-02-28 20:11:25 +08:00
fullwall
f42248a38e Bugfix (may need changing later) 2012-02-28 19:25:42 +08:00
fullwall
bb37e033b9 Merge branch 'master' of http://www.github.com/CitizensDev/Citizens2 2012-02-28 15:39:21 +08:00
fullwall
5f8c8aafc3 Bugfix 2012-02-28 15:39:00 +08:00
aPunch
c188d2833e editor changes, bug fixes 2012-02-27 09:59:39 -06:00
aPunch
a4b1858c3a changes 2012-02-27 09:21:28 -06:00
fullwall
965277121d Waypoint work 2012-02-27 19:16:01 +08:00
Ian Macali
670d999bfe Fixed Maven. 2012-02-26 01:20:11 -06:00