All Functions and Procedures
Name | Unit | Description |
---|---|---|
addToInventory | player_inventory | Add to inventory |
addToInventory_emptySlot | player_inventory | Add to an empty slot in inventory |
aimBow | scrTargeting | Aim bow and arrow |
ammoProjectile | KeyboardInput | Input in SELECTAMMO state |
ammoTarget | KeyboardInput | Input in the SELECTTARGET state |
areaBewilderEffect | animation | Animate nearby enemies being Bewildered |
areaBurnEffect | animation | Animate nearby enemies burning |
arrowAnimation | animation | Animate an arrow |
arrowHit | scrTargeting | Arrow hits an entity |
ascendStairs | map | Go up stairs |
barterConfimBuyInput | KeyboardInput | Input when confirming selection before buying |
barterInput | KeyboardInput | Input when being asked to BUY / SELL items |
barterShowWaresInput | KeyboardInput | Input when displaying items |
beginLogging | logging |
|
bewilderArea | magicEffects | Bewilder enemies in a circle around the player |
blockORnot | cave | Determines if a tile is a wall or not |
blockORnot | smell | filename: shortstring; myfile: Text; |
blockORnot | stone_cavern | Determines if a tile is a wall or not |
bufferMessage | ui | Store all messages from players turn |
buildLevel | crypt | Build a level in the dungeon |
buildLevel | smallGrid | Build a level in the dungeon |
buySellIntro | dlgInfo | Buy / Sell items dialog box |
buyVillage | dlgMerchant | Buy the selected item |
calcDistances | cave | Floodfill cave to find unreachable areas |
calcDistances | smell | Calculate distance from player |
calcDistances | stone_cavern | Floodfill cave to find unreachable areas |
canMove | map | Check if the direction to move to is valid |
canSee | map | Check if an object is in players FoV |
canThrow | scrThrow | Confirm there are NPC's and projectiles |
carryingArrows | player_inventory | Check if arrows are in inventory |
carveHorizontally | crypt | Carve a horizontal tunnel |
carveHorizontally | smallGrid | Carve a horizontal tunnel |
carveVertically | crypt | Carve a vertical tunnel |
carveVertically | smallGrid | Carve a vertical tunnel |
castNecromancy | animation | Animated necromantic energy |
centreX | ui | Get X coordinate to centre a string |
CharInfoInput | KeyboardInput | Input in the CHARACTER INFO state |
charIntroInput | KeyboardInput | Input in the CHARACTER INTRO Menu state |
charSelInput | KeyboardInput | Input in the CHARACTER SELECT state |
chasePlayer | ai_animal | Chase the player character |
chasePlayer | blood_bat | Chase the player |
chasePlayer | cave_bear | Chase the player |
chasePlayer | hyena_fungus | Chase the player |
chasePlayer | large_blood_bat | Chase the player |
chasePlayer | rabid_dog | Chase the player |
chasePlayer | small_hyena | Chase the player |
chaseTarget | bogle_drunk | Chase enemy |
chaseTarget | crypt_wolf | Chase enemy |
chaseTarget | ghoul_lvl1 | Chase enemy |
chaseTarget | gnome_assassin | Chase enemy |
chaseTarget | gnome_cultist | Chase enemy |
chaseTarget | gnome_warrior | Chase enemy |
chaseTarget | goblin_necromancer | Chase enemy |
chaseTarget | redcap_fungus | Chase enemy |
chaseTarget | redcap_lesser | Chase enemy |
chaseTarget | redcap_lesser_lobber | Chase enemy |
chaseTarget | skeleton_lvl1 | Chase enemy |
chaseTarget | trog_giant | Chase enemy |
chaseTarget | trog_simple | Chase enemy |
chaseTarget | zombie_weak | Chase enemy |
chat | ai_villager | Villager talks |
chatCheck | player | Check if a tile is occupied by a friendly NPC |
checkForTraps | items | Check to see if a trap has been triggered |
checkLevel | player_stats | Check if the player has levelled up |
checkNotifications | dlgInfo | Check if there is a pop-up to display |
choose | scrCharSelect |
|
chuckProjectile | scrThrow | Throw projectile at confirmed target |
clearPopup | ui | Redraw map after a pop-up closes |
clearStatusBar | ui | Clears the status bar message |
collectParchment | parchment | Collect parchment |
combat | ai_animal | NPC attacks the player |
combat | blood_bat | Player Combat |
combat | blue_fungus | Fungus attacks |
combat | bogle_drunk | Combat |
combat | cave_bear | NPC attacks another entity |
combat | combat_resolver | Attack NPC's |
combat | crypt_wolf | Combat |
combat | ghoul_lvl1 | Combat |
combat | gnome_assassin | Combat |
combat | gnome_cultist | Combat |
combat | gnome_warrior | Combat |
combat | goblin_necromancer | Combat |
combat | green_fungus | Fungus attacks |
combat | hyena_fungus | NPC attacks another entity |
combat | large_blood_bat | Combat |
combat | rabid_dog | NPC attacks another entity |
combat | redcap_fungus | Combat |
combat | redcap_lesser | Combat |
combat | redcap_lesser_lobber | Combat |
combat | skeleton_lvl1 | Combat |
combat | small_green_fungus | Fungus attacks |
combat | small_hornet | Player Combat |
combat | small_hyena | NPC attacks another entity |
combat | trog_giant | Combat |
combat | trog_simple | Combat |
combat | zombie_weak | Combat |
combatCheck | player | Check if tile is occupied by an NPC |
consonants | plot_gen | Replace one consonant with another |
containsItem | items | Is there an item at coordinates |
continue | main |
|
countKills | scrDeathList | Return number of NPC's killed |
countLivingEntities | entities | Count all living NPC's |
countNonEmptyItems | items | Count non-empty items in array |
createAleTankard | ale_tankard | Create a tankard of ale |
createArrow | arrow | Create an arrow |
createBloodBat | blood_bat | Create a blood bat |
createBloodBat | large_blood_bat | Create a blood bat |
createBlueFungus | blue_fungus | Create fungus |
createBoneArmour | lesser_bone_armour | Create armour |
createBoneDagger | bone_dagger | Create a dagger |
createCaveBear | cave_bear | Create a cave bear |
createCaveRat | cave_rat | Create a cave rat |
createClothArmour | cloth_armour1 | Create armour |
createClub | basic_club | Create a club |
createCorpseSpider | small_corpse_spider | Create a Corpse Spider |
createCorridor | crypt | Create corridors linking the rooms |
createCorridor | smallGrid | Create corridors linking the rooms |
createCryptWolf | crypt_wolf | Create a Crypt Wolf |
createDagger | crude_dagger | Create a dagger |
createDrunkBogle | bogle_drunk | Create a Bogle |
createEllanToll | universe | Generate the overworld |
createEmbalmSpider | embalming_spider | Create an Embalming Spider |
createFlintDagger | flint_dagger | Create a dagger |
createGhoul | ghoul_lvl1 | Create a Ghoul |
createGiantCaveRat | giant_cave_rat | Create a cave rat |
createGiantTroglodyte | trog_giant | Create a Troglodyte |
createGnomeAssassin | gnome_assassin | Create a Gnome Assassin |
createGnomeCultist | gnome_cultist | Create a Gnome Cultist |
createGnomeWarrior | gnome_warrior | Create a Gnome Warrior |
createGnomishAxe | gnomish_axe | Create an axe |
createGnomishDagger | gnomish_dagger | Create a dagger |
createGnomishMace | gnomish_mace | Create a mace |
createGP | gold_pieces | Create Gpld |
createGreenFungus | green_fungus | Create fungus |
createInfectedHyena | hyena_fungus | Create a hyena |
createLeatherArmour | leather_armour1 | Create armour |
createMerchant | merchant | Create a merchant |
createMushroomPerson | mushroom_person | Create a mushroom person |
createNecroAxe | necro_axe | Create an axe |
createNecromancer | goblin_necromancer | Create a Goblin Necromancer |
createNewDungeon | universe | Creates a dungeon of a specified type |
createParchment | parchment | Create the parchment |
createPixieJar | pixie_jar | Create a pixie jar |
createPixieJarDim | pixie_jar_dim | Create a pixie jar |
createPlayer | player | Create player character |
createPointyStick | pointy_stick | Create a pointy stick |
createRabidDog | rabid_dog | Create a dog |
createRedcap | redcap_lesser | Create a Redcap Hob |
createRedcap | redcap_lesser_lobber | Create a Redcap Hob |
createRedcapFungus | redcap_fungus | Create a Redcap Fungus |
createRock | rock | Create a rock |
createRoom | crypt | Create a room |
createRoom | smallGrid | Create a room |
createRoom | village | Create a building |
createScorpion | scorpion | Create a Scorpion |
createShortBow | short_bow | Create a bow |
createSkeleton | skeleton_lvl1 | Create a Skeleton |
createSmallGreenFungus | small_green_fungus | Create fungus |
createSmallHornet | small_hornet | Create a hornet |
createSmallHyena | small_hyena | Create a hyena |
createSmallScorpion | small_scorpion | Create a small Scorpion |
createSmugglersMap | smugglersMap | Create the map |
createSpore | poison_spore | Create a spore |
createStaff | staff_bewilder | Create a staff |
createStaff | staff_minor_scorch | Create a staff |
createStaff | vampiric_staff | Create a staff |
createTerbutje | terbutje | Create a terbutje |
createTroglodyte | trog_simple | Create a Troglodyte |
createVillager | villager | Create a villager |
createWeb | web | Create web |
createWebTrap | web_trap | Create a web |
createWineFlask | wine_flask | Create a Potion of Cure Poison |
createZombie | zombie_weak | Create a Zombie |
cycleTargets | scrThrow | Cycle between the targets |
death | blood_bat | Creature death |
death | blue_fungus | NPC Death |
death | bogle_drunk | Creature death |
death | cave_bear | Creature death |
death | cave_rat | Creature death |
death | crypt_wolf | Creature death |
death | embalming_spider | Creature death |
death | ghoul_lvl1 | Creature death |
death | giant_cave_rat | Creature death |
death | gnome_assassin | NPC Death - Character drops something when they die |
death | gnome_cultist | Creature death |
death | gnome_warrior | Creature death |
death | goblin_necromancer | Creature death |
death | green_fungus | NPC Death - Fungus releases spores into the air |
death | hyena_fungus | Creature death |
death | large_blood_bat | Creature death |
death | mushroom_person | Creature death |
death | rabid_dog | Creature death |
death | redcap_fungus | Creature death |
death | redcap_lesser | Creature death |
death | redcap_lesser_lobber | Creature death |
death | scorpion | Creature death |
death | skeleton_lvl1 | Creature death |
death | small_corpse_spider | Creature death |
death | small_green_fungus | Creature death |
death | small_hornet | Creature death |
death | small_hyena | Creature death |
death | small_scorpion | Creature death |
death | trog_giant | Creature death |
death | trog_simple | Creature death |
death | zombie_weak | Creature death |
decisionEscape | bogle_drunk | Decision tree for Escape state |
decisionEscape | cave_rat | Decision tree for Escape state |
decisionEscape | embalming_spider | Decision tree for Escape state |
decisionEscape | ghoul_lvl1 | Decision tree for Escape state |
decisionEscape | giant_cave_rat | Decision tree for Escape state |
decisionEscape | gnome_assassin | Decision tree for Escape state |
decisionEscape | gnome_cultist | Decision tree for Escape state |
decisionEscape | gnome_warrior | Decision tree for Escape state |
decisionEscape | goblin_necromancer | Decision tree for Escape state |
decisionEscape | mushroom_person | Decision tree for Escape state |
decisionEscape | redcap_fungus | Decision tree for Escape state |
decisionEscape | redcap_lesser | Decision tree for Escape state |
decisionEscape | redcap_lesser_lobber | Decision tree for Escape state |
decisionEscape | scorpion | Decision tree for Escape state |
decisionEscape | skeleton_lvl1 | Decision tree for Escape state |
decisionEscape | small_corpse_spider | Decision tree for Escape state |
decisionEscape | small_scorpion | Decision tree for Escape state |
decisionEscape | trog_giant | Decision tree for Escape state |
decisionEscape | trog_simple | Decision tree for Escape state |
decisionEscape | zombie_weak | Decision tree for Escape state |
decisionHostile | blood_bat | Decision tree for Hostile state |
decisionHostile | bogle_drunk | Decision tree for Hostile state |
decisionHostile | cave_bear | Decision tree for Hostile state |
decisionHostile | cave_rat | Decision tree for Hostile state |
decisionHostile | crypt_wolf | Decision tree for Hostile state |
decisionHostile | embalming_spider | Decision tree for Hostile state |
decisionHostile | ghoul_lvl1 | Decision tree for Hostile state |
decisionHostile | giant_cave_rat | Decision tree for Hostile state |
decisionHostile | gnome_assassin | Decision tree for Hostile state |
decisionHostile | gnome_cultist | Decision tree for Hostile state |
decisionHostile | gnome_warrior | Decision tree for Hostile state |
decisionHostile | goblin_necromancer | Decision tree for Hostile state |
decisionHostile | hyena_fungus | Decision tree for Hostile state |
decisionHostile | large_blood_bat | Decision tree for Hostile state |
decisionHostile | mushroom_person | Decision tree for Hostile state |
decisionHostile | rabid_dog | Decision tree for Hostile state |
decisionHostile | redcap_fungus | Decision tree for Hostile state |
decisionHostile | redcap_lesser | Decision tree for Hostile state |
decisionHostile | redcap_lesser_lobber | Decision tree for Hostile state |
decisionHostile | scorpion | Decision tree for Hostile state |
decisionHostile | skeleton_lvl1 | Decision tree for Hostile state |
decisionHostile | small_corpse_spider | Decision tree for Hostile state |
decisionHostile | small_hyena | Decision tree for Hostile state |
decisionHostile | small_scorpion | Decision tree for Hostile state |
decisionHostile | trog_giant | Decision tree for Hostile state |
decisionHostile | trog_simple | Decision tree for Hostile state |
decisionHostile | zombie_weak | Decision tree for Hostile state |
decisionNeutral | blood_bat | Decision tree for Neutral state |
decisionNeutral | bogle_drunk | Decision tree for Neutral state |
decisionNeutral | cave_bear | Decision tree for Neutral state |
decisionNeutral | cave_rat | Decision tree for Neutral state |
decisionNeutral | crypt_wolf | Decision tree for Neutral state |
decisionNeutral | embalming_spider | Decision tree for Neutral state |
decisionNeutral | ghoul_lvl1 | Decision tree for Neutral state |
decisionNeutral | giant_cave_rat | Decision tree for Neutral state |
decisionNeutral | gnome_assassin | Decision tree for Neutral state |
decisionNeutral | gnome_cultist | Decision tree for Neutral state |
decisionNeutral | gnome_warrior | Decision tree for Neutral state |
decisionNeutral | goblin_necromancer | Decision tree for Neutral state |
decisionNeutral | hyena_fungus | Decision tree for Neutral state |
decisionNeutral | large_blood_bat | Decision tree for Neutral state |
decisionNeutral | mushroom_person | Decision tree for Neutral state |
decisionNeutral | rabid_dog | Decision tree for Neutral state |
decisionNeutral | redcap_fungus | Decision tree for Neutral state |
decisionNeutral | redcap_lesser | Decision tree for Neutral state |
decisionNeutral | redcap_lesser_lobber | Decision tree for Neutral state |
decisionNeutral | scorpion | Decision tree for Neutral state |
decisionNeutral | skeleton_lvl1 | Decision tree for Neutral state |
decisionNeutral | small_corpse_spider | Decision tree for Neutral state |
decisionNeutral | small_hyena | Decision tree for Neutral state |
decisionNeutral | small_scorpion | Decision tree for Neutral state |
decisionNeutral | trog_giant | Decision tree for Neutral state |
decisionNeutral | trog_simple | Decision tree for Neutral state |
decisionNeutral | villager | Decision tree for Neutral state |
decisionNeutral | zombie_weak | Decision tree for Neutral state |
deleteGameData | file_handling | Delete saved game files |
descendStairs | map | Go down stairs |
destroyWeapon | player_inventory | Equipped weapon is destroyed |
dialogBoxInput | KeyboardInput | Input in the DIALOG state |
dialogLeaveVillage | KeyboardInput | Input in the LEAVEVILLAGE dialog |
digCave | cave | Dig out the cave |
digCave | stone_cavern | Dig out the cave |
dispenseItem | item_lookup | Choose an item and call the generate code directly |
displayCharacterSheet | scrCharacter | Display information about player character |
displayCurse | dlgInfo | Necromancers curse |
displayDialog | ui | Dialog box |
displayDropMenu | scrInventory | Show the drop menu |
displayDwarf | scrCharSelect |
|
displayElf | scrCharSelect |
|
displayGameScreen | scrGame | Clear screen and load various panels for game |
displayHelpScreen | scrHelp | Display controls and keyboard shortcuts |
displayHuman | scrCharSelect |
|
displayIntroScreen | scrIntro |
|
displayInventoryScreen | scrInventory | Show the main inventory screen |
displayKillScreen | scrDeathList | Show the game over screen |
displayMessage | ui | Write text to the message log |
displayQuaffMenu | scrInventory | Show the quaff menu |
displayRIPscreen | scrRIP | Show the game over screen |
displayStatusEffect | ui | Display status effects |
displayTitleScreen | scrTitle |
|
displayVillageWares | dlgMerchant | Display village merchant inventory |
displayWieldMenu | scrInventory | Show the wear / wield menu |
displayWinscreen | scrWinAlpha | Show the Win screen |
drawBat | scrRIP | Draw a bat on the screen |
drawCaveTiles | map | Draw cave tiles |
drawCryptTiles | map | Draw crypt tile |
drawDungeonTiles | map | Draw dungeon tiles |
drawGrave | scrRIP | Draw a gravestone on the screen |
drawItemsOnMap | items | Update the map display to show all items |
drawLine | fov | Draw Bresenham lines in a circle |
drawMap | camera |
|
drawOutline | scrCharacter | Draw a box around the title |
drawOutline | scrHelp | Draw a box around the title |
drawOutline | scrInventory | Draw the outline of the screen |
drawOverLine | fov | Draw Bresenham lines overground |
drawOWMap | camera |
|
drawOWPlayer | camera |
|
drawOWTile | island | Draw a tile on the map |
drawPlayer | camera |
|
drawSidepanel | scrOverworld | Draws the panel on side of screen |
drawSkull | scrRIP | Draw a skull on screen |
drawStoneCavernTiles | map | Draw stone cavern tiles |
drawTile | map | Place a tile on the map |
drawTrajectory | scrTargeting | Draw trajectory of arrow |
drawVillageTiles | map | Draw village tiles |
drop | player_inventory | Drop menu |
dropFirstItem | item_lookup | Used to drop a specific special item on each level |
dropInput | KeyboardInput | Input in the DROP Menu state |
dropSelection | player_inventory | Drop selected item |
dumpMap | debuggingFunctions | Prints the map to a text file |
dwarfText | scrCharIntro |
|
elfText | scrCharIntro |
|
elvenTown | plot_gen | Generate name of an Elven home |
emptySlotAvailable | player_inventory | Check for an empty inventory slot |
eraseTerrain | scrOverworld | Erase the previous 'terrain' message |
escapePlayer | ai_animal | Run away from the player character |
escapePlayer | blood_bat | Run from player |
escapePlayer | bogle_drunk | Run from player |
escapePlayer | cave_bear | Run from player |
escapePlayer | ghoul_lvl1 | Run from player |
escapePlayer | gnome_assassin | Run from player |
escapePlayer | gnome_cultist | Run from player |
escapePlayer | gnome_warrior | Run from player |
escapePlayer | goblin_necromancer | Run from player |
escapePlayer | hyena_fungus | Run from player |
escapePlayer | large_blood_bat | Run from player |
escapePlayer | rabid_dog | Run from player |
escapePlayer | redcap_fungus | Run from player |
escapePlayer | redcap_lesser | Run from player |
escapePlayer | redcap_lesser_lobber | Run from player |
escapePlayer | skeleton_lvl1 | Run from player |
escapePlayer | small_hyena | Run from player |
escapePlayer | trog_giant | Run from player |
escapePlayer | trog_simple | Run from player |
escapePlayer | zombie_weak | Run from player |
examineInventory | player_inventory | Display more information about an item |
exitApplication | main |
|
exitDialog | dlgMerchant | Display a message that the item cannot be bought |
exitMessage | ui | Clear screen and write exit message |
exitPrompt | ui | Display Quit Game confirmation |
exitToTitleMenu | main |
|
fieldOfView | fov | Calculate circle around player |
fillWithWalls | cave | Fill array with walls |
fillWithWalls | stone_cavern | Fill array with walls |
fireBow | scrTargeting | Fire bow and arrow |
fireBowInput | KeyboardInput | Input in the FIREBOW state |
fireMagick | goblin_necromancer | Fire magick at player |
fireMissile | bogle_drunk | Fire missile at player |
fireMissile | redcap_lesser_lobber | Fire missile at player |
firingLine | los | Line of sight for projectiles |
firstRow | architect | Bottom row of the island |
followScent | bogle_drunk | Sniff out the player |
followScent | crypt_wolf | Sniff out the player |
followScent | ghoul_lvl1 | Sniff out the player |
followScent | gnome_assassin | Sniff out the player |
followScent | gnome_cultist | Sniff out the player |
followScent | gnome_warrior | Sniff out the player |
followScent | goblin_necromancer | Sniff out the player |
followScent | redcap_fungus | Sniff out the player |
followScent | redcap_lesser | Sniff out the player |
followScent | redcap_lesser_lobber | Sniff out the player |
followScent | skeleton_lvl1 | Sniff out the player |
followScent | trog_giant | Sniff out the player |
followScent | trog_simple | Sniff out the player |
followScent | zombie_weak | Sniff out the player |
foundMap | dlgInfo | 1st cave, found the Smugglers Map |
gameInput | KeyboardInput | Input in GAME state |
gameLoop | main |
|
gameOver | main |
|
generate | cave | Generate a caves and place the stairs |
generate | crypt | Generate a dungeon |
generate | smallGrid | Generate a dungeon |
generate | stone_cavern | Generate a caves and place the stairs |
generate | village | Generate a village map |
generateClanName | plot_gen | Generate Dwarven clan name |
generateDwarfName | plot_gen | Generate a Dwarven name for the player |
generateElfName | plot_gen | Generate an Elven name for the player |
generateHumanName | plot_gen | Generate a human name for the player |
generateNoise | noise | ermutation |
generateTitle | plot_gen | Generate a title or honorfic for the player |
getCreatureDescription | entities | Get creature description |
getCreatureHP | entities | Get creature currentHP at coordinates |
getCreatureID | entities | Get creature ID at coordinates |
getCreatureMaxHP | entities | Get creature maxHP at coordinates |
getCreatureName | entities | Get creature name at coordinates |
getDungeonType | island | Return the dungeon type of the location on the map |
getItemColour | items | Get the glyph colour at coordinates |
getItemDescription | items | Get description of item at coordinates |
getItemGlyph | items | Get the item glyph at coordinates |
getItemID | items | Get item ID at coordinates |
getItemName | items | Get name of item at coordinates |
getItemType | items | Get item type |
getLocationID | island | Return the ID number of the location on the map |
getLocationName | island | Return the name of the location on the map |
getSize | resolution |
|
getThrowDamage | items | Get the Throw Damage at coordinates |
getTrollDate | plot_gen | Get the current date and display it in the in-game calendar |
getX | camera | Underground camera |
getXOW | camera | Overground camera |
getY | camera |
|
getYOW | camera |
|
glyphAngle | scrTargeting | Calculate what angle of arrow to use |
hasPlayer | map | Check if player is on a tile |
helpScreenInput | KeyboardInput | Input in the HELP SCREEN state |
humanText | scrCharIntro |
|
increaseAttack | player_stats | Increase attack strength |
increaseAttackDefence | player_stats | Increase attack & defence |
increaseDefence | player_stats | Increase defence strength |
increaseDexterity | player_stats | Increase dexterity |
increaseHealth | player | Increase Health, no more than maxHP |
increaseMaxHealth | player_stats | Increase maximum health |
infighting | ai_animal | NPC attacks another entity |
infighting | blood_bat | NPC attacks another entity |
infighting | small_hornet | NPC attacks another entity |
infoDialog | dlgInfo | Display Info dialog box |
initialise | main |
|
initialiseInventory | player_inventory | Initialise empty player inventory |
initialiseItems | items | Generate list of items on the map |
initialiseVillageInventory | merchant_inventory | Initialise village merchant inventory |
initPath | entities | Initialise pathfinding array |
introInput | KeyboardInput | Input in the INTRO Menu state |
inventoryInput | KeyboardInput | Input in INVENTORY Menu state |
inView | los | Checks that the distance to the target is within vision range |
isCreatureVisible | entities | Check if creature is visible at coordinates |
isItemThrowable | items | Is item on floor throwable |
islandFOV | fov | FoV on the overworld map |
isNextToPlayer | blood_bat | Check if player is next to NPC |
isNextToPlayer | blue_fungus | Check if player is next to NPC |
isNextToPlayer | bogle_drunk | Check if player is next to NPC |
isNextToPlayer | cave_bear | Check if player is next to NPC |
isNextToPlayer | cave_rat | Check if player is next to NPC |
isNextToPlayer | crypt_wolf | Check if player is next to NPC |
isNextToPlayer | embalming_spider | Check if player is next to NPC |
isNextToPlayer | ghoul_lvl1 | Check if player is next to NPC |
isNextToPlayer | giant_cave_rat | Check if player is next to NPC |
isNextToPlayer | gnome_assassin | Check if player is next to NPC |
isNextToPlayer | gnome_cultist | Check if player is next to NPC |
isNextToPlayer | gnome_warrior | Check if player is next to NPC |
isNextToPlayer | goblin_necromancer | Check if player is next to NPC |
isNextToPlayer | green_fungus | Check if player is next to NPC |
isNextToPlayer | hyena_fungus | Check if player is next to NPC |
isNextToPlayer | large_blood_bat | Check if player is next to NPC |
isNextToPlayer | mushroom_person | Check if player is next to NPC |
isNextToPlayer | rabid_dog | Check if player is next to NPC |
isNextToPlayer | redcap_fungus | Check if player is next to NPC |
isNextToPlayer | redcap_lesser | Check if player is next to NPC |
isNextToPlayer | redcap_lesser_lobber | Check if player is next to NPC |
isNextToPlayer | scorpion | Check if player is next to NPC |
isNextToPlayer | skeleton_lvl1 | Check if player is next to NPC |
isNextToPlayer | small_corpse_spider | Check if player is next to NPC |
isNextToPlayer | small_green_fungus | Check if player is next to NPC |
isNextToPlayer | small_hornet | Check if player is next to NPC |
isNextToPlayer | small_hyena | Check if player is next to NPC |
isNextToPlayer | small_scorpion | Check if player is next to NPC |
isNextToPlayer | trog_giant | Check if player is next to NPC |
isNextToPlayer | trog_simple | Check if player is next to NPC |
isNextToPlayer | villager | Check if player is next to NPC |
isNextToPlayer | zombie_weak | Check if player is next to NPC |
isOccupied | map | Check if a map tile is occupied |
isVowel | plot_gen | Return TRUE if character is a vowel |
isWall | map | Check if a tile contains a wall |
killEntity | entities | Handle death of NPC's |
leaveVillage | dlgInfo | Prompt to leave the village |
leftHasFloor | cave | Check that the left side of the map contains floor tiles |
leftHasFloor | stone_cavern | Check that the left side of the map contains floor tiles |
leftShacks | village | Generate shacks on the left of the map |
leftToRight | crypt | sort room list in order from left to right |
leftToRight | smallGrid | sort room list in order from left to right |
levelUpDialog | dlgInfo | Display level up dialog box |
levelupHealth | player | Increase health without messages |
LevelUpInput | KeyboardInput | Input in the LEVEL UP state |
litterItems | universe | Drop items based on dungeon type and player level |
loadDisplayedIsland | island | Display explored sections of island when reloading game |
loadDisplayedMap | map | Display explored sections of map when reloading game |
loadDungeonLevel | file_handling | Read dungeon level from disk |
loadEquippedItems | player_inventory | Setup equipped items when loading a saved game |
loadGame | file_handling | Load a saved game |
loadOverworldMap | file_handling | Read overworld map from disk |
locationExists | island | Return True if the location already exists on disk |
logAction | logging |
|
look | scrLook | Look around the map |
lookInput | KeyboardInput | Input in the LOOK state |
lookupUse | item_lookup | Execute useItem procedure |
LoseSaveInput | KeyboardInput | Input in LOSE SAVE state |
minorScorch | magicEffects | Burn enemies in a cirle area from starting centre coordinates |
moveNPC | entities | Update NPCs X, Y coordinates |
movePlayer | player | Moves the player on the map |
movePlayerOW | player | Moves the player on the overworld map |
newFloorNPCs | entities | Clear list of NPC's |
newGame | dlgInfo | Display welcome text |
newGame | main |
|
newWarning | dlgInfo | Display a warning when starting a new game |
notInView | map | Set the whole map to invisible |
NPCgameLoop | entities | Call Creatures.takeTurn procedure |
NPCpicker | npc_lookup | randomly choose a creature and call the generate code directly |
obtainMap | smugglersMap | Collect quest item |
occupy | map | Occupy tile |
occupyUpdate | entities | Ensure all NPC's are correctly occupying tiles |
outOfView | entities | When the light source goes out |
overworldGameLoop | main |
|
overworldInput | KeyboardInput | Input in the OVERWORLD state |
paintOverMsg | scrTargeting | Paint over the message log |
pathFinding | smell | Generate a path to the player |
pickUp | player | Pick up an item from the floor |
placeAtEntrance | map | Place the Player on the entrance stair to a dungeon |
placePillar | stone_cavern | Try to randomly place a pillar |
playerProjectilePath | los | Player throws projectiles |
populateVillageInventory | merchant_inventory | Add items to inventory |
prettify | smallGrid | Process generated dungeon to add shaped walls |
processLight | player_stats | Check the light source, decrease the timer |
processStatus | player | Process status effects |
projectileTarget | scrThrow | Choose target for projectile |
quaff | player_inventory | Quaff menu |
quaffInput | KeyboardInput | Input in the QUAFF Menu state |
quaffSelection | player_inventory | Quaff selected item |
quitInput | KeyboardInput | Input for QUIT Menu state |
quitInputOW | KeyboardInput | Input for QUIT Menu on the overworld |
randomRange | globalUtils | Select random number from a range |
randomTileFill | cave | Fill array with random tiles |
randomTileFill | stone_cavern | Fill array with random tiles |
readScroll | dlgInfo | Read a parchment scroll |
redrawItems | items | Redraw all items |
redrawMapDisplay | entities | Update the map display to show all NPC's |
redrawStatusEffects | ui | Redraw status effects when reloading screen |
regenMagick | player | Regenerate Magickal power |
removeArrow | player_inventory | Remove an arrow from inventory |
removeFromGround | scrThrow | Remove a thrown item from the ground |
removeFromInventory | player_inventory | Remove from inventory |
removeThrownFromInventory | scrThrow | Remove a thrown item from inventory |
restoreMessages | ui | Restore message window after showing a menu |
restorePlayerGlyph | scrTargeting | Repaint the player when exiting look/target screen |
returnToGameScreen | main |
|
returnToOverworldScreen | main |
|
returnToSurface | main | Shown when the player first exits the Smugglers Cave |
rightHasFloor | cave | Check that the right side of the map contains floor tiles |
rightHasFloor | stone_cavern | Check that the right side of the map contains floor tiles |
rightShacks | village | Generate shacks on the right of the map |
RIPInput | KeyboardInput | Input in the GAME OVER state |
rollDice | globalUtils | Simulate dice rolls |
saveDungeonLevel | file_handling | Write explored dungeon level to disk |
saveGame | file_handling | Save game state to file |
saveOverworldMap | file_handling | Save the overworld map to disk |
scentDirection | smell | Find the tile with the highest scent value |
scentDirectionCoords | smell | Get Coordinates of the tile with highest scent value |
screenBlank | ui | Blank the screen |
seedLocations | architect | Sprinkle locations over the island |
selectVillageItem | dlgMerchant | Player selects an item from the inventory |
setSeed | main |
|
setTheScene | scrCharIntro |
|
setupKeyboard | KeyboardInput | Initialise keyboard unit |
setupMap | map | Setup the current level |
setupScreen | ui | Initialise the video unit |
setVisitedFlag | island | Set a location as VISITED |
showEntitiesItems | debuggingFunctions | Show all entities on the screen |
showInventory | player_inventory | Display the inventory screen |
showLevelUpOptions | player_stats | Show level up dialog |
shutdownKeyboard | KeyboardInput | Shutdown keyboard unit |
shutdownScreen | ui | Shutdown the video unit |
smallVillage | plot_gen | Generate name of small village |
sniff | smell | Generate smell map |
sortInventory | player_inventory | Sort inventory |
spawnDenizens | universe | Spawn creatures based on dungeon type and player level |
spawnPlayer | entities | Add player to list of creatures on the map |
spinWeb | embalming_spider | Spin a web |
spinWebs | animation | Animate a web trap |
spiteDMG | combat_resolver | Spite damage - damage dealt by the loser of a combat round 'in spite' of losing |
startingInventory | player_inventory | Add items to an inventory when new game starts |
stateInputLoop | main |
|
storeEllanToll | island | Store the newly generated island in memory |
takeTurn | blood_bat | Take a turn |
takeTurn | blue_fungus | Take a turn |
takeTurn | bogle_drunk | Take a turn |
takeTurn | cave_bear | Take a turn |
takeTurn | cave_rat | The NPC takes their turn in the game loop |
takeTurn | crypt_wolf | Take a turn |
takeTurn | embalming_spider | The NPC takes their turn in the game loop |
takeTurn | ghoul_lvl1 | Take a turn |
takeTurn | giant_cave_rat | The NPC takes their turn in the game loop |
takeTurn | gnome_assassin | Take a turn |
takeTurn | gnome_cultist | Take a turn |
takeTurn | gnome_warrior | Take a turn |
takeTurn | goblin_necromancer | Take a turn |
takeTurn | green_fungus | Take a turn |
takeTurn | hyena_fungus | Take a turn |
takeTurn | large_blood_bat | Take a turn |
takeTurn | merchant | The NPC takes their turn in the game loop |
takeTurn | mushroom_person | The NPC takes their turn in the game loop |
takeTurn | rabid_dog | Take a turn |
takeTurn | redcap_fungus | Take a turn |
takeTurn | redcap_lesser | Take a turn |
takeTurn | redcap_lesser_lobber | Take a turn |
takeTurn | scorpion | The NPC takes their turn in the game loop |
takeTurn | skeleton_lvl1 | Take a turn |
takeTurn | small_corpse_spider | The NPC takes their turn in the game loop |
takeTurn | small_green_fungus | Take a turn |
takeTurn | small_hornet | Take a turn |
takeTurn | small_hyena | Take a turn |
takeTurn | small_scorpion | The NPC takes their turn in the game loop |
takeTurn | trog_giant | Take a turn |
takeTurn | trog_simple | Take a turn |
takeTurn | villager | The NPC takes their turn in the game loop |
takeTurn | web | Take a turn |
takeTurn | zombie_weak | Take a turn |
target | scrThrow | Start the Target / Throw process |
targetInput | KeyboardInput | Input in the TARGET state |
TextOut | ui | Write to the screen |
throw | basic_club | Remove weapon from inventory when thrown |
throw | bone_dagger | Remove weapon from inventory when thrown |
throw | crude_dagger | Remove weapon from inventory when thrown |
throw | flint_dagger | Remove weapon from inventory when thrown |
throw | gnomish_axe | Remove weapon from inventory when thrown |
throw | gnomish_dagger | Remove weapon from inventory when thrown |
throw | gnomish_mace | Remove weapon from inventory when thrown |
throw | necro_axe | Remove weapon from inventory when thrown |
throw | pointy_stick | Remove weapon from inventory when thrown |
throw | short_bow | Remove weapon from inventory when thrown |
throw | staff_bewilder | Remove weapon from inventory when thrown |
throw | staff_minor_scorch | Remove weapon from inventory when thrown |
throw | terbutje | Remove weapon from inventory when thrown |
throw | vampiric_staff | Remove weapon from inventory when thrown |
thrownDamaged | bone_dagger | Check if weapon is damaged when thrown |
thrownDamaged | crude_dagger | Check if weapon is damaged when thrown |
thrownDamaged | flint_dagger | Check if weapon is damaged when thrown |
thrownDamaged | gnomish_axe | Check if weapon is damaged when thrown |
thrownDamaged | gnomish_dagger | Check if weapon is damaged when thrown |
thrownDamaged | gnomish_mace | Check if weapon is damaged when thrown |
thrownDamaged | necro_axe | Check if weapon is damaged when thrown |
thrownObjectAnim | animation | Animate the player throwing a projectile |
throwRock | animation | Animate a rock being thrown |
titleInput | KeyboardInput | Input in TITLE Menu state |
topupHealth | player | Increase Health with no feedback |
topUpStats | debuggingFunctions | Increases HP and light timer, to aid exploration |
triggered | poison_spore | Triggered when the spore has been stepped on |
triggered | web_trap | Triggered when the web has been stepped on |
uniqueKills | scrDeathList | Count number of unique NPC types |
unoccupy | map | Unoccupy tile |
updateArmour | ui | Display equipped armour |
updateAttack | ui | Update player attack value |
updateDefence | ui | Update player defence value |
updateDexterity | ui | Update player dexterity value |
updateHealth | ui | Update player health display |
updateLevel | ui | Update Level number |
updateMagick | ui | Update player magick display |
updateWeapon | ui | Display equipped weapon |
updateXP | ui | Update Experience points display |
useItem | ale_tankard | Drink Ale |
useItem | arrow | Item cannot be equipped |
useItem | basic_club | Equip weapon |
useItem | bone_dagger | Equip weapon |
useItem | cloth_armour1 | Wear armour |
useItem | crude_dagger | Equip weapon |
useItem | flint_dagger | Equip weapon |
useItem | gnomish_axe | Equip weapon |
useItem | gnomish_dagger | Equip weapon |
useItem | gnomish_mace | Equip weapon |
useItem | gold_pieces | Item cannot be equipped |
useItem | leather_armour1 | Wear armour |
useItem | lesser_bone_armour | Wear armour |
useItem | necro_axe | Equip weapon |
useItem | pixie_jar | Item cannot be equipped |
useItem | pixie_jar_dim | Item cannot be equipped |
useItem | pointy_stick | Equip weapon |
useItem | poison_spore | Item cannot be equipped |
useItem | rock | Item cannot be equipped |
useItem | short_bow | Equip weapon |
useItem | staff_bewilder | Equip weapon |
useItem | staff_minor_scorch | Equip weapon |
useItem | terbutje | Equip weapon |
useItem | vampiric_staff | Equip weapon |
useItem | web_trap | Item cannot be equipped |
useItem | wine_flask | Drink Potion |
validLocation | architect | Check surrounding tiles to make sure 2 locations aren't placed next to each other |
validProjectile | scrThrow | Check if the projectile selection is valid |
vampiricDrain | magicEffects | Drain enemy HP in a circle around the player |
villageInput | KeyboardInput | Controls when in a village |
vowels | plot_gen | Replace one vowel with another |
wander | ai_animal | Move in a random direction |
wander | ai_villager | Move in a random direction |
wander | blood_bat | Move in a random direction |
wander | bogle_drunk | Move in a random direction |
wander | cave_bear | Move in a random direction |
wander | crypt_wolf | Wander, when Bewildered |
wander | ghoul_lvl1 | Move in a random direction |
wander | gnome_assassin | Move in a random direction |
wander | gnome_cultist | Move in a random direction |
wander | gnome_warrior | Move in a random direction |
wander | goblin_necromancer | Move in a random direction |
wander | hyena_fungus | Move in a random direction |
wander | large_blood_bat | Move in a random direction |
wander | rabid_dog | Move in a random direction |
wander | redcap_fungus | Move in a random direction |
wander | redcap_lesser | Move in a random direction |
wander | redcap_lesser_lobber | Move in a random direction |
wander | skeleton_lvl1 | Move in a random direction |
wander | small_hornet | Move in a random direction |
wander | small_hyena | Move in a random direction |
wander | trog_giant | Move in a random direction |
wander | trog_simple | Move in a random direction |
wander | zombie_weak | Move in a random direction |
wearWieldInput | KeyboardInput | Input in the WEAR / WIELD Menu state |
wearWieldSelection | player_inventory | Wear / Wield selected item |
welcome | ui | Display welcome message |
wield | player_inventory | Wear / Wield menu |
WinAlphaInput | KeyboardInput | Input in WIN ALPHA state |
withinBounds | map | Check if the coordinates are within the bounds of the gamemap |
writeBufferedMessages | ui | Write buffered message to the message log |
writeNewDungeonLevel | file_handling | Write a newly generate level of a dungeon to disk |
writeScroll | plot_gen | Generate a scrambled text string |
Zap | staff_bewilder | Use the staff to zap nearby enemies |
Zap | staff_minor_scorch | Use the staff to zap nearby enemies |
Zap | vampiric_staff | Use the staff to zap nearby enemies |
Zzap | player_inventory | Zap equipped item |
Generated by PasDoc 0.16.0.