3060 Commits

Author SHA1 Message Date
Aaron Suen
16f4068a14 Fix priv cache aliasing issue
The builtin grant/revoke commands modify the privs table returned
from get_player_privs, which can poison the cache if the priv
modification is later aborted due to an error.  Return a clone of
the privs table instead so that modifications of it don't affect
the cached copy.
2023-10-11 19:47:10 -04:00
Aaron Suen
d9321044bb Excess debugging messages 2023-10-10 00:20:27 -04:00
Aaron Suen
a1bf7ffa6f More issue documentation 2023-10-10 00:13:45 -04:00
Aaron Suen
82c99d6148 YCTIWY markers visually fade with age 2023-10-10 00:06:24 -04:00
Aaron Suen
7490bd5847 Document issue 2023-10-09 23:00:52 -04:00
Aaron Suen
90b0659aa1 Hint for tongs recipe 2023-10-09 22:45:11 -04:00
Aaron Suen
e17d322d85 Fix metallurgy witness in tongs 2023-10-09 22:44:16 -04:00
Aaron Suen
87fc2d586c Witness always works within "touch" range
If the transformation happens at the player's actual
location, they don't have to "see" it if they can "feel"
it.  This fixes witness triggers happening inside the
player's inventory.
2023-10-09 22:43:51 -04:00
Aaron Suen
68ca7ad4c3 Tong cooling/quenching recipes
Note that these are separate from the existing
recipes used elsewhere out of necessity.  Lode
also anneals faster when carried (it's exposed
to more air cooling).
2023-10-09 22:37:50 -04:00
Aaron Suen
8e503c9b93 Tongs recipes 2023-10-09 21:50:14 -04:00
Aaron Suen
4a86163534 Prototype lode tongs
- Pick up and carry hot lode things
- Sane tool wear management

Known Issues:

- No recipes yet
- Glowing things don't anneal/temper when inside
  player inventory
2023-10-09 21:41:08 -04:00
Aaron Suen
3c011361f2 Door node placement honors facedir/4dir 2023-08-18 21:55:08 -04:00
Aaron Suen
37ec4db8d5 Refactor, standardize backstop logic
Door press and plank recipes now share the same
underlying logic for checking for a "backstop".

Refactor the recipe checks a bit more to get rid of
excess structure and named functions.
2023-08-18 21:20:54 -04:00
Aaron Suen
2ac0f3ed1c Merge branch 'dev' into directions 2023-08-18 20:49:57 -04:00
Aaron Suen
8a28ec054e Fix door conveyance node dupe bug
After successfully moving a node, always stop trying
to move that node to another spot, regardless of
whether or not we had any retries to process as a
result.
2023-08-17 20:55:45 -04:00
Aaron Suen
33f2f3ca52 Translation update 2023-08-17 08:21:51 -04:00
Aaron Suen
b1af597b6d Merge branch 'horzyverty' into dev 2023-08-07 21:11:21 -04:00
Jeremy Hussell
152063a034 Make horzy/verty concrete rotatable
Rotate horzy and verty etched concrete around its vertical axis
when it's placed. This only affects the direction of the stripes
on the top and bottom of the blocks. For example, a cross-beam
made of horzy concrete can now have the stripes on the top and
bottom of the beam in the same direction as the stripes on the
sides, or not, as desired, where before the top and bottom stripes
always ran east-west.
2023-08-07 21:10:22 -04:00
Aaron Suen
d1cc4e84e3 Point to NodeCore Matrix space instead of channel 2023-08-06 18:32:12 -04:00
Aaron Suen
9c13ac4366 Don't crash on wielding items without a dig sound 2023-06-22 21:17:38 -04:00
Aaron Suen
dea2432325 Add stasis/quell state to cheat HUD, detect more node types 2023-06-20 08:01:43 -04:00
Aaron Suen
fe0fff33d0 Translation sync 2023-06-20 08:01:20 -04:00
Aaron Suen
39fc1ea626 Support teleporting to offline players
The YCTIWY mod is already keeping track of offline player
positions, so allow admins to use those for teleportation.  This
is sort of like the szutil_offlinepos mod, but as a standard
game feature now.  It can be useful for admins to quickly locate
players who are trapped and need rescue, or suspected of griefing
and need to be confirmed.
2023-06-10 23:01:14 -04:00
Aaron Suen
f0eeddd7ae Add a more poweful anti-fire-grief cheat
Enabling "quell" mode will effectively disable
fire worldwide, similar to how "stasis" works,
making firefighting efforts more efficient.
2023-06-09 21:54:55 -04:00
Aaron Suen
5d8e2d9eb4 Add radius param to some cheats
This should make it easier to snuff mass
fires created by griefers quickly.
2023-06-09 21:45:18 -04:00
Aaron Suen
bd35a4df55 Standardize full protection bypass for automation
Protection mechanics are fully disabled for all actions carried
out by world mechanics itself, including machine digging/placing
and entity/fluid displacement.

This may create new opportunities for players to abuse and bypass
protection mechanics.  This is an acceptable loss; the integrity
of game mechanics is more important, or else players are forced to
remove protections anyway in order to get their builds to actually
work.
2023-06-05 07:20:55 -04:00
Aaron Suen
ff8da32ac8 Merge branch 'master' into dev 2023-06-05 06:55:20 -04:00
Aaron Suen
62189a5aa4 Fix unprotection of bare stack nodes 2023-06-05 06:54:57 -04:00
Aaron Suen
56cbbfcca8 Translation update 2023-06-05 00:00:00 -04:00
Aaron Suen
9674a3cbe8 Fix "not pos" logic for sponge death in storeboxes
Presumably this had to do with tote survival
2023-06-04 21:19:14 -04:00
Aaron Suen
2a6deed2bd Fix sponge case survival inconsistency
Instead of hard-coding for the special glass case, check only open
faces of a storebox if the storebox_sealed group is set, otherwise
keep using the old logic of all directions.

A sponge will survive in a shelf or lode crate as long as no side
is exposed to air.  It will survive in glass cases as long as the
open top is not exposed to air; the sides are not checked.
2023-06-04 21:17:10 -04:00
Aaron Suen
c4db970cfa Revert "Exact sprout selectionbox tweak"
This reverts commit 16ed60d43fdba76d01d5800e561bd0c401085399.

After playing with this for a while, it's too ugly and the sprout
bit itself isn't really tall enough to warrant a tiny extra
selectionbox.  I had done this because the catrealm mod has a
bush stem node that's bigger, and applying it to the bush sprout
was consistent, and thus the eggcorn sprout too ... but maybe
it makes more sense to just exempt the tiny sprouts.
2023-06-01 21:12:25 -04:00
Aaron Suen
f4c89841b6 Merge branch 'master' into dev 2023-05-28 17:56:08 -04:00
Aaron Suen
12666d0417 Merge branch 'fix-texmods' into 'master'
Fix texture modifiers relying on undocumented behavior

See merge request sztest/nodecore!32
2023-05-28 17:52:30 +00:00
Lars Mueller
1c41f117c9 Fix texture modifiers relying on undocumented behavior 2023-05-27 19:24:25 +02:00
Aaron Suen
16ed60d43f Exact sprout selectionbox tweak 2023-05-26 19:21:37 -04:00
Aaron Suen
76715440d5 Allow toolcaps to specify min uses across all groups 2023-05-22 19:45:47 -04:00
Aaron Suen
9c534b5cf5 Rakes don't dig stuff after they're broken
If the rake breaks partway through an area dig operation, don't
continue digging everthing else with the hand, since that can
leave displaced nodes when using higher-tier rakes.
2023-05-22 19:37:52 -04:00
Aaron Suen
0751ed690a Ignore item meta and wear in pummel check
If the tool is being passively recharged (e.g. infusion) during
the pummel process, we don't want it to fail to detect the pummel.
2023-05-22 19:32:51 -04:00
Aaron Suen
49e649349d Flammable eggcorn sprouts, plantlike_rooted ignite API 2023-05-21 19:53:22 -04:00
Aaron Suen
205ff184fa Fix crash on consumewield with door recipe 2023-05-20 09:49:39 -04:00
Aaron Suen
2220666bbf Fix concrete wetting API issues
- Don't actually require the "node" param
- Return true if we actaully wetted the concrete
2023-05-15 20:12:07 -04:00
Aaron Suen
96c3eb8038 Publicize API for wetting concrete nodes
Not doing the equivalent for items yet, as it's a bit more
complicated and sort of overly tied to the AISM API for now.
2023-05-13 22:15:29 -04:00
Aaron Suen
894cfad933 A few more stone tweaks 2023-05-13 15:52:28 -04:00
Aaron Suen
d2ff70c773 Subtle stone texture change
There was an arc of dark pixels that was
triggering my pareidolia and looked like a
handprint.  Break up that, and possibly some
other patterns, and make stone look a bit
smoother and subtler.
2023-05-13 15:26:23 -04:00
Aaron Suen
052c574f82 Translation update 2023-05-12 07:03:02 -04:00
Aaron Suen
7de30c0886 Improved and translatable client version check 2023-05-12 06:58:25 -04:00
Aaron Suen
47bee9dbae Allow "opting out" of specific variants for anvil recipes
When registering anvil recipes, returning no recipe will skip
adding that recipe instead of crashing.
2023-05-11 19:09:35 -04:00
Aaron Suen
1589efd293 Drop support for 5.5- clients as well 2023-05-09 06:48:24 -04:00
Aaron Suen
fa77bd41bc Retire MT 5.5 support 2023-05-09 06:42:36 -04:00