mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
10 lines
330 B
Lua
10 lines
330 B
Lua
local Store = require 'expcore.store'
|
|
|
|
Store.register('force.mining_speed','force',function(force)
|
|
return force.manual_mining_speed_modifier
|
|
end,function(force,value)
|
|
force.manual_mining_speed_modifier = value
|
|
game.print(force.name..' how has '..value..' mining speed')
|
|
end)
|
|
|
|
Store.watch('force.mining_speed','player') |