LuaS
@mars/Lua/Buildings/Mine.lua
DefineClass
Mine
__parents
ResourceProducer
Building
"BuildingDepositExploiterComponent
ElectricityConsumer
UpdateUI
last_serviced_time
building_update_time
const
HourDuration
exploitation_resource
IsIdle
SetUIWorking
DroneLoadResource
OnChangeActiveDeposit
OnDepositDepleted
GetHourPredictedProduction
OnDepositsLoaded
GatherConstructionStatuses
GetResourceProducedIcon
GetUISectionMineRollover
CheatFill
CheatEmpty
OnMsg
GatherFXActors
GlobalVar
OldMineLocations
RegolithExtractor
OutsideBuildingWithShifts
DustGenerator
TerrainDepositExtractor
exploitation_resource
Concrete
additional_stockpile_params2
apply_to_grids
has_platform
snap_to_grid
priority
additional_supply_flags
const
rfSpecialDemandPairing
(force_extend_bb_during_placement_checks
guim
anim_obj
GameInit
Done
OnDestroyed
DeleteAnimObj
OnCalcProduction_Concrete
OnProduce_Concrete
GetPredictedProduction_Concrete
%GetPredictedDailyProduction_Concrete
HasNearbyDeposits
GetExtractionShape
GetFlattenShape
#GetSupplyGridConnectionShapePoints
GetDepositResource
GatherNearbyDeposits
IsTechLocked
CanExploit
OnDepositDepleted
#GetCurrentDepositQualityMultiplier
ExtractResource
GatherConstructionStatuses
GetDepositGrade
SetDust
OnSetWorking
!RegolithExtractorHintPopupThread
LoadGame
CityStart
ConstructionSitePlaced
RegolithMineVisual
CommandObject
Object
current_mode
strips
base_height
target_depth
current_depth
current_strip
current_dist
current_angle
start_offset
guic
steplen
dig_tick
dig_pts
dig_size_in
dig_size_out
dig_type_size
terrain_type
terrain_type_idx
dig_height
delta_height
dig_reverse_delay
quarry_bounds
dig_extend_len
rope_origin_height
orient_speed
dig_speed
ring
digger
rope1
rope2
digger_axis
digger_angle
mine
Platform
developer
InitMineVisuals
Work
StripDone
DigAnimTick
DigAnimOrientTick
DigAnimMoveTick
ui_working
CanExploit
city
IsTechResearched
NanoRefinement
self
Building
SetUIWorking
"BuildingDepositExploiterComponent
UpdateIdleExtractorNotification
self
working
_ENV
working
UpdateWorking
self
drone
request
resource
amount
"BuildingDepositExploiterComponent
OnChangeActiveDeposit
UpdateWorking
self
_ENV
"BuildingDepositExploiterComponent
OnDepositDepleted
CanExploit
city
IsTechResearched
NanoRefinement
UpdateWorking
self
deposit
_ENV
working
#GetCurrentDepositQualityMultiplier
MulDivRound
production_per_day1
const
HoursPerDay
HasMember
performance
self
deposit_multiplier
amount_produced
_ENV
UpdateConsumption
UpdateWorking
self
"BuildingDepositExploiterComponent
GatherConstructionStatuses
nearby_deposits
table
copy
ConstructionStatus
DepositInfo
amount
find
DepositGradesTable
grade
DepositGradeToDisplayName
text
resource
FormatResource
exploitation_resource
empty_table
ConstructionStatusColors
info
color_tag
self
statuses
status
amount
grade
(for index)
(for limit)
(for step)
_ENV
UI/Icons/Sections/
Resources
exploitation_resource
name
_2.tga
self
_ENV
]Daily production (predicted)<right><resource(PredictedDailyProduction, GetResourceProduced)>
NHourly production<right><resource(PredictedProduction,exploitation_resource)>
OLifetime production<right><resource(LifetimeProduction,exploitation_resource)>
AvailableDeposits
"<newline><center><em>Storage</em>
f<resource(exploitation_resource)><right><resource(GetAmountStored,max_storage,exploitation_resource)>
MWaste Rock<right><wasterock(GetWasterockAmountStored,wasterock_max_storage)>
table
concat
<newline><left>
self
lines
_ENV
ResourceProducer
CheatFill
self
_ENV
ResourceProducer
CheatEmpty
self
_ENV
Mine
list
GetPos
GetAngle
anim_obj
PlaceObject
RegolithMineVisual
mine
SetPos
SetAngle
InitMineVisuals
OldMineLocations
Equal2D
angle
current_depth
depth
table
remove
HintsEnabled
HintTrigger
HintSuggestDroneHub
HintWaterProduction
self
origin
angle
(for index)
(for limit)
(for step)
_ENV
DeleteAnimObj
self
Mine
OnDestroyed
IsValid
anim_obj
ring
GetVisualAngle
GetAngle
DeleteAnimObj
PlaceObject
RegolithExtractorRing
const
cfComponentAttach
SetAttachAngle
Attach
GetSpotBeginIndex
Origin
self
angle
ring
_ENV
anim_obj
table
insert
OldMineLocations
GetPos
angle
GetAngle
depth
current_depth
DoneObject
self
_ENV
parent
#GetCurrentDepositQualityMultiplier
MulDivRound
HasMember
performance
producer
amount_to_produce
deposit_multipler
_ENV
parent
ExtractResource
producer
amount_to_produce
parent
GetHourPredictedProduction
producer
parent
#GetCurrentDepositQualityMultiplier
MulDivRound
SingleResourceProducer
GetPredictedDailyProduction
producer
deposit_multiplier
_ENV
TerrainDepositExtractor
HasNearbyDeposits
self
_ENV
GetEntityCombinedShape
QuarryClosedShape
self
_ENV
table
copy
GetShapePoints
GetExtractionShape
remove_value
self
flatten_shape
extractor_shape
(for index)
(for limit)
(for step)
_ENV
electricity
table
copy
GetShapePoints
GetExtractionShape
remove_entry
GetEntityOutlineShape
QuarryClosedShape
self
supply_resource
extr_shape
(for index)
(for limit)
(for step)
(for index)
(for limit)
(for step)
cache
_ENV
exploitation_resource
self
self
self
CheckDeposit
self
Mine
OnDepositDepleted
self
deposit
_ENV
TerrainDepositExtractor
#GetCurrentDepositQualityMultiplier
self
_ENV
TerrainDepositExtractor
ExtractResource
self
_ENV
FindClosestDeposit
#GetCurrentDepositQualityMultiplier
GetAmount
ConstructionStatus
ResourceRequired
table
copy
DepositInfo
text
resource
FormatResource
exploitation_resource
empty_table
grade
Getgrade_name
ConstructionStatusColors
info
color_tag
ElectricityConsumer
GatherConstructionStatuses
self
statuses
closest_deposit
percents
amount
status
_ENV
TerrainDepositExtractor
GetDepositGrade
self
_ENV
anim_obj
ring
digger
IsValid
SetDust
Mine
self
ring
digger
_ENV
Mine
OnSetWorking
IsValid
anim_obj
SetCommand
Work
Idle
HintsEnabled
HintTrigger
HintWasteRock
self
working
_ENV
!RegolithExtractorHintPopupThread
CreateGameTimeThread
Sleep
const
DayDuration
ShowPopupNotification
#SuggestedBuildingConcreteExtractor
delay
_ENV
delay
_ENV
!RegolithExtractorHintPopupThread
const
DayDuration
GameTime
delay
_ENV&StartRegolithExtractorHintPopupThread
&StartRegolithExtractorHintPopupThread
IsKindOf
building_class_proto
RegolithExtractor
IsValidThread
!RegolithExtractorHintPopupThread
DeleteThread
site
_ENV
PlaceObject
RegolithExtractorRing
SetEnumFlags
const
efSelectable
SetPos
GetPos
SetAngle
GetAngle
ring
rawset
SelectionPropagate
RegolithExtractorDigger
cfComponentAttach
Attach
GetSpotBeginIndex
Digger
digger
RegolithExtractorRope
SetZClip
guim
Rope1
rope1
Rope2
rope2
GetEntityOutlineShape
Quarry
strips
quarry_bounds
terrain
GetHeight
terrain_type_idx
table
find
TerrainTextures
name
terrain_type
HexToWorld
Rotate
point
Len2D
SetLen
steplen
CalcOrientation
MulDivRound
delta_height
start_offset
WorldToHex
HexSurroundingsCheckShape
HexGetLowBuilding
SetStepZ
guic
IsKindOf
RegolithExtractor
anim_obj
dig_extend_len
insert
dist
full_dist
depth
depth_full_dist
angle
rel_angle
AngleDiff
step
normal
target_depth
sort
current_depth
dig_height
current_strip
base_height
mine
self
rel_angle
self
ring
digger
rope,
shapeL
originN
angleP
base_heightX
(for index)b
(for limit)b
(for step)b
dirq
distt
full_distu
stepy
normal
orient
depth
depth_full_dist
(for index)
(for limit)
(for step)
center
quarry_bounds
_ENV
IsValid
ring
DoneObject
digger
self
_ENV
PushDestructor
current_mode
digger
SetAnim
digStart
const
eDontCrossfade
Sleep
TimeToAnimEnd
PlayFX
RegolithExtractorDigging
dig-reverse
DigAnimTick
PopAndCallDestructor
IsValid
PlayFX
RegolithExtractorDigging
digEnd
digger
current_mode
SetAnim
const
eDontCrossfade
Sleep
TimeToAnimEnd
idle2
enter
self
_ENV
reModeMove
reModeReturn
reModeExit/
self
done*
_ENV
reModeMove
reModeReturn
reModeExit
current_strip
strips
current_depth
depth
dig_height
target_depth
self
first
(for index)
(for limit)
(for step)
strip
(for index)
(for limit)
(for step)
strip
_ENV
IsValid
strips
current_strip
current_mode
DigAnimOrientTick
digger
Detach
SetAnim
exit
PlayFX
RegolithExtractorDigging
Sleep
TimeToAnimEnd
const
eDontCrossfade
current_dist
start_offset
DigAnimMoveTick
digEnd
ring
Attach
GetSpotBeginIndex
Digger
enter
idle
StripDone
self
strip
_ENV
reModeOrient
reModeExit
reModeMove
reModeReturn
reModeUnload
reModeDone
GetAngle
AngleDiff
ring
angle
MulDivRound
orient_speed
SetAngle
Sleep
IsValid
current_mode
digger_axis
digger
GetAxis
digger_angle
self
strip
base_angle
rel_angle
rel_target
step
angle0
_ENV
reModeExit
dig_tick
base_height
dig_height
current_depth
steplen
full_dist
start_offset
current_dist
MulDivRound
GetPos
SetLen
digger
SetPos
rope1
SetZClip
guim
rope2
terrain
GetHeight
rope_origin_height
atan
ComposeRotation
axis_x
digger_axis
digger_angle
SetAxis
SetAngle
Sleep
IsValid
dist
delta_height
depth_full_dist
dig_pts
normal
SetHeightCircle
dig_size_in
dig_size_out
const
hsMin
terrain_type_idx
SetTypeCircle
dig_type_size
current_mode
dig_reverse_delay
PlayFX
RegolithExtractorDigging
dig-reverse
self
strip
reverse
excavated
steplen
dist
start_offset
current_dist
done
dig_origin3
orientP
axisV
angleV
own_distm
target_hu
(for index)
(for limit)
(for step)
dig_pt
_ENV
reModeUnload
reModeReturn
reModeOrient:
reModeExit;
reModeMove<
reModeReturn=
reModeUnload>
reModeDone?
cache}
&StartRegolithExtractorHintPopupThread
_ENV