Commit graph

19 commits

Author SHA1 Message Date
Nicholas Ignoffo
08258fd6ef Run formatter 2017-08-15 21:30:56 -07:00
Nicholas Ignoffo
554c9852e6 Move commonly used API systems to a plugin based system
Create a class that implements IBloodMagicPlugin and annotate it with
`@BloodMagicPlugin`. The `register` method will be called during init.

Currently implemented systems:
- Blacklisting
  - Teleposer
  - Teleposer (entity)
  - Transposition
  - Well of Suffering
  - Green Grove
- Setting sacrificial values
- Adding altar components
2017-08-15 18:14:28 -07:00
Nicholas Ignoffo
5fcdd978d7 this doesn't compile yet, but have something to peek at 2017-08-14 20:53:46 -07:00
Nicholas Ignoffo
8360041da2 Child mobs are now viable for sacrifice at half the rate
(cherry picked from commit 719cff0)
2017-03-02 16:53:29 -08:00
Nicholas Ignoffo
c13be9ebce Cache the bound SoulNetwork for rituals
Avoids looking up the map data once or more each tick
2017-02-12 17:00:18 -08:00
Nicholas Ignoffo
00d6f8eb46 Initial stab at 1.11
About halfway.
2016-12-12 19:56:37 -08:00
WayofTime
faef980e59 - Made it so peaceful animals provide more LP by default (to encourage creating your own farm).
- Increased the effectiveness of animals for the Gathering of the Forsaken Souls ritual by a factor of 4.
- Added the framework for the Purification Altar.
2016-11-05 11:14:56 -04:00
WayofTime
46a35ac1fb Fixed bad NPE when using the WoS. 2016-07-08 09:19:39 -04:00
Nicholas Ignoffo
7fdbcf3b3c Altar and Dagger should respect 0 LP as an effective blacklist (#837) 2016-07-04 20:17:23 -07:00
Nicholas Ignoffo
f99b21cffc Rewrite LP network data saving system
Instead of creating a new file for each player with their UUID as the name, we create a single file and store it all in a List. That List gets converted to a UUID -> SoulNetwork map when read from the file.

MigrateNetworkDataHandler is used to migrate players from the old system to the new one. It reads both data files and sets the LP of the new network to the LP of the old network (if the old network is larger). Once conversion is done, we delete the old file so that it doesn't happen again and overwrite player progress.

This is an API breaking change due to an import change.
2016-06-12 13:41:02 -07:00
WayofTime
91ddb8b761 A lot more implementation work for custom areas for rituals. 2016-04-11 15:36:27 -04:00
Nick
6c729db70c Initial 1.9 commit
This DOES NOT BUILD. Do not even attempt.

Almost everything has been ported besides the block/item packages. Then it's a matter of testing what broke.
2016-03-17 13:00:46 -07:00
WayofTime
da6f410394 Lots of import rearrangement due to odd "clean up" algorithm. Added Crystals, which are very WIP. 2016-02-25 08:54:18 -05:00
Nick
351aa3e74c Implement Entity blacklist for WoS 2016-01-09 18:05:21 -08:00
WayofTime
14d3a1ec7e Fixed #541
Fixed #542
2016-01-03 08:30:59 -05:00
WayofTime
d5e28038d6 Repriced rituals. 2016-01-02 17:15:33 -05:00
WayofTime
65d75313cb Now causes nausea when passive operations (such as rituals or the Lava Crystal).
Added the Lava crystal model.
2015-12-31 20:47:01 -05:00
WayofTime
6fb409f20f Fixed the Soul Network and made sure the majority of the items worked on it. 2015-12-31 20:10:57 -05:00
WayofTime
9a610cc023 Implemented Well of Suffering. Tweaked AreaDescriptor slightly. 2015-12-31 16:01:47 -05:00