* Fixes Issue #64
Uses a simple boolean setting in default_settings.lua to decide which digiline rules to use in common.lua
* Reviewer Suggestion
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* Changed Code Comment per Reviewer Suggestion
* Removed trailing whitespace from 2 comment lines.
* Modified settings comment per reviewer suggestion
* Changed variable name per reviewer suggestion.
Variable changed from use_default_digilines_rules to enable_vertical_digilines_connectivity.
---------
Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
* add dummy implementations of all current API calls to fake player
* fakeplayer: move all stateless API into a metatable
* correctly set metatable
2023-12-29 14:01:08 -05:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
- i3.settings.hotbar_len and i3.settings.inv_size were removed
in commit 75fddf7 because they are now per-player settings
- This just uses sane defaults when the settings are not
present to avoid a few nils and allow the game to continue
* make it boot in non mtg
* make water flow
* fix water texture warnings
* fix missing steel texture issues
* remove depreciated/unnessary default function calls
* make sounds work
* fix default formspec crashes
* fix wierd tab spacing
* additionally game dig group support
* move crafts to crafts.lua
* make crafts support various games
* Save the fakeplayer's wielded item in set_wielded_item
* pipeworks.luaentity: Return the found objects in get_objects_inside_radius
* Remove the invalid and unused on_blast return values in lua_tube.lua
This should avoid a crash when a strong explosion happens next to a Lua Tube.
* Do not access a global "nodename" in a BUG message.
This avoids a potential crash, in case the message actually appears in practice.
* Set the Flow Sensor and Fountain Head mesecons connection rules
* pipeworks.luaentity: Use the same function for move_to and set_pos
* (no functional change) Do not save the object returned by tube_inject_item into the "item1" local variable in filter-injector.lua