Restructure u_init to allow for inventory rerolling
This doesn't implement inventory rerolling, just adds the infrastructure: it's now possible to call u_init_inventory_attrs multiple times and the starting inventory/attributes replace those from the previous call rather than compounding.
This commit is contained in:
@@ -3304,7 +3304,9 @@ extern void trap_sanity_check(void);
|
||||
|
||||
/* ### u_init.c ### */
|
||||
|
||||
extern void u_init(void);
|
||||
extern void u_init_misc(void);
|
||||
extern void u_init_inventory_attrs(void);
|
||||
extern void u_init_skills_discoveries(void);
|
||||
|
||||
/* ### uhitm.c ### */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user