Module
Screeps
- Package
- purescript-screeps-classy
- Repository
- purescript/purescript-screeps
This helper module re-exports almost all of the types and constants used in the library. Functions for using particular types are defined in their own modules.
Re-exports from Screeps.Constants
#StructureInfo Source
type StructureInfo = IntMap Int
Number of structures available on each level
#wall_hits_max Source
wall_hits_max :: Int
#tower_hits Source
tower_hits :: Int
#terminal_hits Source
terminal_hits :: Int
#storage_hits Source
storage_hits :: Int
#spawn_hits Source
spawn_hits :: Int
#road_wearout Source
road_wearout :: Int
#repair_power Source
repair_power :: Int
#repair_cost Source
repair_cost :: Int
#rampart_hits_max Source
rampart_hits_max :: IntMap Int
From 2 to 8
#rampart_hits Source
rampart_hits :: Int
#observer_hits Source
observer_hits :: Int
#nuker_hits Source
nuker_hits :: Int
#nuke_range Source
nuke_range :: Int
#mode_world Source
mode_world :: Mode
#mode_arena Source
mode_arena :: Mode
#link_hits_max Source
link_hits_max :: Int
#link_cooldown Source
link_cooldown :: Int
#link_capacity Source
link_capacity :: Int
#lab_cooldown Source
lab_cooldown :: Int
#heal_power Source
heal_power :: Int
#harvest_power Source
harvest_power :: Int
#gcl_novice Source
gcl_novice :: Int
#gcl_multiply Source
gcl_multiply :: Int
#extension_energy_capacity Source
extension_energy_capacity :: IntMap Int
From 0 to 8
#energy_decay Source
energy_decay :: Int
#controller_structures Source
controller_structures :: { constructedWall :: StructureInfo, container :: StructureInfo, extension :: StructureInfo, extractor :: StructureInfo, lab :: StructureInfo, link :: StructureInfo, nuker :: StructureInfo, observer :: StructureInfo, powerSpawn :: StructureInfo, rampart :: StructureInfo, road :: StructureInfo, spawn :: StructureInfo, storage :: StructureInfo, terminal :: StructureInfo, tower :: StructureInfo }
NOTE: there is better interface Screeps.Structure.numStructures
#controller_levels Source
controller_levels :: IntMap Int
1 to 8
#build_power Source
build_power :: Int
#attack_power Source
attack_power :: Int
Re-exports from Screeps.Effects
Re-exports from Screeps.Types
#TerrainMask Source
- Modules
- Screeps
- Screeps.
BodyPartType - Screeps.
Color - Screeps.
Constants - Screeps.
ConstructionSite - Screeps.
Container - Screeps.
Controller - Screeps.
Coolsdown - Screeps.
Coord - Screeps.
Creep - Screeps.
Decays - Screeps.
Deposit - Screeps.
Destructible - Screeps.
Direction - Screeps.
Effects - Screeps.
Extension - Screeps.
Extractor - Screeps.
FFI - Screeps.
FindType - Screeps.
Flag - Screeps.
Game - Screeps.
Id - Screeps.
IntMap - Screeps.
KeeperLair - Screeps.
Lab - Screeps.
Link - Screeps.
Map - Screeps.
Market - Screeps.
Memory - Screeps.
Mineral - Screeps.
Names - Screeps.
Nuke - Screeps.
Nuker - Screeps.
Observer - Screeps.
Owned - Screeps.
Path - Screeps.
Path. Cache - Screeps.
Portal - Screeps.
PowerBank - Screeps.
PowerSpawn - Screeps.
Progress - Screeps.
Rampart - Screeps.
Refillable - Screeps.
Regenerates - Screeps.
Resource - Screeps.
ReturnCode - Screeps.
Road - Screeps.
Room - Screeps.
RoomObject - Screeps.
RoomPosition - Screeps.
RoomPosition. Type - Screeps.
Source - Screeps.
Spawn - Screeps.
Storage - Screeps.
Stores - Screeps.
Structure - Screeps.
Terminal - Screeps.
Tower - Screeps.
Types - Screeps.
Wall