Added biomass respawn feature #22

This commit is contained in:
simon
2017-12-02 10:26:59 -05:00
parent 29cac77e79
commit be45979ed0
20 changed files with 309 additions and 189 deletions

View File

@@ -4,7 +4,7 @@ mysql_user=mar
mysql_pass=mar
# MySQL address
mysql_url=jdbc:mysql://localhost:3306/mar?useSSL=false
save_interval=10
save_interval=5
# Web server port
webSocket_port=8887
webSocket_host=0.0.0.0
@@ -14,12 +14,12 @@ cert_path=certificates
# ----------------------------------------------
# Length of a tick in ms
tick_length=1000
tick_length=250
# Default offset of the origin (starting point of code execution) in words
org_offset=1024
org_offset=512
# Address of the stack bottom
stack_bottom=32768
# Size of the memory in bytes
stack_bottom=65536
# Size of the memory in words
memory_size=65536
# Initial location of new user's controlled unit
new_user_worldX = 32767
@@ -33,16 +33,20 @@ new_user_code=; Welcome to Much Assembly required!\n\
# Default held item
new_user_item=0
# ----------------------------------------------
# Biomass units yield for a plant
plant_yield=2
# Grow time in ticks for a plant to grow
plant_grow_time=32
# Minimum tree count for the WorldGenerator
minTreeCount=3
# Maximum tree count for the WorldGenerator
maxTreeCount=10
# Biomass units for each blob
biomass_yield=2
# Minimum biomass blob count for the WorldGenerator
minBiomassCount=3
minBiomassRespawnCount=2
# Maximum biomass blob count for the WorldGenerator
maxBiomassCount=10
maxBiomassRespawnCount=6
# Maximum energy of the battery hardware in kJ
battery_max_energy=60000
# Time for biomass respawn in ticks
biomassRespawnTime=64
# Respawn timer will start when biomass count is below this number
biomassRespawnThreshold=1
# ----------------------------------------------
# Minimum center point count for the WorldGenerator
wg_centerPointCountMin=5
@@ -60,6 +64,4 @@ wg_minCopperCount=0
wg_maxCopperCount=2
# ----------------------------------------------
# Maximum execution time of user code in ms
user_timeout=500
# Free CPU execution time in ms
user_free_execution_time=2
user_timeout=100