added crude menu icon, added awards submodule, added wbg_awards for registering our own because the defaults are a bit strange
parent
0fecd7a1c5
commit
370949d1f4
|
@ -76,3 +76,6 @@
|
||||||
[submodule "mods/BBQ"]
|
[submodule "mods/BBQ"]
|
||||||
path = mods/BBQ
|
path = mods/BBQ
|
||||||
url = https://github.com/Grizzly-Adam/BBQ.git
|
url = https://github.com/Grizzly-Adam/BBQ.git
|
||||||
|
[submodule "mods/awards"]
|
||||||
|
path = mods/awards
|
||||||
|
url = https://github.com/rubenwardy/awards.git
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
|
@ -29,3 +29,5 @@ radiant_damage_mese_interval = 5
|
||||||
protector_radius = 20
|
protector_radius = 20
|
||||||
protector_spawn = 30
|
protector_spawn = 30
|
||||||
protector_night_pvp = true
|
protector_night_pvp = true
|
||||||
|
|
||||||
|
awards.add_defaults = false
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 4e8d17571413f1d712b8dc69591a485b97f6214e
|
|
@ -0,0 +1 @@
|
||||||
|
*.lua
|
|
@ -0,0 +1,35 @@
|
||||||
|
S = awards.gettext
|
||||||
|
|
||||||
|
if minetest.get_modpath "fire"
|
||||||
|
awards.register_award "awards_pyro", {
|
||||||
|
title: S "Pyromaniac"
|
||||||
|
description: S "Craft 8 times flint and steel."
|
||||||
|
icon: "awards_pyromaniac.png"
|
||||||
|
trigger: {
|
||||||
|
type: "craft"
|
||||||
|
item: "fire:flint_and_steel"
|
||||||
|
target: 8
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if minetest.settings\get_bool("disable_fire") ~= true
|
||||||
|
awards.register_award "awards_firefighter", {
|
||||||
|
title: S "Firefighter"
|
||||||
|
description: S "Put out 1000 fires."
|
||||||
|
icon: "awards_firefighter.png"
|
||||||
|
trigger: {
|
||||||
|
type: "dig"
|
||||||
|
node: "fire:basic_flame"
|
||||||
|
target: 1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
-- Burned to death
|
||||||
|
awards.register_award "award_burn", {
|
||||||
|
title: S "You're a witch!"
|
||||||
|
description: S "Burn to death in a fire."
|
||||||
|
secret: true
|
||||||
|
}
|
||||||
|
awards.register_on_death (player,data)->
|
||||||
|
pos = player\get_pos!
|
||||||
|
if pos and minetest.find_node_near(pos, 2, "fire:basic_flame") ~= nil then
|
||||||
|
return "award_burn"
|
||||||
|
return nil
|
|
@ -0,0 +1,3 @@
|
||||||
|
name = wbg_awards
|
||||||
|
depends = awards
|
||||||
|
|
Loading…
Reference in New Issue