Correct typos and mistakes

gh-pages
rubenwardy 2014-12-31 16:51:24 +00:00
parent 02cda4eb0e
commit 1bf1b61bb3
3 changed files with 12 additions and 4 deletions

View File

@ -45,7 +45,8 @@ Dependencies
The depends text file allows you to specify what mods this mod requires to run, and what
needs to be loaded before this mod.
depends.txt
**depends.txt**
modone
modtwo
modthree?

View File

@ -13,8 +13,13 @@ First of all, what is a drawtype?
A drawtype defines how the node is to be drawn.
A torch looks different to water, water looks different to stone.
The string you use to determine the drawtype in the node definition is the same as
the title of the sections, except in lower case.
* Normal
* Airlike
* Liquid
* FlowingLiquid
* Glasslike
* Glasslike_Framed
* Glasslike_Framed_Optional
@ -142,7 +147,7 @@ minetest.register_node("default:water_source", {
})
{% endhighlight %}
### Flowing Liquids
### FlowingLiquid
See default:water_flowing in the default mod in minetest_game, it is mostly
the same as the above example

View File

@ -44,7 +44,9 @@ Declaring an item as ``:default:dirt`` will override the default:dirt in the def
Textures
--------
Normally textures have a resolution of 16x16, but they can be in the order of 2: 16, 32, 64, 128, etc.
Textures are usually 16 by 16 pixels.
They can be any resolution, but it is recommended that they are in the order of 2 (eg, 16, 32, 64, 128, etc),
as other resolutions may not be supported correctly on older devices.
Textures should be placed in textures/. Their name should match ``modname_itemname.png``.\\
JPEGs are supported, but they do not support transparency and are generally bad quality at low resolutions.
@ -105,7 +107,7 @@ minetest.register_craftitem("mymod:mudpie", {
minetest.chat_send_player(user:get_player_name(), "You ate an alien mud pie!")
-- Support for hunger mods using minetest.register_on_item_eat
for _, callback in pairs(core.registered_on_item_eats) do
for _, callback in pairs(minetest.registered_on_item_eats) do
local result = callback(hp_change, replace_with_item, itemstack, user, pointed_thing)
if result then
return result