1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Gerkiz
fa8c72fb46 planet prison fix
removed over 60 global functions
removed obsolete entities
2021-03-21 23:31:53 +01:00
Jacob
2794ea02c6 bugfixes to Planet Prison
player name is read-only, failure blocks rest of scenario

functions cannot be saved in global anymore - as of Factorio 0.18.28
2020-08-29 23:16:13 -04:00
cogito
7460989c13 pp: add raid event
Adds a quite complex system that calculates stuff within player
borders and sends raids based on given costs, just like in rimworld.
2020-02-01 10:08:36 +01:00
cogito
cffb655300 pp: common: make create_bounding_box_by_points more generic
This function was limited only to objects that had either
'bounding_box' or 'position'  datafield. This changes broades this
limitation.
2020-02-01 10:08:36 +01:00
cogito
284ed14b74 planet_prison: add claim system
Adds claim system to mark player bases.
2020-02-01 10:08:36 +01:00
cogito
87eb854ace planet_prison: fix global variable miussage.
Fixes some 'global' variable missusage.
2020-01-18 08:58:28 +01:00
cogito
198b5fd17a planet_prison: add timer to player spawn
These generators from ships are way to op as you can easily place
radars around it. We'll explode the ships after 10 minutes, so they
don't clutter the map and don't give exploits.
2020-01-18 08:58:28 +01:00
cogito
bdcdc9ae96 planet_prison: add id to blueprint references
Adds blueprint to new blueprint references.
2020-01-18 08:58:28 +01:00
cogito
6eb1486574 planet_prison: add an afk timer
Adds an afk timer, 90 minutes. After that time you die.
2020-01-18 08:58:28 +01:00
cogito
336b538545 planet_prison: common: mark "this" as global
There are upcoming commits that heavily use this module in closures
so mark "this" as global to prevent upvalue errors.
2020-01-18 08:58:28 +01:00
cogito
6d5f869e2b planet_prison: layers: add dependency injector
If some hook requires external variables it can inject them into layer
object at runtime. This should solve the upvalue problem.
2020-01-18 08:58:28 +01:00
cogito
f40a011ff5 planet_prison: fix bp nil reference bug
Traversing objects.refs and removing items at the same time is dangerous.
Order of for loop was reversed to hopefully mitigate this problem.
2020-01-10 17:39:44 +01:00
cogito
17486c4053 planet_prison: optimize map gen
Optimizes map generation. Currently, 16kb were used per chunk for
internal processing geared towards update time and not save time.
Map generation was optimized in a such was that only 8 bytes are
used per chunk, but since we no longer have granular data as before,
occasional lag spikes may occur as much more data needs to get
processed right as we get it.
2020-01-10 17:39:44 +01:00
cogito123
019f933fde maps/planet_prison: add scenario
This scenario must be ran with all comfy gui shutdown.
2020-01-04 21:54:17 +01:00