Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevTest: Formspec tests, children getter, better lighttool #10918

Merged
merged 3 commits into from Mar 16, 2021

Conversation

Wuzzy2
Copy link
Contributor

@Wuzzy2 Wuzzy2 commented Feb 5, 2021

It's a minor improvement for DevTest:

  • Adds more formspec tests for sound styles and model[]
  • Adds a "children getter" tool. This shows the list of objects attached to another object (using get_children)
  • Improvement of the light tool: With the "place" key, you check the light level of the node that you touched. Also displays the pos of the node you just checked. Tooltip was also improved.

To test the children getter, just attach objects to each other, then use the children getter on them.

@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented Feb 5, 2021

I've added the "Node Meta Editor" to DevTest, this is a tool to edit and view node metadata.

@SmallJoker SmallJoker added @ Devtest Game Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements labels Feb 6, 2021
@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented Feb 27, 2021

How about removing metadata fields?

This is done by clearing the value field and then hitting "Set value".

games/devtest/mods/testtools/init.lua Outdated Show resolved Hide resolved
games/devtest/mods/testtools/init.lua Outdated Show resolved Hide resolved
games/devtest/mods/testtools/init.lua Outdated Show resolved Hide resolved
games/devtest/mods/testtools/init.lua Outdated Show resolved Hide resolved
@Wuzzy2
Copy link
Contributor Author

Wuzzy2 commented Mar 2, 2021

All requested updates done!

Copy link
Member

@SmallJoker SmallJoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works (quick test)

@sfan5 sfan5 merged commit 9113538 into minetest:master Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Devtest Game Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements One approval ✅ ◻️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants