Add files via upload

master
AiTechEye 2021-02-09 17:51:21 +01:00 committed by GitHub
parent 7569ef16f8
commit 65eecb7880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -144,6 +144,16 @@ depends = player_style
on_step=function(self,player,dtime) -- on global step
})
player_style.register_manual_page({ -- adds an manual page
name = "Name", -- required, showed in the list
text = "information", -- required, text or formspec text
tags = {"default:dirt","default:dirt_with_grass","snowy"} -- used when looking for page content, when the player is looking at a node, object or wieldied item
label = "Page label", -- adds a label to the page
action=function(player) -- called when the page will be viewed
end,
})
Armor ##########################################################
depends = armor