summaryrefslogtreecommitdiff
path: root/lib/mods/theme/core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mods/theme/core')
-rw-r--r--lib/mods/theme/core/player.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/mods/theme/core/player.lua b/lib/mods/theme/core/player.lua
index f5c7c13b..65406de2 100644
--- a/lib/mods/theme/core/player.lua
+++ b/lib/mods/theme/core/player.lua
@@ -30,21 +30,6 @@ function player.inventory(i)
return player.inventory_real[i + 1]
end
--- modify mana
--- returns TRUE if there is a pb
-function increase_mana(amt)
- player.csp = player.csp + amt
- player.redraw = bor(player.redraw, PR_MANA)
- if (player.csp < 0) then
- player.csp = 0
- return TRUE
- end
- if (player.csp > player.msp) then
- player.csp = player.msp
- end
- return FALSE
-end
-
-- Return the coordinates of the player whether in wild or not
function player.get_wild_coord()