Commit graph

48 commits

Author SHA1 Message Date
pahimar
a317d47b3b Added in some basic events to the API (only the knowledge ones fire right now). These events are cancellable, and fire just before someone learns/forgets something. Cancelling the event will stop the change from happening. Also updated Waila and removed the need for CCC/CCL in mods/. 2015-05-21 18:41:44 -04:00
pahimar
a46b8db610 Prelim API changes 2015-05-07 13:45:06 -04:00
pahimar
d1621fbf82 Increment the API version, switch EnergyValue to only accept a float (over Number, small performance increase), and better protection of learning Ores 2015-05-04 08:18:15 -04:00
pahimar
c925c45a79 Fixes #795 2015-05-02 20:12:24 -04:00
pahimar
646e74e329 Yay test cases pass successfully! 2015-04-19 15:01:35 -04:00
pahimar
771c930c28 Working on some improvements to the DynEMC system to make it more reliable (and faster). Also added in a test suite system using a specially crafted json file. More user documentation on how to use this to come in the future 2015-04-13 22:27:11 -04:00
pahimar
9801cd639a Finish up the work on the new commands, and lots of other improvements/fixes 2015-02-19 22:09:10 -05:00
pahimar
56c1a56d26 Fix a typo in EnergyValueRegistry, more work on some extra commands, and fix a mistake in calculating a stacks energy value in the tooltip handler 2015-02-19 00:06:18 -05:00
Pahimar
4b4abb84f1 Adding five more commands to simplifying operations involving items 2015-02-18 10:47:59 -05:00
Pahimar
7afcdf8d9a More work on getting the Alchemical Tome working properly 2015-02-18 10:11:06 -05:00
pahimar
584a499892 Fix up the set-energy-value command to read/write files from the proper location 2015-02-13 00:18:01 -05:00
pahimar
4b2d489ba3 Add some null protection to the add/subtract methods in EnergyValue, and fix up the set-energy-value command to read/write files from the proper location 2015-02-13 00:14:57 -05:00
pahimar
334a92e54c Pretty big whack of stuff. Added a TransmutationKnowledgeRegistryProxy for API access to what players and the template know how to transmute. More robust serialization options for the AbilityRegistry. Added the ability to filter a given set of ItemStacks by their display name (starts with and contains). Added the ability to only load in Abilities from file on initial load of of a world (more control for map makers there) 2015-02-10 00:22:39 -05:00
Pahimar
998bd5fe3e When abilities are modified via command, save the change to disk 2015-02-09 21:54:02 -05:00
pahimar
100d2e7208 Add in messages for when a player specified in the command arguments does not exist on the server currently 2015-02-07 17:22:25 -05:00
pahimar
08553d57a8 Commands to set things as being learnable/not-learnable for transmutations, and for allowing/disallowing the recovery of somethings energy value 2015-02-07 12:22:03 -05:00
pahimar
15fded2a64 More command stuff, ugh command stuff... 2015-02-05 23:06:53 -05:00
Pahimar
5c8c98b46d Made player-learn-everything and player-learn-item commands work 2015-02-05 21:57:46 -05:00
Pahimar
f302ac3fcb Made template-learn-everything, template-learn-item, template-forget-everything, template-forget-item work 2015-02-05 21:50:52 -05:00
Pahimar
ca4bef505f Rename method names because OCD 2015-02-05 21:20:27 -05:00
Pahimar
927facc9fa More command auto completion stuff! 2015-02-05 21:03:08 -05:00
Pahimar
0ee0ac5995 Get tab auto completion suggestions working for some more commands 2015-02-05 20:52:12 -05:00
Pahimar
fdd4d6162b Make the template-forget-everything command work 2015-02-05 20:39:33 -05:00
Pahimar
1988ba49c1 More work on commands for the knowledge system 2015-02-05 14:34:22 -05:00
Pahimar
c5b10343b7 Slow morning 2015-02-05 10:15:27 -05:00
Pahimar
0d0fe18a9d Whole whackload of stuff. More to come in the morning Vike 2015-02-04 23:48:07 -05:00
Pahimar
98706387f0 Sure, let's add another command - but this one just uses the item you are currently holding! :) 2014-09-16 15:28:14 -04:00
Pahimar
5066ec80f1 Made the sync threshold configurable (server admins can tune how long clients have to wait before they can sync their energy values with the server again) 2014-09-16 12:53:22 -04:00
Pahimar
b3efb75ef8 Add in a throttle for users syncing values while on a server to prevent massive amounts of network spam 2014-09-16 12:38:28 -04:00
Pahimar
a97fa3fb49 Now when a pre-assigned value is set via command line, the next time the server starts it will regen the values of everything and save the new values to disk (tl;dr - set a pre-assigned value via command and then restart server for the changes to take effect) 2014-09-16 12:08:16 -04:00
Pahimar
b36ea50c70 Reminder to myself in the morning 2014-09-15 23:01:37 -04:00
Pahimar
4b02b80d21 More command work 2014-09-15 16:06:20 -04:00
Pahimar
67c704870e More work on the set-value command 2014-09-11 16:13:39 -04:00
Pahimar
6b66ac8a4f Make adding new commands more extendable in the future 2014-09-10 15:59:33 -04:00
Pahimar
f39b047c0a Unfinished work, nothing to see here, got a baby to feed! 2014-09-09 22:52:46 -04:00
Pahimar
b5974a02b0 Fix a dumb decompilation artifact, I think. 2014-09-09 21:12:59 -04:00
Pahimar
740c60763f Some more work on commands. Not long now and set-energy-value will be working and admins can change values on the fly :) 2014-09-09 15:59:07 -04:00
Pahimar
2eb9e72399 Command stuff 2014-09-08 23:18:16 -04:00
Pahimar
63d6c61007 Beginning work on a /ee3 command. Mostly testing pushing to the new Jenkins 2014-09-04 15:28:43 -04:00
pahimar
4410c25bd6 Don't be scared - it's easier to start from the bottom. There's also still the MC 1.6.4 branch :) 2014-03-28 15:54:15 -04:00
pahimar
9f56070058 First initial pass of 1.7 update 2014-03-27 21:34:47 -04:00
pahimar
71b9d9a184 Optimize some code, and fix up dust stack rendering (colour) once and for all 2014-01-16 11:21:28 -05:00
pahimar
6efe7ebe9a More optimization of the codebase 2014-01-02 16:09:59 -05:00
pahimar
e2378f77b6 Cleaning 2013-12-19 18:41:22 -05:00
pahimar
2a7b760398 Restructuring package structure 2013-12-17 15:48:21 -05:00
pahimar
aeaad5d046 Switched to LF vs CRLF line breaks, and code formatting changes 2013-12-15 20:26:42 -05:00
AbrarSyed
51b756e17a Step 3: The Rebirth 2013-12-13 03:45:03 -06:00
AbrarSyed
1c3041ce5d Step 2: The Reformation 2013-12-13 03:21:58 -06:00