Compare commits
10 Commits
0cf1e51d98
...
5dcbaa43dd
Author | SHA1 | Date | |
---|---|---|---|
|
5dcbaa43dd | ||
|
cd23f285cb | ||
|
2ed4db204b | ||
|
d3948df66b | ||
|
31198c20a1 | ||
|
ab408a4e78 | ||
|
0f3318ce0e | ||
|
692b57a29d | ||
|
1062c7620f | ||
|
6f91c379a6 |
2
.mailmap
Normal file
2
.mailmap
Normal file
@ -0,0 +1,2 @@
|
||||
Wuzzy <Wuzzy@disroot.org> <Wuzzy2@mail.ru>
|
||||
Wuzzy <Wuzzy@disroot.org> <almikes@aol.com>
|
@ -1,5 +1,5 @@
|
||||
# Pep: Player Effects Potions
|
||||
Version 1.4.0
|
||||
# Pep: Player Effect Potions
|
||||
Version 1.5.0
|
||||
|
||||
## Introduction
|
||||
This little mod adds some simple potions which add temporary effects when consumed.
|
||||
@ -13,7 +13,7 @@ All crafting recipes are shapeless.
|
||||
### Breath
|
||||
#### Air potion
|
||||
Gives you breath underwater for 30s.
|
||||
Craft: 8 papyri, 1 glass bottle.
|
||||
Craft: 1 cyan coral, 1 green coral, 1 pink coral, 1 glass bottle.
|
||||
|
||||
All 8 papyri must occupy one slot.
|
||||
|
||||
@ -70,7 +70,7 @@ Craft: 2 dry shrubs, 1 cotton seed, 1 mese crystal fragment, 1 glass bottle.
|
||||
|
||||
#### Strong mana potion
|
||||
Increases mana regeneration rate by 1 for 10 seconds.
|
||||
Craft: 4 dry shrubs, 1 jungle sapling, 1 acacia tree sapling, 1 mese crystal fragment, 1 weak mana potion.
|
||||
Craft: 4 dry shrubs, 1 jungle sapling, 1 marram grass, 1 mese crystal fragment, 1 weak mana potion.
|
||||
|
||||
### Other potions
|
||||
#### Mole potion
|
||||
|
@ -1,8 +0,0 @@
|
||||
playereffects
|
||||
playerphysics?
|
||||
default?
|
||||
vessels?
|
||||
flowers?
|
||||
farming?
|
||||
mana?
|
||||
intllib?
|
@ -1 +0,0 @@
|
||||
Adds potions with temporary player effects.
|
22
init.lua
22
init.lua
@ -1,10 +1,4 @@
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
local S = minetest.get_translator("pep")
|
||||
local ppa = minetest.get_modpath("playerphysics")
|
||||
|
||||
pep = {}
|
||||
@ -23,7 +17,7 @@ function pep.register_potion(potiondef)
|
||||
end
|
||||
end
|
||||
minetest.register_craftitem("pep:"..potiondef.basename, {
|
||||
description = string.format(S("Glass Bottle (%s)"), potiondef.contentstring),
|
||||
description = S("Glass Bottle (@1)", potiondef.contentstring),
|
||||
_doc_items_longdesc = potiondef.longdesc,
|
||||
_doc_items_usagehelp = S("Hold it in your hand, then left-click to drink it."),
|
||||
inventory_image = "pep_"..potiondef.basename..".png",
|
||||
@ -62,12 +56,9 @@ end
|
||||
function pep.moledig(playername)
|
||||
local player = minetest.get_player_by_name(playername)
|
||||
|
||||
local yaw = player:get_look_yaw()
|
||||
-- fix stupid oddity of Minetest, adding pi/2 to the actual player's look yaw...
|
||||
-- TODO: Remove this code as soon as Minetest fixes this.
|
||||
yaw = yaw - math.pi/2
|
||||
local yaw = player:get_look_horizontal()
|
||||
|
||||
local pos = vector.round(player:getpos())
|
||||
local pos = vector.round(player:get_pos())
|
||||
|
||||
local v = pep.yaw_to_vector(yaw)
|
||||
|
||||
@ -353,8 +344,7 @@ if(minetest.get_modpath("default")~=nil) then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "pep:breath",
|
||||
recipe = { "default:papyrus", "default:papyrus", "default:papyrus", "default:papyrus",
|
||||
"default:papyrus", "default:papyrus", "default:papyrus", "default:papyrus", "vessels:glass_bottle" }
|
||||
recipe = { "default:coral_cyan", "default:coral_green", "default:coral_pink", "vessels:glass_bottle" }
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
@ -402,7 +392,7 @@ if(minetest.get_modpath("default")~=nil) then
|
||||
type = "shapeless",
|
||||
output = "pep:manaregen2",
|
||||
recipe = { "default:dry_shrub", "default:dry_shrub", "default:dry_shrub", "default:dry_shrub", "default:junglesapling",
|
||||
"default:acacia_sapling", "default:mese_crystal_fragment", "pep:manaregen" }
|
||||
"default:marram_grass_1", "default:mese_crystal_fragment", "pep:manaregen" }
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -1,45 +0,0 @@
|
||||
Air Potion = Lufttrank
|
||||
Drinking it gives you breath underwater for 30 seconds. = Trinken Sie dies, um im Wasser für 30 Sekunden lang einen perfekten Atem zu haben.
|
||||
Drinking it makes you regenerate health quickly. Every second you get 2 HP, 10 times in total. = Trinken Sie dies, um Ihre Gesundheit zu regenerieren. Jede Sekunde erhalten Sie 2 TP, und das insgesamt 10 mal.
|
||||
Drinking it makes you regenerate health. Every 2 seconds, you get 1 HP, 10 times in total. = Trinken Sie dies, um Ihre Gesundheit zu regenerieren. Alle 2 Sekunden erhalten Sie 1 TP, und das insgesamt 10 mal.
|
||||
Drinking it will increase your mana regeneration rate by 0.5 for 10 seconds. = Trinken Sie dies, um Ihre Manaregenerierungsrate für 10 Sekunden um 0,5 zu erhöhen.
|
||||
Drinking it will increase your mana regeneration rate by 1 for 10 seconds. = Trinken Sie dies, um Ihre Manaregenerierungsrate für 10 Sekunden um 1 zu erhöhen.
|
||||
Drinking it will make you jump higher for 30 seconds. = Trinken Sie dies, um für 30 Sekunden lang höher springen zu können.
|
||||
Drinking it will make you jump lower for 30 seconds. = Trinken Sie dies, um für 30 Sekunden lang Ihre Sprunghöhe zu reduzieren.
|
||||
Drinking it will make you run faster for 30 seconds. = Trinken Sie dies, um für 30 Sekunden lang schneller laufen zu können.
|
||||
Drinking it will make you walk slower for 30 seconds. = Trinken Sie dies, um für 30 Sekunden lang Ihre Gehschwindigkeit zu reduzieren.
|
||||
Drinking it will start an effect which will magically attempt to mine any two blocks in front of you horizontally, as if you were using a steel pickaxe on them. The effect lasts for 18 seconds. = Wenn Sie diesen Trank trinken, wird eine Wirkung ausgelöst, welche auf magische Weise versucht, die beiden Blöcke horizontal vor Ihnen abzubauen, als ob Sie eine Stahlspitzhacke auf sie anwenden würden. Die Wirkung dauert 18 Sekunden.
|
||||
Drinking it will stop all gravity effects you currently have. = Trinken Sie dies, um alle Schwerkraftwirkungen, die Sie momentan haben, aufzuheben.
|
||||
Drinking it will stop all jumping effects you may currently have. = Trinken Sie dies, um alle Sprungwirkungen, die Sie momentan haben, aufzuheben.
|
||||
Drinking it will stop all speed effects you may currently have. = Trinken Sie dies, um alle Geschwindigkeitswirkungen, die Sie momentan haben, aufzuheben.
|
||||
Glass Bottle (%s) = Glasflasche (%s)
|
||||
Gravity Neutralizer = Schwerkraftneutralisator
|
||||
Gravity neutralizer = Schwerkraftneutralisator
|
||||
High Jumping Potion = Hochsprungtrank
|
||||
High jump = Hochsprung
|
||||
High speed = Schnell
|
||||
# »ihn« = der Trank
|
||||
Hold it in your hand, then left-click to drink it. = Halten Sie ihn in Ihrer Hand, dann klicken Sie mit der linken Maustaste, um ihn zu trinken.
|
||||
Jump Neutralizer = Sprungneutralisator
|
||||
Jump height neutralizer = Sprunghöhenneutralisator
|
||||
Low Jumping Potion = Tiefsprungtrank
|
||||
Low jump = Tiefsprung
|
||||
Low speed = Langsam
|
||||
Mole Potion = Maulwurfstrank
|
||||
Mole mode = Maulwurfsmodus
|
||||
No gravity = Schwerelos
|
||||
Non-Gravity Potion = Schwerelosigkeitstrank
|
||||
Perfect breath = Perfekter Atem
|
||||
Regeneration = Regeneration
|
||||
Running Potion = Lauftrank
|
||||
Slug Potion = Schneckentrank
|
||||
Speed Neutralizer = Temponeutralisator
|
||||
Speed neutralizer = Temponeutralisator
|
||||
Strong Healing Potion = Starker Heiltrank
|
||||
Strong Mana Potion = Starker Manatrank
|
||||
Strong mana boost = Staker Manaschub
|
||||
Strong regeneration = Starke Regeneration
|
||||
Weak Healing Potion = Schwacher Heiltrank
|
||||
Weak Mana Potion = Schwacher Manatrank
|
||||
Weak mana boost = Schwacher Manaschub
|
||||
When you drink this potion, gravity stops affecting you, as if you were in space. The effect lasts for 20 seconds. = Wenn Sie diesen Trank trinken, wird die Schwerkraft Sie nicht mehr beeinflussen, als ob Sie im Weltall wären. Die Wirkung hält für 20 Sekunden an.
|
46
locale/pep.de.tr
Normal file
46
locale/pep.de.tr
Normal file
@ -0,0 +1,46 @@
|
||||
# textdomain: pep
|
||||
Air Potion=Lufttrank
|
||||
Drinking it gives you breath underwater for 30 seconds.=Trinken Sie dies, um im Wasser für 30 Sekunden lang einen perfekten Atem zu haben.
|
||||
Drinking it makes you regenerate health quickly. Every second you get 2 HP, 10 times in total.=Trinken Sie dies, um Ihre Gesundheit zu regenerieren. Jede Sekunde erhalten Sie 2 TP, und das insgesamt 10 mal.
|
||||
Drinking it makes you regenerate health. Every 2 seconds, you get 1 HP, 10 times in total.=Trinken Sie dies, um Ihre Gesundheit zu regenerieren. Alle 2 Sekunden erhalten Sie 1 TP, und das insgesamt 10 mal.
|
||||
Drinking it will increase your mana regeneration rate by 0.5 for 10 seconds.=Trinken Sie dies, um Ihre Manaregenerierungsrate für 10 Sekunden um 0,5 zu erhöhen.
|
||||
Drinking it will increase your mana regeneration rate by 1 for 10 seconds.=Trinken Sie dies, um Ihre Manaregenerierungsrate für 10 Sekunden um 1 zu erhöhen.
|
||||
Drinking it will make you jump higher for 30 seconds.=Trinken Sie dies, um für 30 Sekunden lang höher springen zu können.
|
||||
Drinking it will make you jump lower for 30 seconds.=Trinken Sie dies, um für 30 Sekunden lang Ihre Sprunghöhe zu reduzieren.
|
||||
Drinking it will make you run faster for 30 seconds.=Trinken Sie dies, um für 30 Sekunden lang schneller laufen zu können.
|
||||
Drinking it will make you walk slower for 30 seconds.=Trinken Sie dies, um für 30 Sekunden lang Ihre Gehschwindigkeit zu reduzieren.
|
||||
Drinking it will start an effect which will magically attempt to mine any two blocks in front of you horizontally, as if you were using a steel pickaxe on them. The effect lasts for 18 seconds.=Wenn Sie diesen Trank trinken, wird eine Wirkung ausgelöst, welche auf magische Weise versucht, die beiden Blöcke horizontal vor Ihnen abzubauen, als ob Sie eine Stahlspitzhacke auf sie anwenden würden. Die Wirkung dauert 18 Sekunden.
|
||||
Drinking it will stop all gravity effects you currently have.=Trinken Sie dies, um alle Schwerkraftwirkungen, die Sie momentan haben, aufzuheben.
|
||||
Drinking it will stop all jumping effects you may currently have.=Trinken Sie dies, um alle Sprungwirkungen, die Sie momentan haben, aufzuheben.
|
||||
Drinking it will stop all speed effects you may currently have.=Trinken Sie dies, um alle Geschwindigkeitswirkungen, die Sie momentan haben, aufzuheben.
|
||||
Glass Bottle (@1)=Glasflasche (@1)
|
||||
Gravity Neutralizer=Schwerkraftneutralisator
|
||||
Gravity neutralizer=Schwerkraftneutralisator
|
||||
High Jumping Potion=Hochsprungtrank
|
||||
High jump=Hochsprung
|
||||
High speed=Schnell
|
||||
# »ihn«=der Trank
|
||||
Hold it in your hand, then left-click to drink it.=Halten Sie ihn in Ihrer Hand, dann klicken Sie mit der linken Maustaste, um ihn zu trinken.
|
||||
Jump Neutralizer=Sprungneutralisator
|
||||
Jump height neutralizer=Sprunghöhenneutralisator
|
||||
Low Jumping Potion=Tiefsprungtrank
|
||||
Low jump=Tiefsprung
|
||||
Low speed=Langsam
|
||||
Mole Potion=Maulwurfstrank
|
||||
Mole mode=Maulwurfsmodus
|
||||
No gravity=Schwerelos
|
||||
Non-Gravity Potion=Schwerelosigkeitstrank
|
||||
Perfect breath=Perfekter Atem
|
||||
Regeneration=Regeneration
|
||||
Running Potion=Lauftrank
|
||||
Slug Potion=Schneckentrank
|
||||
Speed Neutralizer=Temponeutralisator
|
||||
Speed neutralizer=Temponeutralisator
|
||||
Strong Healing Potion=Starker Heiltrank
|
||||
Strong Mana Potion=Starker Manatrank
|
||||
Strong mana boost=Staker Manaschub
|
||||
Strong regeneration=Starke Regeneration
|
||||
Weak Healing Potion=Schwacher Heiltrank
|
||||
Weak Mana Potion=Schwacher Manatrank
|
||||
Weak mana boost=Schwacher Manaschub
|
||||
When you drink this potion, gravity stops affecting you, as if you were in space. The effect lasts for 20 seconds.=Wenn Sie diesen Trank trinken, wird die Schwerkraft Sie nicht mehr beeinflussen, als ob Sie im Weltall wären. Die Wirkung hält für 20 Sekunden an.
|
@ -1,44 +1,45 @@
|
||||
Air Potion =
|
||||
Drinking it gives you breath underwater for 30 seconds. =
|
||||
Drinking it makes you regenerate health quickly. Every second you get 2 HP, 10 times in total. =
|
||||
Drinking it makes you regenerate health. Every 2 seconds, you get 1 HP, 10 times in total. =
|
||||
Drinking it will increase your mana regeneration rate by 0.5 for 10 seconds. =
|
||||
Drinking it will increase your mana regeneration rate by 1 for 10 seconds. =
|
||||
Drinking it will make you jump higher for 30 seconds. =
|
||||
Drinking it will make you jump lower for 30 seconds. =
|
||||
Drinking it will make you run faster for 30 seconds. =
|
||||
Drinking it will make you walk slower for 30 seconds. =
|
||||
Drinking it will start an effect which will magically attempt to mine any two blocks in front of you horizontally, as if you were using a steel pickaxe on them. The effect lasts for 18 seconds. =
|
||||
Drinking it will stop all gravity effects you currently have. =
|
||||
Drinking it will stop all jumping effects you may currently have. =
|
||||
Drinking it will stop all speed effects you may currently have. =
|
||||
Glass Bottle (%s) =
|
||||
Gravity Neutralizer =
|
||||
Gravity neutralizer =
|
||||
High Jumping Potion =
|
||||
High jump =
|
||||
High speed =
|
||||
Hold it in your hand, then left-click to drink it. =
|
||||
Jump Neutralizer =
|
||||
Jump height neutralizer =
|
||||
Low Jumping Potion =
|
||||
Low jump =
|
||||
Low speed =
|
||||
Mole Potion =
|
||||
Mole mode =
|
||||
No gravity =
|
||||
Non-Gravity Potion =
|
||||
Perfect breath =
|
||||
Regeneration =
|
||||
Running Potion =
|
||||
Slug Potion =
|
||||
Speed Neutralizer =
|
||||
Speed neutralizer =
|
||||
Strong Healing Potion =
|
||||
Strong Mana Potion =
|
||||
Strong mana boost =
|
||||
Strong regeneration =
|
||||
Weak Healing Potion =
|
||||
Weak Mana Potion =
|
||||
Weak mana boost =
|
||||
When you drink this potion, gravity stops affecting you, as if you were in space. The effect lasts for 20 seconds. =
|
||||
# textdomain: pep
|
||||
Air Potion=
|
||||
Drinking it gives you breath underwater for 30 seconds.=
|
||||
Drinking it makes you regenerate health quickly. Every second you get 2 HP, 10 times in total.=
|
||||
Drinking it makes you regenerate health. Every 2 seconds, you get 1 HP, 10 times in total.=
|
||||
Drinking it will increase your mana regeneration rate by 0.5 for 10 seconds.=
|
||||
Drinking it will increase your mana regeneration rate by 1 for 10 seconds.=
|
||||
Drinking it will make you jump higher for 30 seconds.=
|
||||
Drinking it will make you jump lower for 30 seconds.=
|
||||
Drinking it will make you run faster for 30 seconds.=
|
||||
Drinking it will make you walk slower for 30 seconds.=
|
||||
Drinking it will start an effect which will magically attempt to mine any two blocks in front of you horizontally, as if you were using a steel pickaxe on them. The effect lasts for 18 seconds.=
|
||||
Drinking it will stop all gravity effects you currently have.=
|
||||
Drinking it will stop all jumping effects you may currently have.=
|
||||
Drinking it will stop all speed effects you may currently have.=
|
||||
Glass Bottle (@1)=
|
||||
Gravity Neutralizer=
|
||||
Gravity neutralizer=
|
||||
High Jumping Potion=
|
||||
High jump=
|
||||
High speed=
|
||||
Hold it in your hand, then left-click to drink it.=
|
||||
Jump Neutralizer=
|
||||
Jump height neutralizer=
|
||||
Low Jumping Potion=
|
||||
Low jump=
|
||||
Low speed=
|
||||
Mole Potion=
|
||||
Mole mode=
|
||||
No gravity=
|
||||
Non-Gravity Potion=
|
||||
Perfect breath=
|
||||
Regeneration=
|
||||
Running Potion=
|
||||
Slug Potion=
|
||||
Speed Neutralizer=
|
||||
Speed neutralizer=
|
||||
Strong Healing Potion=
|
||||
Strong Mana Potion=
|
||||
Strong mana boost=
|
||||
Strong regeneration=
|
||||
Weak Healing Potion=
|
||||
Weak Mana Potion=
|
||||
Weak mana boost=
|
||||
When you drink this potion, gravity stops affecting you, as if you were in space. The effect lasts for 20 seconds.=
|
||||
|
Loading…
x
Reference in New Issue
Block a user