forked from nalc/technic_armor
Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
bri cassa | f19d57f6fc | |
David Leal | e85417b180 | |
Crabman77 | d3e5dadbba |
|
@ -4,7 +4,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@main
|
||||
- name: apt
|
||||
run: sudo apt-get install -y luarocks
|
||||
- name: luacheck install
|
||||
|
|
4
init.lua
4
init.lua
|
@ -137,8 +137,8 @@ for material, m in pairs(materials) do
|
|||
["armor_"..p.place] = math.floor(p.level * m.armor),
|
||||
armor_heal = m.heal,
|
||||
armor_use = m.use,
|
||||
armor_radiation = math.floor(p.radlevel * m.radiation)
|
||||
}
|
||||
},
|
||||
armor_groups = { radiation = math.floor(p.radlevel * m.radiation)},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = name,
|
||||
|
|
Loading…
Reference in New Issue