Add auto personal battery recharge (#327)

* Update bonus.lua

* Update vlayer.lua

* Update roles.lua

* Update gui.cfg

* Update gui.cfg

* Update gui.cfg

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua

* Update vlayer.lua

* Update bonus.lua

* Update bonus.lua

* Update bonus.lua
This commit is contained in:
2024-09-21 06:34:24 +09:00
committed by GitHub
parent 5135ef9bd9
commit a1ffe3f4c8
7 changed files with 73 additions and 32 deletions

View File

@@ -5,20 +5,19 @@ return {
--[[
TODO
force bonus
vlayer battery recharge (auto)
quick health regeneration
Base point is equal to the amount of standard value in each parameter.
CMMS CRS CCS CISB CHB CRDB
STD 30 90 32 20 16 12
= 200
CMMS CRS CCS CISB CHB CRDB PBR
STD 30 90 32 20 16 12 60
= 260
MAX 60 180 64 40 32 24
= 400
MAX 60 180 64 40 32 24 120
= 480
]]
pts = {
base = 200
base = 260
},
gui_display_width = {
half = 150,
@@ -32,11 +31,23 @@ return {
['ccs'] = 'character_crafting_speed_modifier',
['cisb'] = 'character_inventory_slots_bonus',
['chb'] = 'character_health_bonus',
['crdb'] = 'character_reach_distance_bonus'
['crdb'] = 'character_reach_distance_bonus',
--[[
['cpdb'] = 'character_item_pickup_distance_bonus'
]]
},
player_special_bonus_rate = 300,
player_special_bonus = {
['personal_battery_recharge'] = {
-- 1 MW
value = 6,
max = 12,
scale = 1,
cost_scale = 4,
cost = 40,
is_percentage = false
}
},
player_bonus = {
['character_mining_speed_modifier'] = {
value = 3,