Unit player
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Player creation and movement
Uses
- SysUtils
- player_stats
- plot_gen
- combat_resolver
- items
- dlgInfo
- ai_villager
- island
- scrOverworld
- file_handling
- globalUtils
- video
- universe
Overview
Functions and Procedures
procedure createPlayer; |
procedure movePlayerOW(dir: word); |
procedure movePlayer(dir: word); |
procedure processStatus; |
function combatCheck(x, y: smallint): boolean; |
function chatCheck(x, y:smallint):boolean; |
procedure pickUp; |
procedure increaseHealth(amount: smallint); |
procedure topupHealth(amount: smallint); |
procedure levelupHealth(amount: smallint); |
procedure regenMagick; |
Description
Functions and Procedures
procedure createPlayer; |
Create player character |
procedure movePlayerOW(dir: word); |
Moves the player on the overworld map |
procedure movePlayer(dir: word); |
Moves the player on the map |
procedure processStatus; |
Process status effects |
function combatCheck(x, y: smallint): boolean; |
Check if tile is occupied by an NPC |
function chatCheck(x, y:smallint):boolean; |
Check if a tile is occupied by a friendly NPC |
procedure pickUp; |
Pick up an item from the floor |
procedure increaseHealth(amount: smallint); |
Increase Health, no more than maxHP |
procedure topupHealth(amount: smallint); |
Increase Health with no feedback |
procedure levelupHealth(amount: smallint); |
Increase health without messages |
procedure regenMagick; |
Regenerate Magickal power |
Generated by PasDoc 0.16.0.