Commit graph

73 commits

Author SHA1 Message Date
SenseiKiwi
8dce8c1c26 Renamed all singleton create() to initialize()
Renamed the create() function of DDProperties and DungeonHelper to
initialize(). Why? Because it was bugging me. <.< That is all.
2013-06-16 12:06:21 -04:00
SenseiKiwi
a95b282814 Cleaned references in mod_pocketDim
Cleaned references in mod_pocketDim
2013-06-16 05:18:17 -04:00
SenseiKiwi
f56893018d Changed DungeonHelper into a singleton
Changed DungeonHelper into a singleton. Changed code in other classes to
interface with it properly.
2013-06-16 01:00:05 -04:00
SenseiKiwi
86f0cd7d21 Improved DungeonHelper.registerCustomDungeon()
Changed the function to use a Hashtable mapping dungeon types to their
respective lists so that it wouldn't be necessary to hardcode a
condition for each type. The code is much shorter now and we can add new
types with ease. The next stage will be to remove
weightedDungeonGetList, if possible, so that we don't have to construct
a list with duplicates just to have weights. The loop that repeatedly
inserted dungeons into that list has been removed anyway, but it
shouldn't affect anything since custom dungeon integration was broken
and weights were being ignored.
2013-06-15 11:21:49 -04:00
SenseiKiwi
1e2dedaafe Overhauling DungeonHelper
I changed the name filter for schematic names from
CommandEndDungeonCreation to DungeonHelper, and renamed it to
NamePattern. I also rewrote most of registerCustomDungeon() to be much
more concise. The changes are incomplete but I'm making an intermediate
commit. The aim is to change DungeonHelper into a proper singleton and
to eliminate the clunky sections that manually map dungeon categories to
their corresponding lists. Instead, I'll use data structures to
implement that far more efficiently.
2013-06-15 10:25:50 -04:00
SenseiKiwi
03d60dc07d Fixed bug in DDLoot, delayed loot generation
Changed DDLoot to use the correct item IDs when adding DD items to
chests. Moved loot chest registration from init() to postInit() in the
hopes that we'll be able to catch the loot of other mods that also hook
into Vanilla chests.
2013-06-15 01:58:53 -04:00
SenseiKiwi
b1130d0cc6 Overhauled loot generation
Dimensional dungeon loot chests are now registered with Forge. Other
mods can tap into our chests and our own generation is cleaner. The list
of items in our chests is generated in DDLoot.
2013-06-14 15:22:22 -04:00
StevenRS11
69cfc1369c release canidate 2013-06-14 03:17:23 -04:00
StevenRS11
078ee999be Merging changes 2013-06-14 01:53:30 -04:00
SenseiKiwi
b11354767d Overhauled configuration properties
Moved all configuration variables from mod_pocketDim to DDProperties
(formerly DimDoorsConfig). Changed property names to be clearer in
config file, modified some comments, and generally cleaned up the config
file. Fixed some missing properties and variables that were reading from
the wrong properties. Modified the order in which mod_pocketDim
instantiated some of its static fields so that they would load after
properties are read. Almost all classes load after properties are read.
Fixed indentation across various files and replaced references to
properties in mod_pocketDim with references to DDProperties.
2013-06-13 19:01:54 -04:00
StevenRS11
ebf35a056a Release canidate 2013-06-13 16:44:17 -04:00
SenseiKiwi
9c3067ed35 Renamed DimDoorsConfig to DDProperties
Renamed DimDoorsConfig to DDProperties
2013-06-13 00:48:21 -04:00
SenseiKiwi
e4c8b50dae Changed some configuration features
Added flag for disabling whether Stabilized Rift Signatures are
craftable. Autocorrected indentation in some areas. Renamed some
property keys in the config file, but the naming is inconsistent. Will
return soon to make all names consistent. Property values should be
removed from mod_pocketDim and moved to a file, e.g. DDProperties.
Configuration should either be loaded directly into the value variables
or be kept as a separate file, e.g. DDConfiguration. I favor for
integrating configuration reading into the same file as the values and
not declaring Property variables at all.
2013-06-12 23:30:13 -04:00
SenseiKiwi
2990e393e8 Merge remote-tracking branch 'upstream/master' 2013-06-12 21:48:49 -04:00
StevenRS11
e531c1e301 derptityderp 2013-06-12 19:05:46 -04:00
StevenRS11
38df0b225e derp 2013-06-12 18:00:00 -04:00
StevenRS11
b388a00e05 redid commands, added more rotation support. 2013-06-12 17:59:34 -04:00
SenseiKiwi
d54b7c287f another silly commit
another silly commit
2013-06-12 03:36:56 -04:00
SenseiKiwi
9db478fcc7 silly commit for testing purposes
silly commit for testing purposes
2013-06-12 03:28:57 -04:00
SenseiKiwi
a8d4c66ecb pruned imports in mod_pocketDim
pruned imports in mod_pocketDim
2013-06-12 03:08:34 -04:00
StevenRS11
bd1c1d0118 finished update, starting testing builds 2013-06-10 17:03:52 -04:00
StevenRS11
fa15c13d37 finished dungeon export basic implementation 2013-06-09 17:23:36 -04:00
StevenRS11
4858a69be5 Export function added 2013-06-04 08:52:06 -04:00
StevenRS11
b97eab46b5 rebuilt how rifts get dungeon data assigned to them 2013-06-03 20:56:15 -04:00
StevenRS11
a8ac17f81b fixed dungeon gen 2013-06-02 23:49:47 -04:00
StevenRS11
004d06ab7d more work on import 2013-06-02 09:57:05 -04:00
StevenRS11
c16dd49a18 changed import function 2013-06-02 01:46:31 -04:00
StevenRS11
27c073f75d .schematic importer finished 2013-06-01 21:43:56 -04:00
StevenRS11
6a95c9eb33 respawn handler and config changes 2013-05-31 02:17:05 -04:00
StevenRS11
6dcbc100ed fixed servercrash 2013-05-30 14:32:19 -04:00
StevenRS11
364241a162 finished mob (I think) 2013-05-30 02:30:17 -04:00
StevenRS11
602eb4bcff more mob tweaks, texture tweaks 2013-05-29 14:45:14 -04:00
StevenRS11
8365d4353f added dungeon to dimData, spawn fixes for monolit 2013-05-28 17:15:40 -04:00
StevenRS11
ceac1e0d3b soundtest 2013-05-28 00:02:33 -04:00
StevenRS11
9ad4dda324 finished sounds 2013-05-27 22:45:21 -04:00
StevenRS11
1233e2a040 mob is coming!! 2013-05-27 08:10:07 -04:00
StevenRS11
5b61f6435d removed dev mob 2013-05-26 20:01:44 -04:00
StevenRS11
6407b1be71 fixed rift sig depth
adding mob

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-20 19:07:13 -04:00
StevenRS11
5682e3fc30 Working with biomes and such, trying to prevent crazy mob spawns
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-10 16:05:11 -04:00
StevenRS11
871634c772 updated build info
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-05-09 17:21:21 -04:00
brikeener
8cfb157699 Updated to 1.5.2, Forge build 688 2013-05-08 16:29:01 -04:00
StevenRS11
89ed9dce94 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-05-04 14:54:54 -04:00
StevenRS11
3a1e430707 fixed default up dungeon schematic name
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-30 22:09:20 -04:00
StevenRS11
c3fda5abff release canidate for 1.5.1- fixed rift render bug, and dimension exit rift handling improved
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-29 19:03:38 -04:00
StevenRS11
988ba51b78 fixed random dim stuff when dungeons are generated
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-17 16:26:39 -04:00
StevenRS11
be459b62b3 fixed dimHatch bug
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-17 15:59:15 -04:00
StevenRS11
3579070eb9 Moved file structure around a bit, and added stabilized rift sig
fixed XP bug moving through doors
made items shut doors again

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-16 20:48:49 -04:00
StevenRS11
25754d7137 Signed-off-by: StevenRS11 <stevenrs11@aol.com> 2013-04-13 21:19:34 -04:00
StevenRS11
f816e96bdb moved rift sigs over to use nbt data
fixed limbo inventory issues
changed rift generation on dim door placement

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-13 21:15:06 -04:00
StevenRS11
2d6d430277 Doors dont close on items, have short cooldown
readded decay and rift regen

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
2013-04-07 02:33:11 -04:00