Commit Graph

539 Commits

Author SHA1 Message Date
fullwall eadc338dc2 Update version 2012-10-30 11:33:55 +08:00
fullwall 054fe89309 Reuse code, match more entity types 2012-10-30 11:02:25 +08:00
fullwall 7ed02943b7 Fix entity.l being called and use bukkit equivalent, update EntitySense, knockback enchantments get applied 2012-10-30 10:53:05 +08:00
fullwall c519cde217 Fix location missing bug... and bats 2012-10-30 08:59:52 +08:00
fullwall cb578bd677 NPC stairclimbing: still not working 2012-10-29 22:45:03 +08:00
fullwall d00a19d8fc Sort 2012-10-29 21:36:27 +08:00
fullwall 0442e11462 Fix walking over slabs 2012-10-29 21:35:38 +08:00
fullwall e26f3621af Add some escape sequences 2012-10-29 20:54:28 +08:00
fullwall 3b1a5bc044 Fix NPC bats, add /npc skeletontype, /npc create now allows creation at another player 2012-10-29 17:26:42 +08:00
aPunch 216b7f9d40 Add ability to place skulls on NPCs. 2012-10-28 17:52:31 -05:00
fullwall 918a9c5bba Fix rayTrace call to this.l 2012-10-28 13:18:38 +08:00
fullwall bc575cbcf5 Use the persistent field instead of overriding bh 2012-10-28 12:54:18 +08:00
fullwall a61172e6e4 Update for 1.4 2012-10-28 12:37:37 +08:00
fullwall 0d6b4e021e Add ChatTrigger, add PlayerAnimation utility class 2012-10-27 19:43:53 +08:00
fullwall 8b9fa4328a Trigger conversation is active while the editor is active 2012-10-26 22:00:48 +08:00
fullwall d7f765bfbd Stop the conversation when the editor stops 2012-10-26 21:55:41 +08:00
fullwall 35844ac6c5 Implement WaypointTriggers 2012-10-26 21:49:30 +08:00
fullwall 4ce0843315 Assuming this works 2012-10-26 17:52:01 +08:00
fullwall cd55c42ec0 Player NPC swimming 2012-10-26 16:35:23 +08:00
fullwall 1768f87405 Use setting more consistently 2012-10-26 16:07:06 +08:00
fullwall 843da97be0 Stuff 2012-10-26 15:28:48 +08:00
fullwall 17452c4ce5 Double quote everything, remove trait data 2012-10-26 14:26:57 +08:00
fullwall 386f9369a4 . 2012-10-26 13:47:33 +08:00
fullwall c1e0550af6 Add pathfinding range message, sort 2012-10-26 12:26:54 +08:00
fullwall 8f4be0a8e1 Simplify multi-way selection prompt 2012-10-26 12:11:30 +08:00
fullwall 4964534e74 Move playerlist handling to CitizensHumanNPC, add /npc playerlist command, make ChunkCoord unique per-world 2012-10-26 11:35:04 +08:00
fullwall bbf1fcb40e Fix an issue with Gravity 2012-10-24 00:19:31 +08:00
fullwall 0bfec9bb7d Add an extra trySwim call 2012-10-23 15:18:51 +08:00
fullwall 147e1de498 Trim arguments, waypoint command 2012-10-23 15:14:54 +08:00
fullwall 5c2d57f135 Allow NPCs to be created from console 2012-10-22 20:33:07 +08:00
fullwall d4be20422f Delete file 2012-10-22 14:54:15 +08:00
fullwall 2afb371099 Update website 2012-10-22 14:54:01 +08:00
fullwall 2d90f6c867 Add /npc gamemode command 2012-10-21 21:40:45 +08:00
fullwall 557b5607ea Fix missing param in translation 2012-10-21 20:34:21 +08:00
fullwall b7e38d2fa7 Remove double quotes 2012-10-21 17:04:49 +08:00
fullwall fece9d51e0 Update translation 2012-10-20 20:08:35 +08:00
fullwall 97f9861db1 Update german translation 2012-10-19 21:08:56 +08:00
fullwall 2ce26f9c09 Duplicate some code in Messaging.tr temporarily 2012-10-19 16:37:22 +08:00
fullwall 52f29c0662 Don't require ownership for /npc select 2012-10-18 18:15:04 +08:00
fullwall d459e7426f Avoid - character in saving lookclose 2012-10-16 20:09:23 +08:00
fullwall 9d07084635 Fix spout compat 2012-10-16 17:50:57 +08:00
fullwall 02ca3e7388 Fix controllable NPE 2012-10-16 17:25:18 +08:00
fullwall 08d4aa5fc8 Don't try to translate while still initialising 2012-10-16 15:48:43 +08:00
fullwall fb0660e6e0 Add dutch translation - thanks sjoerdtim 2012-10-15 21:29:31 +08:00
fullwall cdebf54e1a Allow -g flag for setting the controllable to ground, -r flag for clearing 2012-10-15 21:04:15 +08:00
fullwall 7ba586c4c1 Derp, fix order 2012-10-15 20:55:54 +08:00
fullwall 2c3aaac021 Fix * flags 2012-10-15 20:51:48 +08:00
fullwall 4f5fac2a3f Fix arg length for /trc 2012-10-15 20:39:57 +08:00
fullwall dc0cb7b7e0 Fix bugs 2012-10-15 20:31:22 +08:00
fullwall 806f3b9fbb Implement AttackStrategy 2012-10-15 18:14:27 +08:00
fullwall d96500ddf5 Add some waypoint triggers 2012-10-15 17:13:34 +08:00
fullwall 6d0f58991e Update 2012-10-15 16:55:38 +08:00
fullwall 5b629638d7 Allow any entity type to be controlled as a flyable npc 2012-10-15 16:55:13 +08:00
fullwall 9fcb6214e0 Implement onCopy 2012-10-15 15:17:20 +08:00
fullwall 0ba1bd9f2c Waypoints use PersistenceLoader now 2012-10-15 14:44:20 +08:00
fullwall c05e249440 Add gravity and slime size traits 2012-10-15 13:45:00 +08:00
fullwall 6dbce01c54 Forgot to remove this 2012-10-15 13:18:34 +08:00
fullwall 57c96f250a Add selection param 2012-10-15 11:31:40 +08:00
fullwall 56e9189193 Better economy handling 2012-10-15 10:37:40 +08:00
fullwall 4c8ea6b001 Peaceful monsters will now brutalise players 2012-10-15 10:02:59 +08:00
fullwall b6df2c1d54 Derp 2012-10-13 12:37:18 +08:00
Jeremy Schroeder 59d6ee5377 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 585cbb2888 Fix locale loading when setting is empty 2012-10-12 22:39:18 +08:00
fullwall a5253da44e Implement fix better 2012-10-12 21:40:38 +08:00
fullwall 3d91f0d01b Fix 2012-10-12 19:35:11 +08:00
fullwall 94edd7de34 Fix /npc select with only 1 argument 2012-10-12 14:25:56 +08:00
fullwall abe5baca9c Experimental change: implement Bukkit interfaces for NPCs 2012-10-12 12:16:44 +08:00
fullwall 414c82d78f Work around some plugins not extending from CraftEntity 2012-10-12 11:52:48 +08:00
Léa Gris dac3a1ff07 Added french translations 2012-10-10 21:34:32 +02:00
fullwall 3b8cdae068 Better flyable NPCs 2012-10-10 21:45:34 +08:00
fullwall ab19a48d7f test 2012-10-10 14:26:41 +08:00
fullwall b1ec919695 Test 2012-10-08 22:07:29 +08:00
fullwall 0c2d84387f Revert "Move highlight logic to StringHelper"
This reverts commit 570d7e281b.
2012-10-08 22:05:19 +08:00
fullwall 570d7e281b Move highlight logic to StringHelper 2012-10-08 21:51:29 +08:00
fullwall 6099987843 Update version to 2.0.3 2012-10-08 16:12:02 +08:00
fullwall 9efc3a5572 Use Persistence API 2012-10-08 15:11:49 +08:00
fullwall 2da1a6d58d Call onRemove 2012-10-08 12:37:45 +08:00
fullwall fce64e4a96 Fix NPE 2012-10-08 11:30:28 +08:00
fullwall a01d871ae3 Add specific help for some commands, default locale is empty to focus on system locale 2012-10-08 10:44:14 +08:00
fullwall d8acbb47ae Translate the last of the strings 2012-10-08 10:16:19 +08:00
fullwall fda2ea4cad Make parent folders before saving 2012-10-05 20:15:06 +08:00
fullwall 1ce9572381 Fix locale selection, unpack resource translations automatically 2012-10-04 18:58:27 +08:00
fullwall 1a3ebd0990 Test 2012-10-04 18:28:23 +08:00
fullwall 80aeaf5770 Add messages_de.properties 2012-10-04 18:16:51 +08:00
fullwall 23ce30376e Allow for locale specialisation for possible player-specific translations 2012-10-04 17:28:42 +08:00
fullwall bdf91ce97a Use american spelling 2012-10-04 15:00:41 +08:00
fullwall 960ff74fae Nearly all strings translated 2012-10-04 14:58:35 +08:00
fullwall 9f5d99904f Translate a few more strings 2012-09-30 23:23:27 +08:00
fullwall 0c926293c4 Remove old file 2012-09-30 23:13:59 +08:00
fullwall 9719873ffe Fix wander waypoint provider, stack overflow bug 2012-09-30 23:13:49 +08:00
fullwall 7d6dc1c40a Translate yet more strings 2012-09-30 22:56:57 +08:00
fullwall 14af55efa5 Implements traits() in requirements 2012-09-30 22:13:19 +08:00
fullwall 4134982674 Add /waypoint provider 2012-09-30 19:36:48 +08:00
fullwall 1494f92689 Update metrics, add WaypointCommands, fix templates (which work, mostly) 2012-09-30 19:03:12 +08:00
fullwall 55bb5adef7 More work on i18n - changed Messages to string constants instead of enums, new strings must be translated into the messages_en.properties file 2012-09-30 17:55:51 +08:00
fullwall 3d5612cbf9 Implement template#apply (templates may or may not work) 2012-09-30 00:08:47 +08:00
fullwall d00ed620b7 Make a start on templates 2012-09-29 23:54:05 +08:00
fullwall 6228339667 Changes 2012-09-29 23:07:48 +08:00
Jeremy Schroeder 5d2ce8d37f Remove old files 2012-09-28 13:36:14 -04:00
Jeremy Schroeder 808bfd30b4 Change Positions to Poses. Use /npc pose 2012-09-28 13:33:44 -04:00
Jeremy Schroeder e57c6eacd9 Change Positions to Poses. Use /npc pose 2012-09-28 13:29:35 -04:00
Jeremy Schroeder 36af589c7b Fix small bugs/update to /npc position. Add /npc position --remove [name]. 2012-09-28 12:02:05 -04:00
Jeremy Schroeder dc5047620d 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 96f3c48805 Allow markers to be right clicked to update editing slot 2012-09-28 18:10:17 +08:00
fullwall 1f6e568838 Changes to /npc position 2012-09-28 18:03:17 +08:00
fullwall c9b29cf39f Merge branch 'master' of github.com:CitizensDev/Citizens2 2012-09-28 17:56:47 +08:00
fullwall ffaf616b1b Fix some bugs with waypoints, add waypoint markers 2012-09-28 17:56:16 +08:00
Jeremy Schroeder 814142802f Add '/npc position -a' to have the NPC's head assume the position of the Player's head. 2012-09-27 18:03:04 -04:00
Jeremy Schroeder c6ac327728 Add 2012-09-27 17:59:32 -04:00
fullwall 41ba6b1f64 Fix some navigation bugs (thanks jrbudda) 2012-09-24 16:40:13 +08:00
fullwall 7bd21c3161 Revert "Implement new selector"
This reverts commit a4aebab7ed.
2012-09-23 13:07:30 +08:00
fullwall a4aebab7ed Implement new selector 2012-09-22 16:31:53 +08:00
fullwall 3d4387b119 Change Navigation world when the entity changes world 2012-09-22 16:09:40 +08:00
fullwall 87063e9e60 Fix payment 2012-09-22 13:03:52 +08:00
fullwall 3b7502de82 Enable subplugins earlier 2012-09-20 08:52:44 +08:00
fullwall ac34ec7946 Fix format specifiers in waypoint editor 2012-09-17 23:06:52 +08:00
fullwall cd8d30130f Allow npcs to be created unspawned with the -u flag 2012-09-17 21:49:28 +08:00
fullwall d1aee6d6fa Fix CITIZENS-186 2012-09-17 18:20:15 +08:00
fullwall 0ea22a310c Fix CITIZENS-190, add more translations 2012-09-17 18:16:27 +08:00
fullwall 794d78a264 Fix CITIZENS-191 2012-09-17 17:54:56 +08:00
fullwall 892e9f6f59 Fix jrbuddas reported bugs 2012-09-17 17:18:17 +08:00
fullwall bff94e8bad More work on translations 2012-09-16 19:20:01 +08:00
fullwall eb0943ad0d Begin work on translation 2012-09-16 16:47:41 +08:00
fullwall 7610f03bb1 Fix up trait command requirements, add /trait add|remove 2012-09-16 14:35:04 +08:00
fullwall 0fb2be3a77 Implement new trait methods 2012-09-16 12:29:08 +08:00
fullwall 45e44d8d68 Add setting for removing NPCs from player list (testing it out), --trait is applied after spawn 2012-09-16 12:04:14 +08:00
fullwall b14b4173b9 Changes 2012-09-14 16:20:22 +08:00
fullwall 9d34a6b4f2 Possible fix for spawning bugs... TODO implement better 2012-09-14 15:21:07 +08:00
fullwall 1c2181fafc Changes 2012-09-14 14:53:25 +08:00
fullwall 4f9f16aa55 Update pathfinding range more often 2012-09-13 21:11:17 +08:00
fullwall 8b509f2cb7 Some basic refactoring 2012-09-13 21:02:55 +08:00
fullwall 2971c85e5a Fix for subplugins 2012-09-13 20:39:52 +08:00
fullwall ac35f7d6ec Workaround for metadata issue 2012-09-12 21:18:47 +08:00
fullwall 014e220bf3 Revert "Removed NPC metadata for checking that an entity is an NPC; Bukkit will not be fixing this per BUKKIT-2501"
This reverts commit d59f350319.
2012-09-12 20:32:31 +08:00
fullwall d59f350319 Removed NPC metadata for checking that an entity is an NPC; Bukkit will not be fixing this per BUKKIT-2501 2012-09-12 17:06:21 +08:00
fullwall e3fe46cb0c Fix NPE 2012-09-11 15:54:27 +08:00
fullwall 88a46277ca Test fix for pathing 2012-09-10 22:40:25 +08:00
fullwall 2c8ed97c42 Check if navigator is navigating in waypoints 2012-09-10 20:20:01 +08:00
fullwall 3c5eb390a6 Fix to Age, cancel navigation target if npc despawns 2012-09-10 19:16:37 +08:00
fullwall 6f211403c3 Update list without iterator 2012-09-10 17:58:12 +08:00
fullwall fbcb560755 Remove debug code in /npc 2012-09-10 17:41:44 +08:00
fullwall 2c99c062b6 Add /npc vulnerable command 2012-09-09 21:39:53 +08:00
fullwall f5021b3cfa Fix some issues with Navigator as reported by jrbudda 2012-09-09 18:47:25 +08:00
fullwall 7168db195f Allow selected NPC redefinition in all cases 2012-09-09 18:02:39 +08:00
fullwall 77a7f05e73 Support alternative format for /npc moveto 2012-09-09 17:59:38 +08:00
fullwall efcda9304f Typo 2012-09-09 17:52:36 +08:00
fullwall 83ffc4c935 Better usability for commands which require an NPC to be selected 2012-09-09 17:52:00 +08:00
fullwall 9a55734d8d Small change, not sure if it will fix anything 2012-09-09 17:35:26 +08:00
fullwall 15a0319c89 Implement new method 2012-09-09 10:36:50 +08:00
fullwall 168ea380e2 Save immediately on shutdown 2012-09-08 23:30:18 +08:00