Commit graph

456 commits

Author SHA1 Message Date
Pahimar
a5169dcfd9 Fix corner case where an ItemStack registered in the OreDictionary does not leave the crafting grid, and as such causes massively inflated energy values for items 2015-02-13 22:11:50 -05:00
pahimar
fe3fe11bd1 Correc the case that when an OreDictionary recipe has a recipe input that is an OreDictionary entry that has no ItemStacks registered (ie, the recipe lists copper as an input but no items/blocks are registered as being copper) is added to the RecipeRegistry for consideration in energy value calculations. Prevents ridiculously low energy values from being assigned to items that use OreDictionary recipes. 2015-02-13 12:15:42 -05:00
pahimar
ec3b5e3492 Correct case where the energy value registry wouldn't save itself to disk after it regenned in the active game session 2015-02-13 00:23:35 -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
9776acb87a Simplify saving/loading of energy value files, add in a "static" (energy-values.dat) file, and add in some more trace logging for how long it takes each pass of dynamic value computation 2015-02-12 00:15:45 -05:00
pahimar
0dd84cd8b1 Clean out some localization messages that no longer are used, and move the energy value registry file to a different directory in the data/ directory 2015-02-10 23:38:05 -05:00
pahimar
9f59f238dd Fix a goof where a lot of ItemStack comparator usage got pointed to the slower displayNameComparator (as opposed to the faster baseComparator) 2015-02-10 00:38:29 -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
f58f5462c0 Trying to be smarter about recipes involving items that do not leave the crafting grid 2015-02-09 19:08:40 -05:00
pahimar
e3559098a0 Load and save abilities to disk 2015-02-09 19:08:18 -05:00
pahimar
44f06224cc Merge remote-tracking branch 'origin/master' 2015-02-07 23:13:25 -05:00
pahimar
e8e18fede1 Work on serializing/deserializing abilities to disk (cause why not give map makers more power?) 2015-02-07 23:12:25 -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
dce8ea6af3 Add some NPE protection to saving player data to disk 2015-02-07 13:31:50 -05:00
Pahimar
e9db1db54d Merge remote-tracking branch 'origin/master' 2015-02-07 12:59:21 -05:00
Pahimar
d77ee1bd02 Add some NPE protection to saving player data to disk 2015-02-07 12:59:16 -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
62c9a6e754 Merge remote-tracking branch 'origin/master' 2015-02-07 12:18:03 -05:00
Pahimar
32b111d6dc Add some NPE protection to saving player data to disk 2015-02-07 12:17:58 -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
444a9d6b06 Rename method names because OCD 2015-02-05 21:20:05 -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
292f78ee49 Move the Transmutation Knowledge template file from the playerdata/ directory to the data/ directory (more appropriate to keep non-player data in a non-player data spot) 2015-02-05 20:39:04 -05:00
pahimar
0695041e65 Fixes #762 2015-02-05 16:52:29 -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
4230e77806 Merge remote-tracking branch 'origin/master' 2015-02-02 23:12:29 -05:00
pahimar
de22edc3eb Re-jigging how modders can set things as being learnable/not learnable, and recoverable/not recoverable 2015-02-02 23:12:08 -05:00
Pahimar
383acdc967 Testing abstracting out the release type to build.properties 2015-02-01 22:17:51 -05:00
pahimar
f77b24278a Lots of stuff in various stages of working 2015-01-31 23:47:45 -05:00
pahimar
8c503ffec7 One more changelog CurseForge test 2015-01-30 23:34:44 -05:00
pahimar
80b718db37 Stuff and things 2015-01-29 23:38:10 -05:00
Pahimar
b2581ac65c More incomplete stuff 2015-01-29 22:57:59 -05:00
Pahimar
89c5bf4f33 More incomplete stuff 2015-01-29 10:50:38 -05:00
Pahimar
8671984507 Checking in some progress on a more unified way of serializing data to disk. Should really help in the future. 2015-01-26 23:17:32 -05:00
Pahimar
dc01ec4a91 Won't crash, but definitely not working properly 2015-01-19 11:39:04 -05:00
Pahimar
7cecdce85e Won't crash, but definitely not working properly 2015-01-11 15:36:41 -05:00
pahimar
d33c0acaef Big broken commit with a ton of stuff that got done/started in Newfoundland 2015-01-03 17:53:10 -05:00
Pahimar
1f4395dfe1 Changes to left/right buttons 2014-12-13 10:14:01 -05:00
Pahimar
d60199e0fb Some GUI work. Some things will be broke. 2014-12-09 09:11:31 -05:00
Pahimar
cc39e5f07a Some GUI work. Some things will be broke. 2014-12-08 15:23:27 -05:00
Pahimar
2f9d29d703 Some GUI work 2014-11-21 10:26:12 -05:00