mt-mods / mt-mods/technic

Allow per player creative mode checks

Open
#268 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement Good first issue
Dominant language
Lua
Stars
23
Forks
33
PR merge metrics
No merged PRs in 30d

Description

From issue #267

Allow using per player check for all creative mode checks.

Technic minimum required engine version is 5.0 and this API function is only available in 5.3 so make it use minetest.is_creative_enabled(name) only if it is available.

Also technic.creative_mode probably can't be simply changed to be API function as this will break checks in many other mods, Technic mod should probably still have its own wrapper for creative mode checks for compatibility.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #267 and locating Technic's creative-mode checks and the existing technic.creative_mode compatibility surface. Check how the project supports Minetest engine versions before using minetest.is_creative_enabled(name). Done means per-player checks work where the API is available without breaking existing checks in other mods.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.