Commit graph

425 commits

Author SHA1 Message Date
Pahimar
1cceeeefc2 More NPE protection in the NEI CalcinationHandler 2015-02-21 18:50:54 -05:00
pahimar
9f7158af90 NPE protection for hasEnergyValue and getEnergyValue. Should resolve #758 and #771 2015-02-21 08:07:17 -05:00
pahimar
9af3d8d29a Localize help messages in the Alchemical Tome for when a player doesn't know any transmutations, and remove the WIP from the item 2015-02-20 22:51:58 -05:00
pahimar
6fb6bd98a1 Add in some protection for itemstacks that do not have a valid icon for the meta value on the itemstack. Also add in page numbers for the Alchemical Tome and some help text (to be localized later) for when a player knows no transmutations 2015-02-20 22:47:28 -05:00
Pahimar
c0cc0c4154 Search bar is working, small rendering bug dealing with AIOOB errors with certain ItemStacks that still needs resolving however 2015-02-20 18:51:43 -05:00
pahimar
c9ec087253 Getting close to properly working previous/next page buttons for the Alchemical Tome. Also a partially working search bar for the tome as well. More styling and polish required, as well as some bug still exist that will crash your client. 2015-02-20 13:45:41 -05:00
pahimar
ab1118b88a Update the repackaged CoFHLib pieces, and some more work on the Alchemical Tome inventory to get the GUI elements working as you would expect 2015-02-19 23:54:28 -05: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
88b7c26756 More work on getting the Alchemical Tome working properly 2015-02-17 21:10:41 -05:00
pahimar
051fc7f929 Hunk of stuff in various states of things 2015-02-17 20:05:18 -05:00
pahimar
7c07144237 Get the Research Station learning things for players again 2015-02-16 13:09:03 -05:00
pahimar
f174d1d6e7 Working on resolving an issue where the energy value registry is not working properly when mods are removed after values are genned 2015-02-15 21:13:35 -05:00
Pahimar
0e3c064b89 Fix a bug in shift clicking that if one item has NBT but the other does not (but they share the same item id and meta), that they were considered equal (when they obviously are not) 2015-02-13 22:47:19 -05:00
Pahimar
76460a75d5 Change up some logging messages for DynamicEV (tells you more what it's doing), and fixed the generation of the abilities files/directories for saving ability related configs to disk 2015-02-13 22:42:28 -05:00
Pahimar
faf8012abc Switch DynEV logging of the various passes from TRACE to INFO (not many servers will be on TRACE level logging and its not a lot of logging entries) 2015-02-13 22:12:45 -05:00
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