Dehardcode minefill
Instead of hardcoding the minefill levels in the core, allow defining fill levels for a dungeon branch in the dungeon.lua
This commit is contained in:
@@ -685,8 +685,8 @@ makelevel()
|
||||
} else if (g.dungeons[u.uz.dnum].proto[0]) {
|
||||
makemaz("");
|
||||
return;
|
||||
} else if (In_mines(&u.uz)) {
|
||||
makemaz("minefill");
|
||||
} else if (g.dungeons[u.uz.dnum].fill_lvl[0]) {
|
||||
makemaz(g.dungeons[u.uz.dnum].fill_lvl);
|
||||
return;
|
||||
} else if (In_quest(&u.uz)) {
|
||||
char fillname[9];
|
||||
|
||||
Reference in New Issue
Block a user