11 Commits

Author SHA1 Message Date
Aaron Suen
3ca928f087 Fix dais saving, increase default interval
- Add better debug logging
- Don't choke on stacks of multiple items
2022-02-17 23:39:36 -05:00
Aaron Suen
1035c7aac4 Full dais validation
If the dais is not correctly registered or the structure
of it is invalid (missing/excess frames/cores/etc)
then the dais will not save, will be marked as
"broken" and this will be displayed to the user.

This should never happen in normal legit usage, but
this guards against e.g. worldedit shenanigans.
2022-01-30 10:40:44 -05:00
Aaron Suen
f734a44c7e Limited validation, display metadata
- If dais core location doesn't match registered one
  then don't operate, to protect against multiple daises
  having been created in a single world.
- Display last and (if possible) next save time in looktip.

N.B. nodecore.dnt_get is in dev only as of now.
2022-01-30 10:09:36 -05:00
Aaron Suen
a2a21382e5 New dais recipe
This recipe uses a solid cobble platform, so it
should help players remember to countersink
if they want the dais to be flush with the
floor.  It's also easier to make underground,
since the bottom layer only needs to be
cobbled but mostly not excavated.
2021-03-06 22:23:02 -05:00
Aaron Suen
a8321a4dd1 Summoning refinements / QOL easing
- Allow "air equivalent" nodes (e.g. scaling
  and light sources) in the target area.  Players
  can now use torches during summon.
- Summon "sparkles" emit light to help player
  navigate to an exit.
2020-05-31 16:08:35 -04:00
Aaron Suen
be3fa4a390 Don't return eggcorns upon banishment
- This cleans up some issues caused by using admin
  commands to summon, then banish, and ending up
  with eggcorns as a result.
- This cleans up the temporary plantlike eggcorn node
  placement appearance that hasn't been an issue for
  a year EXCEPT because of this mod.
- This just imposes a very conservative fee on the cost
  of moving a dais around, when used by a player.
2020-05-31 15:57:25 -04:00
Aaron Suen
beb4549ff6 Add banish crafting recipe. 2020-02-15 15:55:26 -05:00
Aaron Suen
bf51527dc7 Major refactor, add admin commands. 2019-12-05 06:56:53 -05:00
Aaron Suen
91a294a695 Add an intermediate step to summoning.
Once the space is reserved, all players must evacuate
the path of the incoming dais before it will solidify.  This
gives players an opportunity to avoid getting trapped.
2019-12-04 19:23:28 -05:00
Aaron Suen
aa051f0bd4 Code quality audit. 2019-09-01 12:30:25 -04:00
Aaron Suen
e4441ff91f Initial import of working mod. 2019-08-28 06:50:56 -04:00