2593 Commits

Author SHA1 Message Date
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
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
Aaron Suen
8a481eb66e Re-unpack wicker and thatch with rakes 2023-05-08 20:18:00 -04:00
Aaron Suen
f89c213aeb Prevent tools becoming invincible from extreme durability reduction 2023-05-08 20:09:34 -04:00
Aaron Suen
cee7691372 Allow custom tool breakage callbacks
Allow use of custom logic here at time of tool breakage instead of
just breaking to a single itemstack.
2023-05-08 20:09:05 -04:00
Aaron Suen
eaa1f34c3f Fix peat auto-fermenting bug
Peat should never ferment on its own, it should require face
contact with some kind of soil.  Unifying it with tree growth rate
code caused it to ferment on its own because the assumption that
tree roots contain their own soil and base moisture.  Peat should
only have its own moisture but not its own soil.

This also allows peat to be used as an emergency "moist" node on
its own in e.g. skyrealms for cultivating flora, as long as it's
contained so that only its moisture can leak out but it cannot
be exposed to fermenting microorganisms from nearby soil.
2023-05-06 19:48:28 -04:00
Aaron Suen
e75aa98b35 Support inprogress callbacks from recipes too 2023-05-05 21:01:46 -04:00
Aaron Suen
f1f26fee6c Oops, place_as_item is NOT a group 2023-05-05 19:24:26 -04:00
Aaron Suen
87f573b513 plantlike_rooted nodes are NOT breathable for grass survival 2023-05-03 19:55:24 -04:00
Aaron Suen
591dc2c23b Notes check, small hint tweak 2023-04-28 22:00:34 -04:00
Aaron Suen
00a274e763 Fix damage when trying to chop glowing lode in node form
There's now a separate damage_pickup group that only damages you
if you try to actually pick up the thing, not if you try to
punch/pummel it.
2023-04-28 21:17:17 -04:00
Aaron Suen
cfbea05d14 Add braced wooden forms to address an annoyance
When trying to use wooden forms for their "items fall through the
bottom" feature, e.g. for stack hoppers or "laundry chutes",
accidentally putting something like planks or glass into it will
permanently transform it into a storage container that no longer
has the desired property.  Also, forms used in machines will
transform into frames if hit by a door when there's nothing
inside.

Allow players to put a stick inside to "brace" the form to stay
as a form permanently, disabling its use for any other purpose and
preventing other accidental transformations.
2023-04-28 19:56:31 -04:00
Aaron Suen
7b4d953c1f Prevent ticking-automation exploits
The soaking-tickling mechanism was intended only to speed up
otherwise very boring "waiting" gameplay gates in skyblock play,
by allowing players to trade attention for time.  It seems it has
been exploited in vanilla play, though, by triggering the tickling
recipes far faster than they normally should be triggered by
hand, using doors, breaking the time cost balance of things like
leaching or growing trees.

Add a "cuddly" dig group to the hand, and ONLY the hand, and make
the tickling recipes use this group so they only work with the
player's actual hand.

N.B. this group can be used for other pummel recipes in mods,
where a gentler touch is needed that cannot be gotten from a tool
or a machine, such as petting animals.
2023-04-26 07:10:34 -04:00
Aaron Suen
342488e33a Fix translation junk in server logs from update message 2023-04-23 15:37:02 -04:00
Aaron Suen
6d3794efac Retire non-positional sound detection warning
It appears we have always been consistently requesting sounds to
be played with appropriate position, so the failure to play
sound positionally sometimes seems to be an engine bug and outside
of our ability to detect or prevent.
2023-04-23 15:29:07 -04:00
Aaron Suen
dacafd8f13 Retire time-of-day warning/hack
This was supposed to prevent shadows from showing up in certain
pre-release versions of MT before shadows were off by default for
the official release.  It's no longer necessary as shadows are
now properly controlled by the API.
2023-04-22 21:22:31 -04:00