Commit Graph

9 Commits

Author SHA1 Message Date
HybridDog 01cd7c8e5b New nether guide
* Remove code which uses the font size setting to position text and images. Instead use Minetest's hypertext formspec element
* Rewrite many parts of the guide contents, e.g. "you" -> "we", more detailed portal description
* Add a setting to permit viewing it in the overworld (enabled by default)
* Update the Readme

I have set the font size to 24, which works well for me on a 1920x1080 screen with somewhat high DPI. The text written in hypertext apparently ignores the Minetest font size setting, so it may look bad on different screens.
2022-08-19 18:14:44 +02:00
HybridDog c35d18a519 Fix some deprecation warnings 2021-12-22 18:46:56 +01:00
HybridDog fb1eca6c11 Add .luacheckrc and do some code fixes 2021-12-22 18:46:52 +01:00
DS-Minetest 6e2ffa04ea guide: fix portal indrigents 2017-12-31 22:02:22 +01:00
Megaf acdf694356 Fixes https://github.com/HybridDog/nether-pack/issues/6
```
Use:
local tab = minetest.wrap_text(content, guide_size.fx, true)
Needs 3rd argument 'true' to ensure 'tab' is a table.
See 649eef9e4f/builtin/common/misc_helpers.lua (L311)
```
2017-12-25 20:48:41 +01:00
DS-Minetest e8a666f34e replace deprecated setting methods 2017-07-05 18:52:46 +02:00
DS a7da195aa1 fix a crash caused by the none existing minetest.splittext function
It was replaced with minetest.wrap_text. Hopefully that won't make problems.
2017-07-05 18:38:38 +02:00
ObaniGemini 3ba23a4c88 New nether guide Much better formspecs based on original code Reworked many sentences 2016-05-04 18:11:02 +02:00
HybridDog 7c75dafcdb at least a bit history 2015-02-18 18:34:03 +01:00