Retrospectively adding dungeons - is it possible? I would like to add them but they were not there when the map was seeded?
Retrospectively adding dungeons - is it possible?
- yahwho
- Closed
- Thread is marked as Resolved.
-
-
You could...... Blueprint them in?
-
Thanks chaps. Yeah that's what I have been doing to date, I was just hoping I could automate the spawns for people who decide to go off into the world on their own. Oh well there's still ground-based huts for them to find
-
I would suggest making a backup of your world and then changing in the world.db on the worldinfo (or something called like that) table the dungeon entry from false to true.
Never tried it but in theory the chunks not yet generated should contain dungeons after the change. Maybe @red51 could confirm or debunk this theory
-
That's a very good idea!!!
I will wait to see what Red says.
P.s. I still haven't worked out how to give likes, but that reply Min definitely deserves one!
-
Aahh the yahgiggle god powers
-
Okay so I've had some free time to take a look a the database. I really wanted to undo my decision on blocking certain Npc's and dungeons.
I've now managed to retrospectively add both dungeons and Npcs without regenerating the world.
If anyone wants to know how to unblock or block certain Npcs / Dungeons *after* the world is created, open up the games database and check out the table WorldInfo, in there you will find two fields (amongst others): DisableNPCs, and DisabledDungeons, these VARCHARS contain the Strings with the blocked Npcs and Dungeon types.
Simply edit these strings, save changes, and then restart the MySQL service.
I have not 100% tested but I did go into my world and went into a newly generated chunk and I did indeed find a Polar Bear! Which previously was blocked.Update: All tested and working as expected in regards to animals, found some land based dungeons, but nothing subterranean yet. . . I'll keep looking (and updating).
Next will be to retrospectively add caves.
UPDATED: Caves working too!
Many thanks to @Minotorious for the idea!
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!