1950 Commits

Author SHA1 Message Date
Aaron Suen
0f8459c1c7 Fix code formatting issue 2020-09-12 16:30:15 -04:00
Aaron Suen
7ceb716473 Finished node rad emit/absorb
Lux things outside the player now
emit/absorb/scatter radiation, and can
also wash away radiation damage.

Remaining to do: player inventory
2020-09-12 16:27:15 -04:00
Aaron Suen
e6bd880528 Start work on redoing lux radiation logicUse a more direct, straightforward approach tolux radiation. Perhaps allow exposure to be morestochastic and less "smoothed". Offer more directand varied effects from sheilding.The end goal is to make radiation a significant force,but easily, and as intuitively as possible,manageable. 2020-09-12 12:10:18 -04:00
Aaron Suen
2d78f30c11 Add just one more paranoia check 2020-09-11 22:58:34 -04:00
Aaron Suen
4f3f6066c2 Prevent hot potato item moving exploit
Certain items, e.g. heated lode, were meant not to
be carryable so that players would need to plan
certain constructions properly.  The "hot potato"
feature was added to achieve this, and I had
assumed that players would eventually find it
sufficiently frustrating that they would stop and try
to figure out how to do things properly.  This has
not worked out, and players working at a forge
spend a lot of their time fiddling with hot things
trying to randomly throw it into the right spot.

This change should make it more difficult for
players to manipulate the "hot potato" item
physics to move items that shouldn't be movable
by hand once heated.  Problems involving heated
item placement need to be solved through proper
furnace design, not workarounds.  As a bonus, it's
now also harder to accidentally hot-potato your
items into places it's hard to get them out of.

At some point in the future, we will probably be
adding tongs to provide a proper way to move
these items, once players have reached the
proper tech level.
2020-09-11 22:57:33 -04:00
Aaron Suen
761753d5dc Simplify water names 2020-09-11 19:48:42 -04:00
Aaron Suen
80ad330a15 Touchtips for fluids above nodes 2020-09-11 19:23:35 -04:00
Aaron Suen
ae74e4f546 Complete basic hint audit of all mods 2020-09-11 17:20:21 -04:00
Aaron Suen
859a57c572 Partial translation update 2020-09-11 01:26:23 -04:00
Aaron Suen
de87702497 Door crafting hints and witnessing 2020-09-11 01:08:20 -04:00
Aaron Suen
ce4a77ab79 Concrete hints 2020-09-11 00:29:58 -04:00
Aaron Suen
d712ad3668 Stone brick hints 2020-09-10 23:21:36 -04:00
Aaron Suen
85e695907e Update Kimapr license email 2020-09-10 22:46:20 -04:00
Aaron Suen
24953aafe6 Almost completely opaque pumwater inside 2020-09-10 22:39:51 -04:00
Aaron Suen
efa2446e42 Add hints for player mods 2020-09-10 22:28:25 -04:00
Aaron Suen
15ae43c7a6 Extra debugging on inv rearrangement 2020-09-10 22:12:24 -04:00
Aaron Suen
7b6abce986 Fix fire ignition ABM
We were using the igniter's position instead of the
flammable's to check if the flammable had already
been tested, which caused fire not to spread fully
though large blocks of contiguous flammables, and
biased the direction of fire spread where it did.

Thanks to Elon_Satoshi a.k.a. Copenhagen_Bram for
discovering, reporting, and helping to confirm that
this bug had a long history.
2020-09-09 21:59:49 -04:00
Aaron Suen
be3ac536cf Typo 2020-09-09 21:32:20 -04:00
Aaron Suen
46f1682600 Attempted fire ignition rework
- Add debug logging
- Raise the ignition check limit to 250%
- Atomic ignition queue management, to ensure that
  there's no chance of things getting "stuck" in the
  blacklist due to partial queue resets
2020-09-09 21:31:46 -04:00
Aaron Suen
6d39ebb77d Fix dynamic light DNT conversion 2020-09-09 10:15:48 -04:00
Aaron Suen
d95e7bb714 Disable timer-based light check for now 2020-09-09 10:00:13 -04:00
Aaron Suen
0a8583d4a5 Fix on_timer trap hook 2020-09-09 09:56:50 -04:00
Aaron Suen
8624ee3a89 Fix lux rake durability issues 2020-09-08 21:23:03 -04:00
Aaron Suen
e62f49afd3 Merge in external notes. 2020-09-08 11:11:36 -04:00
Aaron Suen
81c11183d2 Clarify the "already added" non-idea. 2020-09-08 09:47:52 -04:00
Aaron Suen
742c037874 Update notes. 2020-09-08 09:28:00 -04:00
Aaron Suen
90fbdabdf2 Redo pickup interceptor using base metatables
The new method of intercepting item addition into
player inventories hooks into the base metatables for
the userdata types only once per type, instead of
trying to substitute every inventory object with a
table (which crashed some things) and does a lookup
to find the player per inv.  This should hopefully be
more reliable, and avoid some of the leaks to
rearrangement we had before.

If we can finally stop hitting the player inv rearrange
safety net then it can be removed.
2020-09-08 09:24:45 -04:00
Aaron Suen
d448a8ae98 Revert a possible broken perf optimization
The use of hash instead of string for pos was causing
a bug in doors some time ago where doors would
randomly fail to fire ... and then now we're seeing
reports of fire that refuses to ignite for some specific
planks...
2020-09-07 23:35:13 -04:00
Aaron Suen
eea966ff5d Fix some fenceposts 2020-09-07 23:32:13 -04:00
Aaron Suen
d18eaf23fb Warn about missing mux for each node name 2020-09-07 23:23:20 -04:00
Aaron Suen
1b33ccb431 XD 2020-09-07 21:55:41 -04:00
Aaron Suen
4da3d92757 Fix pumice melt antigravity bug 2020-09-07 21:34:36 -04:00
Aaron Suen
e2fe637ca4 Remove debug code 2020-09-07 15:28:00 -04:00
Aaron Suen
c47008bc44 Door presses can now place nodes and craft
Thanks to Kimapr for the basic approach, and proving
the concept.

Doors pressing a single-item stack now place that
item as a node, and trigger placement recipes.  Doors
pressing nodes that don't have a single item stack
node form (sticks, leaves) also trigger placement
craft recipes.

All craft pressing recipes require some form of
backstop to provide pressure.
2020-09-07 10:53:51 -04:00
Aaron Suen
2f730e0c68 Fix the "light a torch" hint 2020-09-06 18:10:07 -04:00
Aaron Suen
d347f31f6a Close an issue 2020-09-06 17:50:04 -04:00
Aaron Suen
3915426d7b Add exclusive use for infused rake
Recalculate rake function based on update tool
capabilities so rakes can work on pumice now, and
theoretically even a future snappy=3 material.
2020-09-06 17:48:47 -04:00
Aaron Suen
6e9865487c Initial lux rakes
Operation on existing loose/snappy/crumbly stuff
is acceptable.  TBD is operation on pumice.
2020-09-06 17:25:03 -04:00
Aaron Suen
35c800d942 Make pumice snappy=2
Paving the way for infused rakes that can clean
up more extensive messes...
2020-09-06 17:09:43 -04:00
Aaron Suen
1632b6352a Revert "Appease 5.4-dev texture_alpha warnings"
This reverts commit 253c2282917ecade5b8356d592edab40b1d517f5.

Apparently this warning is full of crap.  Explicitly
setting use_texture_alpha in the node def does
something DIFFERENT than what the engine says
it's doing enabling it internally.  use_texture_alpha
enables alpha BLENDING, which is what we
don't want with interpolation filters, whereas
leaving it off enables alpha THRESHOLDING which
is exactly what we want.
2020-09-05 23:46:44 -04:00
Aaron Suen
fd0d7161ce Break tote mod into multiple files 2020-09-05 23:03:56 -04:00
Aaron Suen
95d0368f46 Tree and writing hints 2020-09-05 21:51:10 -04:00
Aaron Suen
8fd659068d Fix drop-all repetition guard hook 2020-09-05 20:43:12 -04:00
Aaron Suen
05d985c635 Expand hint system a bit
- Add reset command
- Reset alerts on resetting state
- Add option to hide hints
- Add option to add custom hint attrs
- Add option to pass in an already-fully-formed
  hint object and skip construction helpers
- Tidy up terrain hints a bit
2020-09-05 16:08:17 -04:00
Aaron Suen
065bef313c Remove retired virtual item icons 2020-09-05 09:33:20 -04:00
Aaron Suen
d224f94e40 Merge branch 'luxbuff' into dev 2020-09-05 09:32:29 -04:00
Aaron Suen
94440b3912 Add a HUD for incident radiation 2020-09-05 09:32:02 -04:00
Aaron Suen
66d1a5fe34 Buff lux exposure rate even more 2020-09-05 09:16:39 -04:00
Aaron Suen
d35819b9af Merge branch 'dev' into luxbuff 2020-09-05 08:59:37 -04:00
Aaron Suen
8324abfab9 "Dev Version" = "Dev/CDB Version"
ContentDB's .gitattributes export-subst support
has been broken for a while now, and apparently
won't be fixed (it's depending on an upstream
that is similarly ignoring the issue).

We need to account for the fact that what looks
like a dev version might actually be a CDB
version that's simply not tagged right.
2020-09-05 08:44:09 -04:00