Compare commits

...
Sign in to create a new pull request.

262 commits

Author SHA1 Message Date
Simon Brodtmann
c37af37791 Readme 2025-12-16 23:28:05 +01:00
Simon Brodtmann
6e918ca9bd Correct mod name 2025-12-16 23:27:57 +01:00
Simon Brodtmann
79a5aa1bcd 1.2.0 2025-12-16 23:23:17 +01:00
Simon Brodtmann
ca3c660e37 Update Readme 2025-12-16 23:19:52 +01:00
Simon Brodtmann
769759b494 Remove diversitree 2025-12-16 23:04:37 +01:00
Simon Brodtmann
6c7fb71608 Fix mod names/descriptions 2025-12-16 23:03:08 +01:00
Simon Brodtmann
0ed5d1144d Move quality assembler to the end of the subgroup 2025-12-16 22:55:30 +01:00
Simon Brodtmann
2891288a91 Split mod into mainstream and directors cut 2025-12-16 22:55:30 +01:00
Simon Brodtmann
2cd984c35e 1.1.0 2025-12-16 21:42:38 +01:00
Simon Brodtmann
acbf072771 Remove Mod Framework 2025-12-16 21:42:00 +01:00
Simon Brodtmann
e213ae9f2f Integrate wood logistics code into this mod 2025-12-16 21:42:00 +01:00
Simon Brodtmann
709c834ebd Only move yellow and purple science after space science when progressive technologies are enabled 2025-12-16 20:33:04 +01:00
Simon Brodtmann
8974981d07 Add golden module 2025-12-16 20:23:34 +01:00
Simon Brodtmann
414ccf59a4 Quality assembler has module slots dependant on quality (1-6) 2025-12-16 18:41:19 +01:00
Simon Brodtmann
5adfc7e044 Integrate quality assembler code into this mod 2025-12-16 14:39:45 +01:00
Simon Brodtmann
44f94db262 Correctly use audible_distance_modifier 2025-12-16 14:39:41 +01:00
Simon Brodtmann
52538eadac Any planet start: Change description of Lignumis to name the selected parent planet 2025-12-16 00:34:47 +01:00
Simon Brodtmann
f39ad8f6fe 1.0.78 2025-12-16 00:18:53 +01:00
Simon Brodtmann
11d5f65680 Integrate lumber mill code into this mod 2025-12-16 00:03:33 +01:00
Simon Brodtmann
bb624c1159 Add setting to make the lumber mill electric 2025-12-15 23:25:31 +01:00
Simon Brodtmann
3115b51e4e Wooden logistics: Change compatibility to stick closer to how wooden logistics does things (breaking change) 2025-12-15 22:26:42 +01:00
Simon Brodtmann
52725edc46 1.0.77 2025-12-14 18:24:09 +01:00
Simon Brodtmann
31be99bdec Wood logistics: Correct lumber mill technology 2025-12-14 18:18:29 +01:00
Simon Brodtmann
377a703ed8 Integrate deep miner code into this mod 2025-12-14 11:48:09 +01:00
Simon Brodtmann
141aa9a124 Add Ko-fi to readme 2025-12-14 10:51:41 +01:00
Simon Brodtmann
15a857e689 Correct description of quality assembler 2025-12-12 23:33:14 +01:00
Simon Brodtmann
aca569cc58 1.0.76 2025-12-12 23:25:55 +01:00
Simon Brodtmann
61c2d30dd7 Diversitree: Improve compatibility 2025-12-12 22:14:31 +01:00
Simon Brodtmann
996fd2f7c4 Add support for wood logistics 2025-12-12 19:32:33 +01:00
Simon Brodtmann
663779901d Use additional_categories for wood processing 2025-12-12 19:30:12 +01:00
Simon Brodtmann
c6432920cf Use cf-lib Settings 2025-12-10 22:06:22 +01:00
Jurgen
14badb6b6f Canal excavator compatibility 2025-12-09 00:26:59 +01:00
Simon Brodtmann
df7c8bac98 1.0.75 2025-12-09 00:22:55 +01:00
Simon Brodtmann
bb52fad493 Remove default item weights as the code has been moved to PlanetsLib 2025-12-09 00:13:47 +01:00
Simon Brodtmann
3c222237ce Use additional_categories for quality assembling 2025-12-09 00:09:36 +01:00
e03f854222 Added order to subgroup
Fixes an issue with Recycling in Factoriopedia that expects all subgroups to have an order.
https://mods.factorio.com/mod/recycling-factoriopedia
2025-11-24 18:26:49 +01:00
Simon Brodtmann
b50a36d114 Add is_satellite to PlanetsLib:extend 2025-11-20 14:22:26 +01:00
Simon Brodtmann
02cf0273d7 1.0.74 2025-11-18 10:21:29 +01:00
Simon Brodtmann
d8c3b5b565 Don't hide worker robot speed 3 before before level 2 is researched 2025-11-18 10:04:41 +01:00
Simon Brodtmann
fc51b26a28 Set default weight for battery 2025-11-18 09:38:14 +01:00
Simon Brodtmann
21e30d2ef7 1.0.73 2025-11-16 18:47:37 +01:00
Simon Brodtmann
9d94502296 Add indicators to the settings 2025-11-16 12:07:48 +01:00
Simon Brodtmann
67538d78f4 Update description to make breaking changes more clear 2025-11-16 11:41:49 +01:00
Simon Brodtmann
4ea352f466 editorconfig 2025-11-11 23:12:28 +01:00
Simon Brodtmann
0ec3d172bc Add setting to restrict sciences to Lignumis 2025-11-11 23:12:21 +01:00
Simon Brodtmann
9c3800e293 Remove wrong mipmap count 2025-11-10 21:07:12 +01:00
Simon Brodtmann
867da1dd8f Add provisional-rocket-part to provisional-rocketry effects (thanks Noreja) 2025-11-10 20:45:13 +01:00
Simon Brodtmann
48f6b5594d 1.0.72 2025-11-01 18:09:21 +01:00
Simon Brodtmann
2909937765 Move parent planet calculation to data-updates 2025-11-01 17:54:21 +01:00
Simon Brodtmann
9b268afba9 Buff quality assembling 2025-11-01 17:14:01 +01:00
Simon Brodtmann
c3e7ba5a2f Fix changelog 2025-10-21 00:16:14 +02:00
Simon Brodtmann
1e7800e4bb thumbnail 2025-10-20 23:24:20 +02:00
Simon Brodtmann
50aa8a956d 1.0.71 2025-10-20 23:17:37 +02:00
Simon Brodtmann
5cd457fbb8 readme 2025-10-20 23:14:10 +02:00
Simon Brodtmann
03f58c1493 Move wriggler sources to assets mod 2025-10-20 23:13:55 +02:00
Simon Brodtmann
f8cfa91b70 Use 60 sec crafting time for active noise cancelling to visualise progress
Reduce energy usage to 500kW
2025-10-17 10:22:23 +02:00
Simon Brodtmann
f76c7e6564 1.0.70 2025-10-07 21:50:58 +02:00
Simon Brodtmann
0d93d1989d Any Planet Start: Prevent crashes 2025-10-07 21:50:22 +02:00
Simon Brodtmann
9d1d5d8cbd 1.0.69 2025-10-02 22:11:31 +02:00
Simon Brodtmann
a28be675ca Readme 2025-10-02 22:11:18 +02:00
Simon Brodtmann
ab24e7f496 Fix more item weights 2025-10-02 22:10:47 +02:00
Simon Brodtmann
0e3c7c4819 1.0.68 2025-09-28 11:36:47 +02:00
Simon Brodtmann
74eb162d9a Remove enemies from starting area when leaving Lignumis 2025-09-28 11:36:00 +02:00
Simon Brodtmann
429e8a3a41 Readme 2025-09-28 11:35:25 +02:00
Simon Brodtmann
443eee9e17 1.0.67 2025-09-24 23:19:09 +02:00
Simon Brodtmann
e4fdd67bdf Fix potential crash when escaping to Nauvis 2025-09-24 23:17:53 +02:00
Simon Brodtmann
eb6b0d6384 K2SO: Move K2 starting recipes to Nauvis technologies 2025-09-24 22:48:36 +02:00
Simon Brodtmann
82ea8f3862 Reduce energy usage of Active noise cancelling tower 2025-09-21 12:32:22 +02:00
Simon Brodtmann
7ccd4d3a82 1.0.66 2025-09-21 10:17:52 +02:00
Simon Brodtmann
a158a42cfe Buff Cupriavidus Necator starter recipe 2025-09-21 09:13:01 +02:00
Simon Brodtmann
702e218a62 Buff wood liquefaction recipe by 50% for electric assemblers 2025-09-21 08:51:43 +02:00
Simon Brodtmann
aaea504cef More item weights 2025-09-17 23:21:28 +02:00
Simon Brodtmann
2336ad4d44 Buff Lignumis enemies 2025-09-17 23:21:16 +02:00
Simon Brodtmann
5c556646d9 Update Discord link 2025-09-15 18:13:53 +02:00
Simon Brodtmann
607ce9feb8 1.0.65 2025-09-14 13:48:30 +02:00
Simon Brodtmann
9bf4a5d6ff Add setting for infinite astroponics productivity research 2025-09-14 13:47:12 +02:00
Simon Brodtmann
ee9eb8faf1 More item weights 2025-09-13 23:21:40 +02:00
Simon Brodtmann
c1797dfcfe Remove warning for Alien Biomes 2025-09-11 18:55:59 +02:00
Simon Brodtmann
8fb0fac800 1.0.64 2025-09-10 23:19:31 +02:00
Simon Brodtmann
9cff8c4401 Fix steam assembler scaling with increased energy usage from modules 2025-09-10 23:18:41 +02:00
Simon Brodtmann
25b396affc Fix more item weights 2025-09-10 23:12:06 +02:00
Simon Brodtmann
7385751f2d 1.0.63 2025-09-09 19:11:11 +02:00
Simon Brodtmann
2d327c805d Wooden belts have half the weight 2025-09-09 19:09:44 +02:00
Simon Brodtmann
014eed03aa Fix vanilla more item weights 2025-09-09 19:09:32 +02:00
Simon Brodtmann
e14789ee81 1.0.62 2025-09-02 10:40:55 +02:00
Simon Brodtmann
3fb93faea5 Lumber mill can be built on Vulcanus 2025-09-02 10:34:22 +02:00
b746a7c88c fix: add final fixes for Lignumis and Alien Biomes compatibility (#7)
refer to: https://discord.com/channels/1327043776715292773/1327045033077248021/1400725705867919371

Added a compatibility fix for alien biomes and lignumis.

Changes:
- added back the vanilla fertile tiles tha Alien Biomes remove to the tile restrictions of trees for manual and world gen spawning and planting of trees.
- retains Lignumis' aesthetics of using the vanilla tiles and Nauvis' Alien Biomes
- able to plant and spawn trees in Lignumis now when Alien Biomes is also enabled

ps. this is the first time I contributed/made a mod for factorio, if there is anything to be improved on the syntaxes and anything do let me know.

Co-authored-by: chromebomb
Reviewed-on: #7
Co-authored-by: chromebomb <chromebomb@noreply.example.org>
Co-committed-by: chromebomb <chromebomb@noreply.example.org>
2025-09-01 12:35:06 +02:00
14e16c2fdb Add Spanish locales (#6)
By DFOXpro
Reviewed-on: #6
Co-authored-by: DFOXpro <dfoxpro@noreply.example.org>
Co-committed-by: DFOXpro <dfoxpro@noreply.example.org>
2025-09-01 12:34:11 +02:00
Simon Brodtmann
df822c0e02 Don't create recycle recipe for refresh-steam-science-pack 2025-08-30 11:28:21 +02:00
Simon Brodtmann
501b65018d 1.0.61 2025-08-29 22:28:57 +02:00
Simon Brodtmann
a146b68220 Add setting for spoiling of science packs 2025-08-29 22:26:22 +02:00
Simon Brodtmann
8cb2417f6d Add setting for double provisional rocket captacity 2025-08-29 21:58:56 +02:00
Simon Brodtmann
d99e06166f Readme 2025-08-29 21:58:19 +02:00
Simon Brodtmann
c40fcdd326 Always show moist stromatolite remnant in filter UI 2025-08-28 20:11:31 +02:00
Simon Brodtmann
8b8099ef06 Increase generation of peat 2025-08-26 16:15:09 +02:00
Simon Brodtmann
f61b41fd07 Readme 2025-08-26 16:15:08 +02:00
Simon Brodtmann
a13a3bee15 1.0.60 2025-08-25 23:05:20 +02:00
Simon Brodtmann
4dd8fda3ce Fix item weights 2025-08-25 23:04:01 +02:00
Simon Brodtmann
6ea9a3f8e5 AAI Loaders: Don't load code when mode is set to graphics only 2025-08-24 19:05:00 +02:00
Simon Brodtmann
731deb2a62 Mark RSO as incompatible 2025-08-24 18:59:01 +02:00
Simon Brodtmann
8415b722d6 1.0.59 2025-08-22 16:29:52 +02:00
Simon Brodtmann
a78e3a5886 Fix possible crash when transitioning to Nauvis 2025-08-22 16:28:27 +02:00
Simon Brodtmann
dd22ecb954 Reduce mining time of the burner lamp 2025-08-22 16:07:21 +02:00
Simon Brodtmann
18475a7c43 1.0.58 2025-08-22 11:00:34 +02:00
Simon Brodtmann
a17f99a3c6 Add compatibility for K2SO 2025-08-22 08:23:47 +02:00
Simon Brodtmann
87bddaf7d3 Add burner lamp 2025-08-22 08:08:43 +02:00
Simon Brodtmann
14880dbdde Any planet start: Move code to data final fixes 2025-08-22 07:08:54 +02:00
Simon Brodtmann
75cbfe2083 AAI Industry and Crushing industry: Fix burner crusher gold recipe
https://mods.factorio.com/mod/lignumis/discussion/68a70d74b6418d6882e78783
2025-08-22 04:53:07 +02:00
Simon Brodtmann
1dbe1af301 Add setting for keeping the vanilla lab recipe
https://mods.factorio.com/mod/lignumis/discussion/68725ff2ad76390859ee01a7
2025-08-22 04:13:09 +02:00
Simon Brodtmann
ac2e341e41 Clean up translations 2025-07-24 00:37:42 +02:00
Simon Brodtmann
3a5aac5e2a 1.0.57 2025-07-11 21:55:51 +02:00
Simon Brodtmann
418607e6af Add gleba-water-cane dependency 2025-07-11 21:53:48 +02:00
Simon Brodtmann
966e619194 Readme 2025-07-11 21:53:27 +02:00
3703c96b30 Updated German Translation
The translation has been adapted to the vanilla counterparts and some grammatical errors have been fixed.
2025-07-08 08:14:14 +02:00
Simon Brodtmann
fd8c0c39a4 1.0.56 2025-07-07 23:49:55 +02:00
Simon Brodtmann
82f882d920 Fix bug with Astrponics 1.7.0 2025-07-07 23:36:58 +02:00
90a1805529 Added German Translation 2025-07-06 20:27:27 +02:00
Simon Brodtmann
cde23875b5 1.0.55 2025-06-25 09:54:04 +02:00
Simon Brodtmann
bf2a844eeb Crushing Industry: Molten gold is made from crushed gold
Crushing gold returns moist stromatolite remnant instead of sand
2025-06-25 00:40:27 +02:00
Simon Brodtmann
3075523b3f Gold cable can be crafted in the electromagnetic plant 2025-06-25 00:39:29 +02:00
Simon Brodtmann
96b685a222 Add Lignumis recipe for processing unit 2025-06-25 00:39:08 +02:00
Simon Brodtmann
88bf78f615 Reduce noise 2025-06-24 22:55:56 +02:00
Simon Brodtmann
37bbdf1096 Readme 2025-06-22 23:51:07 +02:00
Simon Brodtmann
74134c6e8a The setting for wood on Fulgora is now off by default 2025-06-22 09:36:59 +02:00
Simon Brodtmann
c6951547a6 1.0.54 2025-06-21 10:34:43 +02:00
befa656b35 Update russian locale 2025-06-21 10:19:27 +02:00
Simon Brodtmann
9233931a2a Add astroponics productivity research 2025-06-21 10:19:27 +02:00
Simon Brodtmann
31872fef53 Forbid lumber mill in space 2025-06-21 10:19:27 +02:00
Simon Brodtmann
93329a853e Readme 2025-06-21 10:19:27 +02:00
Simon Brodtmann
7abcc07a0b 1.0.53 2025-06-08 18:15:32 +02:00
Simon Brodtmann
0b72861273 Reduce usage of resources for some buildings 2025-06-08 17:19:31 +02:00
Simon Brodtmann
4553e887a3 Any Planet Start: Works with moons now 2025-06-08 17:09:51 +02:00
Simon Brodtmann
c20f490d81 Gold plates require 1 gold ore again 2025-06-08 17:09:51 +02:00
Simon Brodtmann
1dc928acdd Readme 2025-06-08 00:03:36 +02:00
Simon Brodtmann
6eb8338779 1.0.52 2025-06-06 14:26:30 +02:00
Simon Brodtmann
e0df3f1335 Add flames and explosions to transition 2025-06-06 14:25:52 +02:00
Simon Brodtmann
d09b66deb5 Increase speed of rocket a bit 2025-06-06 14:25:17 +02:00
Simon Brodtmann
0ea9d1a170 1.0.51 2025-06-06 13:41:58 +02:00
Simon Brodtmann
8c88e8ac8a Crushing industry + Hot metals: Fix crushed gold not being smelted into hot gold 2025-06-05 16:52:02 +02:00
Simon Brodtmann
b889d0db26 Adjust essential flags on technologies 2025-06-04 23:02:14 +02:00
Simon Brodtmann
05b7278b80 Readme 2025-06-04 23:02:14 +02:00
Simon Brodtmann
2ccc07fd74 1.0.50 2025-06-04 16:35:57 +02:00
Simon Brodtmann
23f5286d22 Reapply "Improve transition to Nauvis"
This reverts commit 4e415782f2.
2025-06-04 16:34:02 +02:00
Simon Brodtmann
9c18aba1da 1.0.49 2025-06-04 16:32:26 +02:00
Simon Brodtmann
4e415782f2 Revert "Improve transition to Nauvis"
This reverts commit 07df28273d.
2025-06-04 16:30:52 +02:00
Simon Brodtmann
3683a492c0 Burner-Leech-Fork is not incompatible anymore 2025-06-04 16:24:22 +02:00
Simon Brodtmann
57b3ee9ece Enable burner leech when no dedicated mod is installed 2025-06-03 22:51:33 +02:00
Simon Brodtmann
e56b5a7087 Correct indentation 2025-06-03 19:53:10 +02:00
Simon Brodtmann
822eb1fd7c 1.0.48 2025-06-03 19:51:28 +02:00
Simon Brodtmann
07df28273d Improve transition to Nauvis 2025-06-03 19:46:55 +02:00
Simon Brodtmann
6fc153f3bd Make InserterFuelLeech optional 2025-06-03 16:50:33 +02:00
Simon Brodtmann
68903532bf 1.0.47 2025-05-31 22:58:50 +02:00
Simon Brodtmann
07cb973c00 Correct Factoriopedia simulation for wooden underground belts 2025-05-30 22:35:49 +02:00
Simon Brodtmann
f8671cf738 Fix crash when the on_rocket_launched event doesn't have a rocket_silo 2025-05-30 21:54:11 +02:00
Simon Brodtmann
81214f2a46 Fix crash when there is a tree that has no minable property 2025-05-30 21:48:47 +02:00
Simon Brodtmann
415054ae2b 1.0.46 2025-05-23 21:07:47 +02:00
Simon Brodtmann
8da7d0cea7 Balance basic robots battery usage 2025-05-23 21:02:16 +02:00
Simon Brodtmann
c968a7e437 Correct items per rocket for belts 2025-05-23 21:02:16 +02:00
Simon Brodtmann
f98bbebdab Solar power is orbiting planet +20% 2025-05-23 13:58:20 +02:00
Simon Brodtmann
9f924c3aea 1.0.45 2025-05-03 23:00:57 +02:00
Simon Brodtmann
90a59a7f47 Any Planet Start: Fix planet discovery being disabled 2025-05-03 23:00:02 +02:00
Simon Brodtmann
596077912f 1.0.44 2025-04-20 23:20:09 +02:00
Simon Brodtmann
60a5e37647 1.0.43 2025-04-20 23:10:31 +02:00
Simon Brodtmann
3fffc31f2d Crushing Industry: Move compatibility code to updates phase 2025-04-20 23:08:58 +02:00
Simon Brodtmann
67b4ec0a09 Any planet start (Vulcanus): Add some fixes to not get stuck 2025-04-20 16:58:57 +02:00
Simon Brodtmann
a6a1461581 Correct description of the Quality Assembler 2025-04-20 16:58:12 +02:00
Simon Brodtmann
58da2ed2d4 Any planet start: Move code to updates stage 2025-04-15 18:08:19 +02:00
Simon Brodtmann
656a151075 1.0.42 2025-04-14 15:42:11 +02:00
Simon Brodtmann
d03dfeb643 Crushing Industry: Fix wrong ingredient amount for gold from crushed gold 2025-04-14 14:22:31 +02:00
Simon Brodtmann
e7077ef65b Helmod: Fix bug with steam assembler
(now really)
2025-04-13 22:50:16 +02:00
Simon Brodtmann
77685f2a3e 1.0.41 2025-04-13 15:11:42 +02:00
Simon Brodtmann
7416b4a505 Prevent broken icons 2025-04-13 15:09:36 +02:00
Simon Brodtmann
e18619c807 Add setting for even earlier personal robots 2025-04-13 13:42:42 +02:00
Simon Brodtmann
c8959290c0 Wood Gasification updated: Fix amount of wood per tree 2025-04-13 00:14:47 +02:00
Simon Brodtmann
5bdde48ef1 Any planet start: Fix circular dependency 2025-04-12 23:53:47 +02:00
Simon Brodtmann
aa44117a49 Any planet start: Fix prerequisites for "Tree seeding" 2025-04-12 20:17:25 +02:00
Simon Brodtmann
667678098d Require cf-lib 0.0.12 2025-04-12 20:13:14 +02:00
Simon Brodtmann
22e3f9709e Helmod: Fix bug with steam assembler 2025-04-12 16:27:11 +02:00
Simon Brodtmann
45f245d422 1.0.40 2025-04-06 16:49:05 +02:00
Simon Brodtmann
dffaa99173 Add setting for wood on Fulgora and make Wooden Fulgora optional again 2025-04-06 16:41:10 +02:00
Simon Brodtmann
51e9682125 Remove inventory of provisional rocket silo 2025-04-06 11:27:55 +02:00
Simon Brodtmann
17c2795b3d Add fix for duplicate ready rocket silo 2025-04-06 11:27:12 +02:00
Simon Brodtmann
0353f91144 1.0.39 2025-04-03 18:40:03 +02:00
Simon Brodtmann
bcc4c7a18f Add Space Age flag 2025-04-03 18:31:39 +02:00
Simon Brodtmann
0bbd830068 AAI Loaders: Adhere belt progression setting 2025-04-03 18:19:12 +02:00
Simon Brodtmann
087c30ffcc AAI loaders, Lane splitters: Apply recipe changes only when AAI Industry is active 2025-03-29 23:10:05 +01:00
Simon Brodtmann
7f67e0eff6 1.0.38 2025-03-28 21:28:06 +01:00
Simon Brodtmann
a78bcb75df Any planet start: Change internal name of the space connection to Lignumis depending on the selected planet 2025-03-28 21:28:01 +01:00
Simon Brodtmann
044e058784 Any planet start (Vulcanus) + Crushing Industry: Move iron crushing to fix soft-lock 2025-03-28 21:13:32 +01:00
Simon Brodtmann
2f01c16cda Readme 2025-03-28 19:05:36 +01:00
Simon Brodtmann
6f0fb8cf6f 1.0.37 2025-03-28 18:53:55 +01:00
Simon Brodtmann
bf2f46512e Any planet start (Fulgora): Medium electric pole is unlocked together with the recycler 2025-03-28 18:43:29 +01:00
Simon Brodtmann
151337c116 Add compatibility for "Gleba reborn" 2025-03-28 10:06:13 +01:00
Simon Brodtmann
6f4e8dcda8 Add compatibility for "Any planet start" (Gleba) 2025-03-28 10:06:13 +01:00
Simon Brodtmann
5ca6eb9b3d Wood mods for Vulcanus and Fulgora are mandatory
Sort mods alphabetically
2025-03-28 10:06:13 +01:00
Simon Brodtmann
8ca02c341c Add compatibility for "Any planet start" (Fulgora) 2025-03-28 09:23:01 +01:00
Simon Brodtmann
c5d94ec0b9 Add compatibility for "Any planet start" (Vulcanus) 2025-03-28 00:33:08 +01:00
Simon Brodtmann
d15f877fe1 readme 2025-03-25 20:21:16 +01:00
Simon Brodtmann
2b847f5cd3 Add descriptions with gold per minute from plants and seeds 2025-03-25 20:21:10 +01:00
Simon Brodtmann
a7490b6277 Crushing Industry: Burner Cusher can be crafted in Lumber Mill 2025-03-25 19:47:39 +01:00
Simon Brodtmann
799e22b90a Switch to "Inserter Fuel Leech" 2025-03-25 19:47:39 +01:00
Simon Brodtmann
ea7c652875 Crushing Industry: Fix name of burner crusher copper recipe 2025-03-24 01:26:07 +01:00
Simon Brodtmann
d7f5d0ca67 1.0.36 2025-03-24 01:18:09 +01:00
Simon Brodtmann
8eca5c0952 Add compatibility for "Crushing Industry" 2025-03-24 01:12:56 +01:00
Simon Brodtmann
07afca839c Wood Industry: Woodchips have "wood" fuel category 2025-03-23 22:50:41 +01:00
Simon Brodtmann
cfe22bf13d AAI Industry: Add "wood" fuel category to burner generator and fuel processor 2025-03-23 22:39:55 +01:00
Simon Brodtmann
2a8a2e3562 Fix recylce recipe being generated for rocket parts 2025-03-23 22:30:32 +01:00
Simon Brodtmann
75570cd460 AAI Loaders: Correct item/recipe order 2025-03-23 22:28:45 +01:00
Simon Brodtmann
d68d0c1087 Lane Splitters: Correct item order 2025-03-23 22:28:27 +01:00
Simon Brodtmann
1bda174426 Basic construction robots copper recipe uses basic circuit boards and wooden gear wheels 2025-03-19 00:27:56 +01:00
Simon Brodtmann
ed170d2d4d 1.0.35 2025-03-18 20:38:16 +01:00
Simon Brodtmann
7bc50df763 Regular lab recipe always uses wood belt 2025-03-18 20:36:49 +01:00
Simon Brodtmann
be06f702fb Add russian translation (thanks Fr_Dae) 2025-03-18 20:02:52 +01:00
Simon Brodtmann
843117dfc9 Readme 2025-03-17 21:59:31 +01:00
Simon Brodtmann
21875da7b1 1.0.34 2025-03-17 21:53:34 +01:00
Simon Brodtmann
a60a63135b Make Burner leech fork mandatory 2025-03-17 21:51:53 +01:00
Simon Brodtmann
a546b14d09 Add new enemies 2025-03-17 21:51:53 +01:00
Simon Brodtmann
ac60c67999 Make the second planet after Lignumis configurable by other mods 2025-03-17 18:02:53 +01:00
Simon Brodtmann
8982b1bf82 Balance basic construction robots 2025-03-17 17:15:04 +01:00
Simon Brodtmann
b2b992af5b Corect Date 2025-03-16 22:24:16 +01:00
Simon Brodtmann
981c74aa73 1.0.33 2025-03-16 22:23:00 +01:00
Simon Brodtmann
d1b780636e AAI Loaders: Reduce basic circuit boards to match other tiers 2025-03-16 18:52:44 +01:00
Simon Brodtmann
6f453071ea Lane splitters: Yellow lane splitter uses basic circuit board instead of electronic circuit 2025-03-16 18:52:17 +01:00
Simon Brodtmann
aae06ac132 AAI Loaders: Yellow loader uses basic circuit board instead of electronic circuit 2025-03-16 18:51:59 +01:00
Simon Brodtmann
9b736073a3 Nerf basic portable generator from 200 kW to 100 kW 2025-03-16 10:45:08 +01:00
Simon Brodtmann
d35e86755a Remove temporary fix for crash due to "Wood Walls and floors" 2025-03-16 00:05:23 +01:00
Simon Brodtmann
12fdcbcb90 AAI Industry: Basic construction robot copper recipe uses basic circuit board instead of electronic circuit 2025-03-16 00:04:39 +01:00
Simon Brodtmann
70d22cb121 Replace iron gear weel with wooden gear weel in lumber mill copper recipe 2025-03-15 16:06:43 +01:00
Simon Brodtmann
1e219ba4ad AAI Industry: Lumber mill copper recipe uses burner assembler instead of electrical assembler 1 2025-03-15 10:33:04 +01:00
Simon Brodtmann
fda2a82b5e AAI Industry: Remove technology "Basic logistics" 2025-03-15 10:04:55 +01:00
Simon Brodtmann
9edaf14f93 AAI Industry: Move copper cable recipe to copper processing 2025-03-15 00:02:21 +01:00
Simon Brodtmann
b0ee9f94bc 1.0.32 2025-03-14 18:50:18 +01:00
Simon Brodtmann
86f8c55506 Fix players after the first not attackable 2025-03-14 18:46:05 +01:00
Simon Brodtmann
34d3b4a1a5 Add setting for assembler recipe progression and move some lumber mill recipes to a setting 2025-03-14 18:28:27 +01:00
Simon Brodtmann
1b622ffa05 Restrict provisional rocket silo to Lignumis 2025-03-14 12:01:37 +01:00
Simon Brodtmann
cbba8dddf2 Balance noise 2025-03-14 00:37:50 +01:00
Simon Brodtmann
598d6a241f Readme 2025-03-13 16:07:54 +01:00
Simon Brodtmann
56974406d7 1.0.31 2025-03-13 14:17:42 +01:00
Simon Brodtmann
41a84a503f Add copper recipe for lumber mill 2025-03-13 14:14:09 +01:00
Simon Brodtmann
3eb14395ac Add more recipes to lumber mill 2025-03-13 13:57:16 +01:00
Simon Brodtmann
eb849de427 AAI Loaders: Yellow loader recipe uses wood loader 2025-03-12 20:44:17 +01:00
Simon Brodtmann
5e22624330 AAI Loader: Adjust recipe 2025-03-12 20:31:48 +01:00
Nydaleclya
6186bf68ad lignumis/prototypes/compatibility/aai-loaders.lua aktualisiert 2025-03-12 20:29:55 +01:00
Simon Brodtmann
24a33546d5 Possibly fix problems with Wooden rocket silo in remote view 2025-03-12 20:24:51 +01:00
Simon Brodtmann
c7885afe34 Mark Any planet start and Planet picker as incompatible 2025-03-12 20:16:43 +01:00
Simon Brodtmann
9a89515b81 Add missing translation 2025-03-12 20:09:22 +01:00
Simon Brodtmann
b2ac4793c6 1.0.30 2025-03-06 22:49:06 +01:00
Simon Brodtmann
4ed26b5b9d Any planet start: Fix startup crash 2025-03-06 22:45:51 +01:00
Simon Brodtmann
d41cc3c822 1.0.29 2025-03-05 09:49:28 +01:00
Simon Brodtmann
ad56704b52 Fix Burner agricultural tower not having a Nauvis recipe 2025-03-05 09:47:03 +01:00
Simon Brodtmann
c481394e55 Alien Biomes: Add warning 2025-03-05 00:12:54 +01:00
Simon Brodtmann
c334459db2 readme 2025-03-04 21:31:06 +01:00
Simon Brodtmann
e1c40fcd33 Nerf quality assembler to +25% quality 2025-03-04 21:28:24 +01:00
Simon Brodtmann
da50f85b5b Set default for setting "Basic circuit boards" to true 2025-03-04 20:46:42 +01:00
Simon Brodtmann
3b26f3a754 readme 2025-03-04 20:46:14 +01:00
Simon Brodtmann
0bfda7246f 1.0.28 2025-03-04 10:17:22 +01:00
Simon Brodtmann
f91f364c8d Prevent possible errors on player initialization 2025-03-04 09:56:59 +01:00
Simon Brodtmann
8e1c774e2a Steam assembler technology should not ignore tech cost multiplier 2025-03-03 18:41:20 +01:00
Simon Brodtmann
1b117be9c6 AAI Loaders: Add missing translation 2025-03-03 18:40:55 +01:00
Simon Brodtmann
67055378c8 1.0.27 2025-03-02 23:49:55 +01:00
Simon Brodtmann
0fb21cf2ea AAI Industry: Fix basic circuit board recipe unlock 2025-03-02 23:44:01 +01:00
Simon Brodtmann
db9dd1c252 Add compatibility for "Lane splitters" 2025-03-02 23:19:45 +01:00
96 changed files with 5705 additions and 823 deletions

3
.editorconfig Normal file
View file

@ -0,0 +1,3 @@
[*]
indent_style = space
indent_size = 4

14
README-cf.md Normal file
View file

@ -0,0 +1,14 @@
[![foundrygg.com](https://img.shields.io/badge/foundrygg-4a1402?style=for-the-badge&logo=vercel&logoColor=white)](https://foundrygg.com)[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/ufvFUJtVwk)[![Forgejo](https://img.shields.io/badge/source%20code-%23f4f4f5?style=for-the-badge&logo=forgejo&logoColor=%23c2410c)](https://git.cacklingfiend.info/cacklingfiend/lignumis)[![Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2Flignumis&query=%24.downloads_count&suffix=%20Downloads&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI%2FPgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI%2BCjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMTIxNnB0IiBoZWlnaHQ9IjEyODBwdCIgdmlld0JveD0iMCAwIDEyMTYgMTI4MCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDEyODApIHNjYWxlKDAuMSwtMC4xKSIKZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTM0NzAgOTYwMCBsMCAtMzIwMCAtMTczMSAwIGMtOTUyIDAgLTE3MjkgLTQgLTE3MjcgLTggNCAtMTIgNjA2MgotNjM5MCA2MDY4IC02MzkwIDYgMCA2MDY0IDYzNzggNjA2OCA2MzkwIDIgNCAtNzc1IDggLTE3MjcgOCBsLTE3MzEgMCAwIDMyMDAKMCAzMjAwIC0yNjEwIDAgLTI2MTAgMCAwIC0zMjAweiIvPgo8L2c%2BCjwvc3ZnPgo%3D&label=&labelColor=%23e39827&color=%23e39827)](https://mods.factorio.com/mod/lignumis/metrics?range=last_two_months&type=mod_downloads)[![Ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/cacklingfiend)
_________________
![Lignumis poster](https://git.cacklingfiend.info/cacklingfiend/lignumis-assets/raw/branch/main/sources/readme/poster.jpg)
## Lignumis - Director's Cut
This mod extends the early game of Space Age by putting you on the moon "Lignumis" before you escape to Nauvis. It concentrates on wood and steam technologies, giving you some early game production chains for those resources.
**The is the director's cut of the mod with additional wood mods and most settings enforced. It changes the experience outside of Lignumis by adding the requirement for wood and the Lignumis science packs. For the mainstream experience, install the [Regular version](https://mods.factorio.com/mod/lignumis).**
## More information
Please continue reading the description of the [Regular version](https://mods.factorio.com/mod/lignumis).

145
README.md
View file

@ -1,16 +1,77 @@
[![foundrygg.com](https://img.shields.io/badge/foundrygg-4a1402?style=for-the-badge&logo=vercel&logoColor=white)](https://foundrygg.com)[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/ufvFUJtVwk)[![Forgejo](https://img.shields.io/badge/source%20code-%23f4f4f5?style=for-the-badge&logo=forgejo&logoColor=%23c2410c)](https://git.cacklingfiend.info/cacklingfiend/lignumis)[![Downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fmods.factorio.com%2Fapi%2Fmods%2Flignumis&query=%24.downloads_count&suffix=%20Downloads&style=for-the-badge&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI%2FPgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI%2BCjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMTIxNnB0IiBoZWlnaHQ9IjEyODBwdCIgdmlld0JveD0iMCAwIDEyMTYgMTI4MCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDEyODApIHNjYWxlKDAuMSwtMC4xKSIKZmlsbD0iI2ZmZmZmZiIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTM0NzAgOTYwMCBsMCAtMzIwMCAtMTczMSAwIGMtOTUyIDAgLTE3MjkgLTQgLTE3MjcgLTggNCAtMTIgNjA2MgotNjM5MCA2MDY4IC02MzkwIDYgMCA2MDY0IDYzNzggNjA2OCA2MzkwIDIgNCAtNzc1IDggLTE3MjcgOCBsLTE3MzEgMCAwIDMyMDAKMCAzMjAwIC0yNjEwIDAgLTI2MTAgMCAwIC0zMjAweiIvPgo8L2c%2BCjwvc3ZnPgo%3D&label=&labelColor=%23e39827&color=%23e39827)](https://mods.factorio.com/mod/lignumis/metrics?range=last_two_months&type=mod_downloads)[![Ko-fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/cacklingfiend)
_________________
![Lignumis poster](https://git.cacklingfiend.info/cacklingfiend/lignumis-assets/raw/branch/main/sources/readme/poster.jpg)
## Lignumis
This mod extends the early game of Space Age by putting you on the moon "Lignumis" before you escape to Nauvis. It concentrates on wood and steam technologies, giving you some early game production chains for those resources.
The duration of the stay on Lignumis will be rather short. The impact of the later game will still be substantial (once implemented).
**The is the mainstream version of the mod with very few changes outside of Lignumis. For the full experience as intended by me, install the [Director's Cut](https://mods.factorio.com/mod/lignumis-cf).**
**If you start a new game, check out the setting for adding Basic circuit boards.**
#### Streamers featuring Lignumis
[![S1-E01 - Lumber Support - Laurence Plays Factorio: Planetary Pioneers](https://i.ytimg.com/vi/1eH4oJtlBpE/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLD6UdmD7HuhCdhQBCCSL38Ke_FpXg)](https://www.youtube.com/watch?v=1eH4oJtlBpE) [![S1-E01 - Lumber Support - Laurence Plays Factorio: Planetary Pioneers](https://i.ytimg.com/vi/TNR1-Z5XFxI/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAvatJCSqylrWAZQyTkcBW_lB82rA)](https://www.youtube.com/watch?v=TNR1-Z5XFxI)
[![Factorio Multiplayer: Planetary Pioneers - Space Age - E01 - 02/06/25 - Laurence Streams](https://i.ytimg.com/vi/OMDpDhZdTmU/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCVQhrlcmwsZbzRDNQo8vgMKtUHaA)](https://www.youtube.com/live/OMDpDhZdTmU?feature=shared&t=290&list=PLALTzJaRcgW97ItZgtZvkqFBcdVjKNVHz&index=2) [![Factorio Multiplayer: Planetary Pioneers - Space Age - E01.5 - 02/06/25 - Laurence Streams](https://i.ytimg.com/vi/d4n1H6Z4KPc/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLA5TNZBTs7GpUFdVB1CG1-hzYw0tw)](https://www.youtube.com/live/d4n1H6Z4KPc?list=PLALTzJaRcgW97ItZgtZvkqFBcdVjKNVHz&index=3) [![Factorio Multiplayer: Planetary Pioneers - Space Age - E02 - 09/06/25 - Laurence Streams](https://i.ytimg.com/vi/guWhjqPrVN0/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAP1kKquScBtrf5w41Eaarp-y5UPA)](https://www.youtube.com/live/guWhjqPrVN0?list=PLALTzJaRcgW97ItZgtZvkqFBcdVjKNVHz&index=4&t=362)
_________________
## Planet perks
#### Early bots
Unlock early personal bots with steam science even before reaching Nauvis. Start with 10 construction bots and upgrade to up to 30 with the heavy armor unlocked with automation science.
There is even a setting to move personal bots to wood science and buff them a bit to get them basically at game start.
#### New belt tier: Wooden belts
This new low-fidelity tier of belts is incredibly cheap and can be used for those low throughput applications.
#### Exported buildings: Lumber mill and burner agricultural tower
These burner buildings help with wood production on other planets and the lumber mill grants a 50% productivity bonus for wood-based items.
#### Exported products: Processing units and low density structures
These items are especially cheap to craft on Lignumis and can be exported to other planets that could use the resources better for other things.
#### Alternative recipes
The Lignumis plastic recipe can be used on other planets just with wood and water. Bring some peat and gold stromatolite seeds for the starter culture. Improve it even more by using the biochamber once unlocked.
Nutrients from wood pulp can be used on all planets for easy nutrients production.
#### Increased astroids
Lignumis orbit has increased amounts of astroids that also have an even distribution. That makes it ideal to jumpstart new space ships and for production platforms.
#### Late game technology: Quality assembler
Craft selected machines and items with a quality bonus of 25% by providing a special gold quality catalyst.
_________________
## Wood production
Sources of wood per planet.
![Wood production vanilla](https://git.cacklingfiend.info/cacklingfiend/lignumis-assets/raw/branch/main/sources/readme/vanilla-planets.png)
## Mod recommendations
The following mods can be a great addition for this mod:
#### [Burner Leech Fork](https://mods.factorio.com/mod/Burner-Leech-Fork)
#### Optional wood mods
There will be fewer inserters that need to be fueled manually.
- [Wooden Fulgora: Coralmium Agriculture](https://mods.factorio.com/mod/fulgora-coralmium-agriculture)
- [Wooden Gleba: Water Cane](https://mods.factorio.com/mod/gleba-water-cane)
- [Wooden Aquilo: Seabloom Algaculture](https://mods.factorio.com/mod/aquilo-seabloom-algaculture)
- [Wooden Cerys: Lunaponics](https://mods.factorio.com/mod/cerys-lunaponics)
- [Wooden Moshine: Solaponics](https://mods.factorio.com/mod/moshine-solaponics)
#### [Any Planet Start](https://mods.factorio.com/mod/any-planet-start)
Allows you to choose the planet that Lignumis orbits. You can continue on Vulcanus, Fulgora or Gleba after leaving Lignumis.
Some modded planets add APS support as well (sometimes with a separate mod).
#### [Diversitree](https://mods.factorio.com/mod/Diversitree)
@ -28,9 +89,14 @@ If you want more of it than Lignumis offers, add this mod. It adds ammo for shot
If you like go more into the charcoal direction. It has no overlap with Lignumis and starts to get relevant on Nauvis.
#### [Wooden Fulgora: Coralmium Agriculture](https://mods.factorio.com/mod/fulgora-coralmium-agriculture), [Wooden Vulcanus: Sulfuric Bacteria](https://mods.factorio.com/mod/vulcanus-sulfuric-bacteria) and [Wooden Aquilo: Seabloom Algaculture](https://mods.factorio.com/mod/aquilo-seabloom-algaculture)
#### [Wooden Logistics](https://mods.factorio.com/mod/wood-logistics)
For wood on the other planets.
This mod adds a few more things around wood. It also changes some recipes that Lignumis also adds. The lumber mill will be two tiles smaller with this mod installed.
#### [Crushing Industry](https://mods.factorio.com/mod/crushing-industry) with [Crushing Industry - Productivity Research](https://mods.factorio.com/mod/crushing-industry-productivity-research)
Recommended with high science cost settings. It adds crushers and crushed ores to increase productivity.
Lignumis adds crushed gold ore and a technology to unlock the crusher with wood and steam science packs.
#### [AAI Loaders](https://mods.factorio.com/mod/aai-loaders)
@ -44,28 +110,15 @@ Add this for increased complexity in the early Nauvis game. It has no effect on
For even more complexity after Lignumis. They currently don't change anything on Lignumis itself.
## Compatibility with other planet mods
The following planet mods are tested for (at least technical) compatibility:
- [Castra](https://mods.factorio.com/mod/castra)
- [Cerys](https://mods.factorio.com/mod/Cerys-Moon-of-Fulgora) + [Wooden Cerys: Lunaponics](https://mods.factorio.com/mod/cerys-lunaponics)
- [Corrundum](https://mods.factorio.com/mod/corrundum)
- [Cubium](https://mods.factorio.com/mod/cubium)
- [Dea Dia System](https://mods.factorio.com/mod/dea-dia-system)
- [Janus](https://mods.factorio.com/mod/janus)
- [Maraxsis](https://mods.factorio.com/mod/maraxsis)
- [Moshine](https://mods.factorio.com/mod/Moshine)
- [Muluna](https://mods.factorio.com/mod/planet-muluna)
- [Terra Palus](https://mods.factorio.com/mod/terrapalus)
- [Secretas & Frozeta](https://mods.factorio.com/mod/secretas)
_________________
## Problematic / incompatible mods
* Mods that let you start on a different planet: They are supported, but you are missing half of the content of this mod.
* Alien Biomes: Lignumis won't have any trees. It's playable, but not as intended.
* The combination of AAI Industry and Any planet start is currently not supported.
* The rest of the Wooden Universe: I marked the ones incompatible that don't make sense to combine or that wouldn't add more that is not already included.
_________________
## Add compatibility to your mod
Lignumis, by default, adds wood and steam science packs during `data-updates.lua` to all technologies that match certain criteria.
@ -104,26 +157,38 @@ Don't touch inputs for labs in this list.
Lignumis adds wood and steam science packs to all labs' inputs in `data-updates.lua` so modded labs will support them.
If your modded lab is special and it should not support these science packs, use this list or set the inputs in `data-final-fixes.lua`.
#### Chaning the second planet (a.k.a. transition to Nauvis)
If you want to create a mod that moves Lignumis to another planet, there is a hidden setting for the scripted transition to teleport the player not to Nauvis but to any planet you like.
This doesn't change any technologies or the location of Lignumis on the map. Make sure you adjust the prototypes as well on your end.
In `settings-updates.lua` add the following to switch to Gleba as the second planet:
```lua
data.raw["string-setting"]["lignumis-second-planet"].allowed_values = { "gleba" }
data.raw["string-setting"]["lignumis-second-planet"].default_value = "gleba"
```
_________________
## Todo
- Fix pipe graphics on desiccation furnace and quality assembler
- Trees must not die when absorbing noise
- https://lua-api.factorio.com/latest/types/TreeVariation.html
- Improve transition to Nauvis a bit more
- Add late-game recipe for oil from wood pulp
- Find a better message when transitioning to Nauvis
- Add information in Factoriopedia
- Compatibility with [On Wayward Seas](https://mods.factorio.com/mod/wayward-seas)
- Compatibility with [Noble Metals](https://mods.factorio.com/mod/bzgold) once it's updated
_________________
## Credits
### Translations
- Simplified chinese (zh-CN): cyx2015s
- German (de): Lucanoria
- Polish (pl): StarGazer
- Russian (ru): Fr_Dae
- Simplified chinese (zh-CN): cyx2015s
### Assets
### Assets / Code
[Hurricane](https://mods.factorio.com/user/Hurricane046)
@ -169,10 +234,6 @@ If your modded lab is special and it should not support these science packs, use
- [Mute icon](https://icons8.com/icon/9414/no-audio)
[_CodeGreen](https://mods.factorio.com/user/_CodeGreen)
- Lignumis as starting planet inspired by [Any Planet Start](https://mods.factorio.com/mod/any-planet-start)
[Free Music Archive](https://freemusicarchive.org)
- [The Owl: telescope](https://freemusicarchive.org/music/The_Owl/Fairy_Forest/the_owl_-_fairy_forest_-_04_the_owl_-_telescope/) (CC BY-NC-ND)
@ -184,3 +245,17 @@ If your modded lab is special and it should not support these science packs, use
[Pixabay](https://pixabay.com)
- [AudioPapkin: Forest ambience](https://pixabay.com/sound-effects/forest-ambience-296528/)
- Various sounds for the Lumber Mill, Deep Miner and Quality Assembler
[SafTheLamb](https://mods.factorio.com/user/SafTheLamb)
- [Early Agriculture](https://mods.factorio.com/mod/early-agriculture): Fix for trees not being plantable on Nauvis with Alien Biomes active.
- [Wooden Logistics](https://mods.factorio.com/mod/wood-logistics): Code for AAI Loader.
[Larger Lamps](https://mods.factorio.com/mod/DeadlockLargerLamp)
- Burner lamp
Talandar
- Planet graphics

18
lignumis-cf/info.json Normal file
View file

@ -0,0 +1,18 @@
{
"name": "lignumis-cf",
"version": "1.2.0",
"title": "Lignumis - Director's Cut",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.\n\nThis is the version that represents the original idea of the mod author. For a more isolated planet mod experience, install the regular version.",
"author": "cackling fiend",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"space_travel_required": true,
"dependencies": [
"lignumis",
"aquilo-seabloom-algaculture",
"astroponics >= 1.2.0",
"fulgora-coralmium-agriculture",
"gleba-water-cane",
"vulcanus-sulfuric-bacteria"
]
}

674
lignumis-cf/license.txt Normal file
View file

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐Lignumis - Director's Cut
[mod-description]
lignumis-cf=Tauche ein in die Welt von Lignumis, einem Mond von Nauvis, der nur die grundlegendsten Technologien bietet.\n\n\Dies ist die Version, die die ursprüngliche Idee des Autors repräsentiert. Für eine eher isolierte Planet-Mod-Erfahrung, installiere die reguläre Version.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐Lignumis - Director's Cut
[mod-description]
lignumis-cf=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.\n\nThis is the version that represents the original idea of the mod author. For a more isolated planet mod experience, install the regular version.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐Lignumis - Director's Cut
[mod-description]
lignumis-cf=Sumérgete en el mundo de Lignumis, una luna de Nauvis que ofrece solo las tecnologías más básicas.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐Lignumis - Director's Cut
[mod-description]
lignumis-cf=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐Лигнумис - Director's Cut
[mod-description]
lignumis-cf=Погрузитесь в мир Лигнумиса — луны Наувиса, предлагающей лишь самые базовые технологии.

View file

@ -0,0 +1,5 @@
[mod-name]
lignumis-cf=○🌐愈创星 - Lignumis - Director's Cut
[mod-description]
lignumis-cf=潜入木木世界的世界,木星的月亮只提供最基本的技术

31
lignumis-cf/settings.lua Normal file
View file

@ -0,0 +1,31 @@
local Settings = require("__cf-lib__/settings/Settings")
local force = Settings.force
local forceDefault = Settings.forceDefault
-- Lignumis
force("lignumis-restrict-sciences", true)
force("lignumis-basic-circuit-board", true)
force("lignumis-belt-progression", true)
force("lignumis-ammo-progression", true)
force("lignumis-technology-progression", true)
force("lignumis-circuit-progression", true)
force("lignumis-fulgora-wood", false)
force("lignumis-vanilla-lab", false)
force("lignumis-lumber-mill-more-recipes", true)
force("lignumis-electric-lumber-mill", false)
if not mods["aai-industry"] then
force("lignumis-inserter-progression", true)
force("lignumis-assembler-progression", true)
end
if not mods["wood-military"] then
force("lignumis-ammo-progression", true)
end
-- Wood Walls
forceDefault("wood-walls-fuelvalue")
forceDefault("wood-walls-wall-cost")
forceDefault("wood-walls-wall-output")
forceDefault("wood-walls-hp")
forceDefault("wood-walls-disable-wall")

BIN
lignumis-cf/thumbnail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View file

@ -1,4 +1,429 @@
---------------------------------------------------------------------------------------------------
Version: 1.2.0
Date: 16.12.2025
Changes:
- This is now considered the "mainstream version" of the mod. Install the "director's cut" for the full experience. This is currently only relevant for new games.
- Move quality assembler to the end of the subgroup
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Date: 16.12.2025
Breaking Changes:
- Integrate quality assembler with new graphics into this mod (changes from 5x5 to 4x4)
- Quality assembler has module slots dependant on quality (1-6)
Changes:
- Add golden module unlocked by "Experienced quality assembling 3"
- Only move yellow and purple science after space science when progressive technologies are enabled
- Integrate wood logistics code into this mod
- Remove Mod Framework (uninstall the mods please)
Bug Fixes:
- Any planet start: Change description of Lignumis to name the selected parent planet
---------------------------------------------------------------------------------------------------
Version: 1.0.78
Date: 16.12.2025
Changes:
- Wooden logistics: Change compatibility to stick closer to how wooden logistics does things (breaking)
- Add setting to make the lumber mill electric
- Integrate lumber mill code into this mod
---------------------------------------------------------------------------------------------------
Version: 1.0.77
Date: 14.12.2025
Changes:
- Integrate deep miner code into this mod
Bug Fixes:
- Correct description of quality assembler
- Wood logistics: Correct lumber mill technology
---------------------------------------------------------------------------------------------------
Version: 1.0.76
Date: 12.12.2025
Changes:
- Add compatibility for "Canal Excavator" (thanks jurgy)
- Add compatibility for "Wood Logistics"
- Diversitree: Improve compatibility
- Use additional_categories for wood processing
---------------------------------------------------------------------------------------------------
Version: 1.0.75
Date: 09.12.2025
Changes:
- Add is_satellite to PlanetsLib:extend
- Remove default item weights as the code has been moved to PlanetsLib
Bug Fixes:
- Recycling in Factoriopedia: Add order to bioprocessing subgroup for compatibility (thanks jvella94)
- Crushing Industry: Use additional_categories for quality assembling so the rocket silo recipe will use concrete mix again
---------------------------------------------------------------------------------------------------
Version: 1.0.74
Date: 18.11.2025
Bug Fixes:
- Set default weight for battery
- Don't hide worker robot speed 3 before before level 2 is researched
---------------------------------------------------------------------------------------------------
Version: 1.0.73
Date: 16.11.2025
Bug Fixes:
- Add provisional-rocket-part to provisional-rocketry effects (thanks Noreja)
Changes:
- Add setting to restrict sciences to Lignumis
- Update descriptions and improve settings labels
---------------------------------------------------------------------------------------------------
Version: 1.0.72
Date: 01.11.2025
Bug Fixes:
- Move parent planet calculation to data-updates
Changes:
- Buff quality assembling
---------------------------------------------------------------------------------------------------
Version: 1.0.71
Date: 20.10.2025
Changes:
- Use 60 sec crafting time for active noise cancelling to visualise progress
- Reduce energy usage of noise cancelling tower to 500kW
---------------------------------------------------------------------------------------------------
Version: 1.0.70
Date: 07.10.2025
Bug Fixes:
- Any Planet Start: Prevent crashes
---------------------------------------------------------------------------------------------------
Version: 1.0.69
Date: 02.10.2025
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.68
Date: 28.09.2025
Changes:
- Remove enemies from starting area when leaving Lignumis
---------------------------------------------------------------------------------------------------
Version: 1.0.67
Date: 24.09.2025
Changes:
- Reduce energy usage of Active noise cancelling tower
- K2SO: Move K2 starting recipes to Nauvis technologies
Bug Fixes:
- Fix potential crash when escaping to Nauvis
---------------------------------------------------------------------------------------------------
Version: 1.0.66
Date: 21.09.2025
Changes:
- Buff medium wrigglers
- Buff wood liquefaction recipe by 50% for electric assemblers
- Buff Cupriavidus Necator starter recipe chance
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.65
Date: 14.09.2025
Changes:
- Remove warning for Alien Biomes
- Add setting for infinite Astroponics productivity research
Bug Fixes:
- Fix more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.64
Date: 10.09.2025
Bug Fixes:
- Fix more item weights
- Fix steam assembler scaling with increased energy usage from modules
---------------------------------------------------------------------------------------------------
Version: 1.0.63
Date: 09.09.2025
Changes:
- Wooden belts have half the weight
Bug Fixes:
- Fix vanilla more item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.62
Date: 02.09.2025
Changes:
- Add spanish locales (thanks DFOXpro)
- Add compatibility for "Alien Biomes" (thanks Chromebomb)
- The lumber mill can be built on Vulcanus again
---------------------------------------------------------------------------------------------------
Version: 1.0.61
Date: 29.08.2025
Changes:
- Increase generation of peat
- Add setting for double provisional rocket capacity
- Add setting for spoiling of science packs
Bug Fixes:
- Always show moist stromatolite remnant in filter UI
---------------------------------------------------------------------------------------------------
Version: 1.0.60
Date: 25.08.2025
Changes:
- Mark RSO as incompatible
Bug Fixes:
- AAI Loaders: Don't load code when mode is set to graphics only
- Fix item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.59
Date: 22.08.2025
Changes:
- Reduce mining time of the burner lamp
Bug Fixes:
- Fix possible crash when transitioning to Nauvis
---------------------------------------------------------------------------------------------------
Version: 1.0.58
Date: 22.08.2025
Changes:
- Add setting for keeping the vanilla lab recipe (https://mods.factorio.com/mod/lignumis/discussion/68725ff2ad76390859ee01a7)
- Add burner lamp
- Add compatibility for "Krastorio 2 Spaced Out"
Bug Fixes:
- AAI Industry and Crushing industry: Fix burner crusher gold recipe (https://mods.factorio.com/mod/lignumis/discussion/68a70d74b6418d6882e78783)
- Any planet start: Move code to data final fixes
---------------------------------------------------------------------------------------------------
Version: 1.0.57
Date: 11.07.2025
Changes:
- Update german translation (thanks Lucanoria)
- Add dependency: Wooden Gleba
---------------------------------------------------------------------------------------------------
Version: 1.0.56
Date: 07.07.2025
Changes:
- Add german translation (thanks Lucanoria)
Bug Fies:
- Fix incompatibility introduced by Astroponics 1.7.0
---------------------------------------------------------------------------------------------------
Version: 1.0.55
Date: 25.06.2025
Breaking Changes:
- Crushing Industry: Molten gold is made from crushed gold (was gold ore)
- Crushing Industry: Crushing gold returns moist stromatolite remnant instead of sand
Changes:
- Gold cable can be crafted in the electromagnetic plant
- Add a Lignumis recipe for processing unit
- Balance (reduce) noise pollution
- The setting for wood on Fulgora is now off by default
---------------------------------------------------------------------------------------------------
Version: 1.0.54
Date: 21.06.2025
Breaking Changes:
- Forbid lumber mill in space
Changes:
- Add astroponics productivity research
- Update russian locale (thanks Onseshigo)
---------------------------------------------------------------------------------------------------
Version: 1.0.53
Date: 08.06.2025
Changes:
- Gold plates require 1 gold ore again and buff gold by 33%
- Reduce usage of resources for some buildings
Bug Fixes:
- Any Planet Start: Works with moons now (required for Cerys)
---------------------------------------------------------------------------------------------------
Version: 1.0.52
Date: 06.06.2025
Changes:
- Increase speed of rocket a bit
- Add flames and explosions to transition
---------------------------------------------------------------------------------------------------
Version: 1.0.51
Date: 06.06.2025
Changes:
- Adjust essential flags on technologies
Bug Fixes:
- Crushing industry + Hot metals: Fix crushed gold not being smelted into hot gold
---------------------------------------------------------------------------------------------------
Version: 1.0.50
Date: 04.06.2025
Changes:
- Reapply "Improve transition to Nauvis"
---------------------------------------------------------------------------------------------------
Version: 1.0.49
Date: 04.06.2025
Changes:
- Enable burner leech when no dedicated mod is installed
- Burner-Leech-Fork is not incompatible anymore
Bug Fixes:
- Revert "Improve transition to Nauvis" since it requires currently unstable Factorio version 2.0.53
---------------------------------------------------------------------------------------------------
Version: 1.0.48
Date: 03.06.2025
Changes:
- Make InserterFuelLeech optional
- Improve transition to Nauvis
---------------------------------------------------------------------------------------------------
Version: 1.0.47
Date: 31.05.2025
Bug Fixes:
- Fix crash when there is a tree that has no minable property
- Fix crash when the on_rocket_launched event doesn't have a rocket_silo
- Correct Factoriopedia simulation for wooden underground belts
---------------------------------------------------------------------------------------------------
Version: 1.0.46
Date: 23.05.2025
Changes:
- Set solar power to orbiting planet's +20%
- Balance basic robots battery usage
Bug Fixes:
- Correct some item weights
---------------------------------------------------------------------------------------------------
Version: 1.0.45
Date: 03.05.2025
Bug Fixes:
- Any Planet Start: Fix planet discovery being disabled
---------------------------------------------------------------------------------------------------
Version: 1.0.44
Date: 20.04.2025
Bug Fixes:
- Add Secretas optional dependency to fix loading order
---------------------------------------------------------------------------------------------------
Version: 1.0.43
Date: 20.04.2025
Changes:
- Any planet start: Move code to updates stage
Bug Fixes:
- Correct description of the Quality Assembler
- Any planet start (Vulcanus): Add some fixes to not get stuck
- Crushing Industry: Move compatibility code to updates phase to prevent crash
---------------------------------------------------------------------------------------------------
Version: 1.0.42
Date: 14.04.2025
Bug Fixes:
- Helmod: Fix bug with steam assembler (now really)
- Crushing Industry: Fix wrong ingredient amount for gold from crushed gold (BREAKING)
---------------------------------------------------------------------------------------------------
Version: 1.0.41
Date: 13.04.2025
Changes:
- Add setting for even earlier personal robots
Bug Fixes:
- Prevent broken icons
- Helmod: Fix bug with steam assembler
- Any planet start: Fix prerequisites for "Tree seeding"
- Any planet start: Fix circular dependency
- Wood Gasification updated: Fix amount of wood per tree
---------------------------------------------------------------------------------------------------
Version: 1.0.40
Date: 06.04.2025
Changes:
- Add setting for wood on Fulgora and make Wooden Fulgora optional again
Bug Fixes:
- Add fix for duplicate ready rocket silo
- Remove inventory of provisional rocket silo
---------------------------------------------------------------------------------------------------
Version: 1.0.39
Date: 28.03.2025
Changes:
- Add Space Age flag
Breaking changes:
- AAI loaders, Lane splitters: Apply recipe changes only when AAI Industry is active
- AAI Loaders: Adhere belt progression setting
---------------------------------------------------------------------------------------------------
Version: 1.0.38
Date: 28.03.2025
Changes:
- Any planet start: Change internal name of the space connection to Lignumis depending on the selected planet
Bug Fixes:
- Any planet start (Vulcanus) + Crushing Industry: Move iron crushing to fix soft-lock
---------------------------------------------------------------------------------------------------
Version: 1.0.37
Date: 28.03.2025
Changes:
- Switch from "Burner leech fork" to "Inserter Fuel Leech"
- "Wooden Vulcanus" and "Wooden Fulgora" are now mandatory ("Wooden Gleba" is currently being made)
- Crushing Industry: Burner Crusher can be crafted in Lumber Mill (with more Lumber Mill recipes enabled)
- Add compatibility for "Any planet start" - Now it is used to determine the planet after Lignumis and will move the moon accordingly
- Add compatibility for "Gleba reborn"
Bug Fixes:
- Crushing Industry: Fix name of Burner Crusher copper recipe
---------------------------------------------------------------------------------------------------
Version: 1.0.36
Date: 24.03.2025
Changes:
- Basic construction robots copper recipe uses basic circuit boards and wooden gear wheels
- AAI Industry: Add "wood" fuel category to burner generator and fuel processor
- Wood Industry: Woodchips have "wood" fuel category
- Add compatibility for "Crushing Industry"
Bug Fixes:
- Lane Splitters: Correct item order
- AAI Loaders: Correct item/recipe order
- Fix recylce recipe being generated for rocket parts
---------------------------------------------------------------------------------------------------
Version: 1.0.35
Date: 18.03.2025
Changes:
- Add russian translation (thanks Fr_Dae)
- Regular lab recipe always uses wood belt
---------------------------------------------------------------------------------------------------
Version: 1.0.34
Date: 17.03.2025
Changes:
- Balance basic construction robots (reduced energy buffer and usage)
- Make the second planet after Lignumis configurable by other mods
- Add new enemies (only for new games)
- Burner leech fork is now a mandatory dependency
---------------------------------------------------------------------------------------------------
Version: 1.0.33
Date: 16.03.2025
Breaking Changes:
- Replace iron gear wheel with wooden gear wheel in lumber mill copper recipe
- AAI Industry: Lumber mill copper recipe uses burner assembler instead of electrical assembler 1
- AAI Industry: Basic construction robot copper recipe uses basic circuit board instead of electronic circuit
- AAI Loaders: Yellow loader uses basic circuit board instead of electronic circuit
- Lane splitters: Yellow lane splitter uses basic circuit board instead of electronic circuit
Changes:
- Nerf basic portable generator from 200 kW to 100 kW
- AAI Industry: Move copper cable recipe to copper processing
- AAI Industry: Remove technology "Basic logistics"
- AAI Loaders: Reduce basic circuit boards to match other tiers
- Remove temporary fix for crash due to "Wood Walls and floors"
---------------------------------------------------------------------------------------------------
Version: 1.0.32
Date: 14.03.2025
Breaking Changes:
- Some newly added recipes for the lumber mill have been moved to a setting that is off by default
Changes:
- Reduce noise
- Restrict provisional rocket silo to Lignumis
- Add setting for assembler recipe progression
Bug Fixes:
- Fix players after the first not attackable
---------------------------------------------------------------------------------------------------
Version: 1.0.31
Date: 13.03.2025
Breaking Changes:
- Any planet start/Planet picker: Mark as incompatible
Changes:
- Add more recipes to lumber mill
- AAI Loaders: Expensive mode recipe uses basic circuit boards (thanks Nydaleclya)
- AAI Loaders: Yellow loader recipe uses wood loader
Bug Fixes:
- Add missing translation
- Possibly fix problems with Wooden rocket silo in remote view
- Add copper recipe for the lumber mill
---------------------------------------------------------------------------------------------------
Version: 1.0.30
Date: 06.03.2025
Bug Fixes:
- Any planet start: Fix startup crash
---------------------------------------------------------------------------------------------------
Version: 1.0.29
Date: 05.03.2025
Breaking Changes:
- Nerf quality assembler to +25% quality
Changes:
- Set default for setting "Basic circuit boards" to true
- Alien Biomes: Add warning when the game starts that AB is not supported
Bug Fixes:
- Fix Burner agricultural tower not having a Nauvis recipe when "Basic circuit boards" is active
---------------------------------------------------------------------------------------------------
Version: 1.0.28
Date: 04.03.2025
Changes:
- Steam assembler technology should not ignore tech cost multiplier
Bug Fixes:
- AAI Loaders: Add missing translation
- Prevent possible errors on player initialization
---------------------------------------------------------------------------------------------------
Version: 1.0.27
Date: 02.03.2025
Changes:
- Add compatibility for "Any planet start"
- Add compatibility for "Lane splitters"
Bug Fixes:
- AAI Industry: Fix basic circuit board recipe unlock
---------------------------------------------------------------------------------------------------
Version: 1.0.26
Date: 28.02.2025
Bug Fixes:

View file

@ -8,5 +8,3 @@ handler.add_libraries({
require("scripts/to-nauvis"),
require("scripts/wooden-rocket-silo")
})

View file

@ -1,2 +1,25 @@
require("prototypes/content/final")
require("prototypes/compatibility/final")
if not mods["Burner-Leech-Fork"] and not mods["Burner-Leech"] and not mods["InserterFuelLeech"] then
data.raw["inserter"]["burner-inserter"].allow_burner_leech = true
data.raw["inserter"]["burner-long-handed-inserter"].allow_burner_leech = true
end
-- disable gold module from everything where it's not manually added
local moduled_building_types = { "beacon", "assembling-machine", "rocket-silo", "furnace", "lab", "mining-drill" }
for _, moduled_building_type in pairs(moduled_building_types) do
for _,moduled_building in pairs(data.raw[moduled_building_type]) do
if moduled_building then
if not moduled_building.allowed_module_categories then
moduled_building.allowed_module_categories = {}
for _, module_cat in pairs(data.raw["module-category"]) do
if not (module_cat.name == "quality-assembling") then
table.insert(moduled_building.allowed_module_categories, module_cat.name)
end
end
end
end
end
end

View file

@ -1,36 +1,53 @@
{
"name": "lignumis",
"version": "1.0.26",
"version": "1.2.0",
"title": "Lignumis",
"description": "Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.",
"author": "cackling fiend",
"homepage": "https://discord.gg/5bevXf5W",
"homepage": "https://discord.gg/ufvFUJtVwk",
"factorio_version": "2.0",
"space_travel_required": true,
"dependencies": [
"base",
"space-age >= 2.0.28",
"lignumis-assets",
"flib",
"PlanetsLib >= 1.1.26",
"astroponics >= 1.2.0",
"cf-lib >= 0.0.8",
"mf-core >= 1.0.3",
"mf-buildings >= 1.0.7",
"mf-logistics >= 1.0.1",
"Wood-Walls >= 1.2.0",
"pollution-as-surface-property",
"space-age >= 2.0.53",
"bioprocessing-tab",
"?hot-metals >= 1.1.0",
"?wood-military >= 2.3.3",
"?metal-and-stars",
"?aai-industry",
"?planet-picker",
"?Diversitree",
"?aai-loaders",
"?atan-nuclear-science",
"!apm_power_ldinc",
"!wood-logistics",
"!early-agriculture",
"!wood-universe-modpack"
"cf-lib >= 1.1.0",
"flib",
"lignumis-assets >= 1.0.3",
"PlanetsLib >= 1.14.7",
"pollution-as-surface-property",
"Wood-Walls >= 1.2.0",
"? aai-industry",
"? aai-loaders",
"? aai-loaders-sane",
"? any-planet-start",
"? astroponics >= 1.2.0",
"? canal-excavator >= 1.9.0",
"? crushing-industry",
"? fulgora-coralmium-agriculture",
"? gleba-water-cane",
"? hot-metals >= 1.1.0",
"? lane-splitters",
"? vulcanus-sulfuric-bacteria",
"? wood-industry",
"? wood-military >= 2.3.3",
"? wood-logistics",
"(?) atan-nuclear-science",
"(?) Diversitree",
"(?) gleba-reborn",
"(?) Krastorio2-spaced-out",
"(?) metal-and-stars",
"(?) secretas",
"(?) Wood_Gasification_updated",
"! apm_power_ldinc",
"! early-agriculture",
"! planet-picker",
"! wood-universe-modpack",
"! rso-mod",
"! mf-core",
"! mf-buildings",
"! mf-buildings-graphics-1",
"! mf-logistics",
"! mf-logistics-graphics-1"
]
}

View file

@ -0,0 +1,215 @@
[mod-name]
lignumis=○🌐Lignumis
[mod-description]
lignumis=Tauche ein in die Welt von Lignumis, einem Mond von Nauvis, der nur die grundlegendsten Technologien bietet.
[space-location-name]
lignumis=Lignumis
[space-location-description]
lignumis=Lignumis ist ein Mond, der __1__ umkreist. Er ist Nauvis recht ähnlich, scheint aber jünger zu sein und über weniger Ressourcen zu verfügen.
[airborne-pollutant-name]
noise=Lärm
[airborne-pollutant-name-with-amount]
noise=__1__ Lärm
[entity-name]
wood-lab=Grundlegendes Forschungslabor aus Holz
peat=Torf
burner-agricultural-tower=Befeuerter Landwirtschaftsturm
burner-assembling-machine=Befeuerte Montagemaschine
burner-long-handed-inserter=Befeuerter Langer Greifarm
lumber-mill=Sägewerk
gold-stromatolite=Gold-Stromatolith
gold-stromatolite-plant=Gold-Stromatolith-Pflanze
gold-stromatolite-lignumis=Gold-Stromatolith
gold-patch=Goldfeld
deep-miner=Tiefenbohrer
gold-pipe=Gold-Rohr
gold-pipe-to-ground=Unterirdisches Gold-Rohr
gold-storage-tank=Goldener Lagertank
desiccation-furnace=Trocknungsofen
steam-assembling-machine=Dampf-Montagemaschine
provisional-rocket-silo=Provisorisches Raketensilo
provisional-rocket-silo-ready=Provisorisches Raketensilo (bereit)
basic-gun-turret=Grundlegender Geschützturm
basic-construction-robot-gold=Grundlegender Konstruktionsroboter (Gold)
basic-construction-robot-copper=Grundlegender Konstruktionsroboter (Kupfer)
wood-transport-belt=Hölzernes Fließband
wood-underground-belt=Hölzernes Untergrund Fließband
wood-splitter=Hölzernes Teilerfließband
basic-radar=Grundlegendes Radar
active-noise-cancelling-tower=Aktive Geräuschunterdrückungsturm
quality-assembler=Qualitäts-Montagemaschine
aai-wood-loader=Hölzerner Lader
wood-lane-splitter=Hölzernes Teilerfließband
lignumis-spawner-small=Lignumis Laichballen
lignumis-small-wriggler-pentapod=Kleiner Lignumis Fünfbein-Zappler
lignumis-medium-wriggler-pentapod=Mittelgroßer Lignumis Fünfbein-Zapler
[entity-description]
lumber-mill=Fortschrittliche Maschine zur Holzbearbeitung.
quality-assembler=High-End-Montagemaschine, die nur die besten Maschinen herstellt. Verleiht 35% zusätzliche Qualität durch den Verbrauch von [item=gold-quality-catalyst]. Die Oberflächenbedingungen und Zutaten bleiben ansonsten unverändert.
gold-stromatolite-plant=Sammle Gold-Stromatolithen für Bakterien, die Gold aus dem Boden anreichern.\n__REMARK_COLOR_BEGIN__Erwarteter Ertrag:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[equipment-name]
basic-portable-generator-equipment-gold=Grundlegender tragbarer Generator (Gold)
basic-portable-generator-equipment-copper=Grundlegender tragbarer Generator (Kupfer)
basic-personal-roboport-equipment-gold=Grundlegender Persönlicher Roboterhangar (Gold)
basic-personal-roboport-equipment-copper=Grundlegender Persönlicher Roboterhangar (Kupfer)
[item-name]
wooden-gear-wheel=Holzzahnrad
wood-science-pack=Wissenschaftspaket für Holz
peat=Torf
gold-stromatolite-seed=Gold-Stromatolith-Samen
gold-ore=Golderz
gold-bacteria=Goldbakterien
gold-plate=Goldplatte
gold-cable=Goldkabel
moist-stromatolite-remnant=Feuchte Stromatolithenreste
steam-science-pack=Wissenschaftspaket für Dampf
lumber=Holzbrett
basic-repair-pack=Grundlegendes Reparaturkit
cupriavidus-necator=Cupriavidus necator
dead-cupriavidus-necator=Tote Cupriavidus necator
gold-quality-catalyst=Katalysator in Goldqualität
wood-armor=Holz Rüstung
wood-darts-magazine=Holz Dart Magazin
basic-circuit-board=Grundlegender Schaltkreis
crushed-gold-ore=Zerkleinertes Golderz
[item-description]
wooden-wall=Verwende Holzmauern, um deine Basis vor den Einheimischen zu schützen und um den Lärmpegel zu reduzieren.
stone-wall=Besserer akustischer und physischer Schutz als sein Gegenstück aus Holz.
gold-stromatolite-seed=Pflanze den Samen, um Gold-Stromatolithen wachsen zu lassen. Sie beherbergen Bakterien, die Gold aus dem Boden anreichern.\n__REMARK_COLOR_BEGIN__Expected yield:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[fluid-name]
wood-pulp=Holzzellstoff
molten-gold=Geschmolzenes Gold
[recipe-name]
moist-stromatolite-remnant-desiccation=Feuchte Stromatolithenreste austrocknen
moist-stromatolite-remnant-desiccation-without-steam=Feuchte Stromatolithenreste austrocknen
gold-stromatolite-seed-to-peat=Gold-Stromatolith-Samen verarbeiten
wood-liquefaction=Holzverflüssigung
provisional-rocket-part=Provisorisches Raketenteil
cupriavidus-necator-starter=Cupriavidus necator (starter culture)
plastic-from-cupriavidus-necator=Biokunststoff
plastic-from-dead-cupriavidus-necator=Biokunststoff
low-density-structure-gold=Leichtbauteil
rocket-fuel-from-wood-pulp-and-peat=Bio-Raketentreibstoff
nutrients-from-wood-pulp=Nährstoffe aus Holzzellstoff
active-noise-cancelling=Aktive Geräuschunterdrückung
casting-gold=Gold gießen
gold-ore-crushing=Zerkleinerung von Golderz
processing-unit-gold=Verarbeitungseinheit (Gold)
[recipe-description]
moist-stromatolite-remnant-desiccation-without-steam=Wird für das Gleichgewicht bei der Dampferzeugung verwendet.
gold-stromatolite-seed-to-peat=Dient zur Beseitigung überschüssiger goldener Stromatolithsamen.
[technology-name]
wood-science-pack=Wissenschaftspaket für Holz
burner-automation=Befeuerte-Automatisierung
planet-discovery-nauvis=Entdeckung des Planeten Nauvis
planet-discovery-lignumis=Entdeckung des Mondes Lignumis
iron-processing=Eisenverarbeitung
copper-processing=Kupferverarbeitung
lumber-mill=Sägewerk
deep-miner=Tiefenbohrer
gold-fluid-handling=Handhabung von flüssigkeiten mit Gold
steam-automation=Dampf-Automatisierung
steam-science-pack=Wissenschaftspaket für Dampf
wood-liquefaction=Holzverflüssigung
provisional-rocketry=Provisorische Raketentechnik
basic-gun-turret=Grundlegender Geschützturm
basic-construction-robotics-gold=Grundlegende Baurobotertechnik (Gold)
basic-construction-robotics-copper=Grundlegende Baurobotertechnik (Kupfer)
wood-logistics=Holzlogistik
automation=Elektrische Automatisierung
tree-seeding=Landwirtschaftliche Grundlagen
basic-repair-pack=Grundlegendes Reparaturpaket
basic-radar=Grundlegendes Radar
active-noise-cancelling=Aktive Geräuschunterdrückung
quality-assembler=Qualitäts-Montagemaschine
aai-wood-loader=Holzlader
basic-ore-crushing=Grundlegende Zerkleinerung von Erzen
astroponics-productivity=Astroponische Produktivität
[technology-description]
wood-science-pack=Ermöglicht die Erforschung von Basistechnologien auf der Grundlage von Holzprodukten.
burner-automation=Technologie für die Basisautomatisierung mit Verbrennermaschinen.
planet-discovery-nauvis=Ein gemäßigter Planet mit allen üblichen Ressourcen.
planet-discovery-lignumis=Ein Mond, der Nauvis umkreist und außer etwas Vegetation und einem Metall, das nützlich sein könnte, nicht viel zu bieten hat.
lumber-mill=Fortschrittliche Maschine zur Holzbearbeitung.
deep-miner=Ermöglicht den Zugang zu riesigen Goldvorkommen, die bisher unerreichbar waren.
steam-automation=Ermöglicht die Erforschung anspruchsvollerer Technologien auf der Grundlage von Holzprodukten und Gold.
wood-liquefaction=Die Umwandlung von Holz in eine Flüssigkeit bietet neue Möglichkeiten.
provisional-rocketry=Wir müssen irgendwie von diesem Mond wegkommen. Das ist unsere einzige Möglichkeit!
basic-gun-turret=Die einfachste automatische Verteidigung. Es ist nicht viel, aber es muss fürs Erste genügen.
basic-construction-robotics-gold=Die grundlegendste Hilfe für den persönlichen Baubedarf.
basic-construction-robotics-copper=Die grundlegendste Hilfe für den persönlichen Baubedarf.
wood-logistics=Langsamer, aber automatischer Transport von Waren.
tree-seeding=[entity=burner-agricultural-tower] ermöglicht das Einpflanzen von Samen in samenfähigen Boden. Gepflanzte Samen wachsen zu Bäumen, die geerntet werden können.\n[entity=tree-plant] kann auf Gras und Erde wachsen. [entity=gold-stromatolite] kann auf [tile=natural-gold-soil] wachsen.
active-noise-cancelling=Hilft beim Umgang mit Lärm.
quality-assembler=High-End-Montagemaschine, der nur Maschinen von höchster Qualität herstellt und dafür eine besondere Ressource verwendet, die es nur auf Lignumis gibt.
automation-science-pack=Verlassen Lignumis, um fortschrittliche Technologieforschung zu ermöglichen.
[modifier-description]
basic-gun-turret-attack-bonus=Grundlegender Geschützturm schaden: +__1__
[tile-name]
wood-floor=Holzboden
natural-gold-soil=Goldhaltige Erde
[fuel-category-name]
wood=Holzbrennstoff
quality-catalyst=Qualitätskatalysator
[mod-setting-name]
lignumis-belt-progression=Progressive Fließband rezepte aktivieren
lignumis-inserter-progression=Progressive Greifarm rezepte aktivieren
lignumis-ammo-progression=Progressive Munitionsrezepte aktivieren
lignumis-technology-progression=Progressive Technologien aktivieren
lignumis-basic-circuit-board=Grundlegender Schaltkreis aktivieren
lignumis-circuit-progression=Progressive Schaltkreis rezepte aktivieren
lignumis-assembler-progression=Progressive Montagemaschinen-Rezepte aktivieren
lignumis-lumber-mill-more-recipes=Weitere Rezepte für das Sägewerk aktivieren
lignumis-fulgora-wood=Holz zu Fulgora hinzufügen
lignumis-early-robots=Noch früher persönliche Roboter
[mod-setting-description]
lignumis-belt-progression=Für die Herstellung von Gelben Fließbändern sind Holzfließbänder erforderlich.
lignumis-inserter-progression=Für die Herstellung des gelben elektrischen Greifarms wird ein Befeuerter Greifarm benötigt.
lignumis-ammo-progression=Für die Herstellung von Schusswaffenmagazinen werden hölzerne Dartmagazine benötigt.
lignumis-technology-progression=Fügt den meisten Technologien im späten Spiel Wissenschaftspakete für Holz und Dampf hinzu. Durch die Deaktivierung dieser Funktion wird die Relevanz der Wissenschaftspakete von Lignumis im späten Spiel nichtig.
lignumis-basic-circuit-board=In den Rezepten werden grundlegende Schaltkreise anstelle von Goldkabeln und gegebenenfalls Goldplatten verwendet. Es werden sowohl Gold- als auch Kupferrezepte hinzugefügt.
lignumis-circuit-progression=Für die Herstellung elektrischer Schaltkreise werden grundlegende Schaltkreise benötigt.
lignumis-assembler-progression=Für die Herstellung von Montagemaschine 1 werden Befeuerte-Montagemaschinen benötigt.
lignumis-lumber-mill-more-recipes=Die Sägewerke können auch grundlegende Geschütztürme, befeuerte-Montagemaschinen und befeuerter Greifarme herstellen. Verbessert das Balancing der Holznutzung, wenn alle progressiven Rezepte aktiviert sind und hilft bei Marathonspielen.
lignumis-fulgora-wood=Dies fügt dem Schrottrecycling Holzzahnräder als Hauptquelle für Holz hinzu. Deaktiviert dies, wenn ihr eine andere Quelle für Holz habt oder alles von anderen Planeten importiert.
lignumis-early-robots=Persönliche Roboter werden von der Dampf- auf die Holzforschung umgestellt und sind ein klein wenig schneller.
[autoplace-control-names]
lignumis_enemy_base=Lignumis feindliche Basen
[entity-status]
no-quality-catalyst=Kein Qualitätskatalysator
[description]
accepted-catalysts=Akzeptierte Katalysatoren
quality-catalyst-energy-value=Qualitätswert
[gui]
quality-catalyst=Qualitätskatalysator
[lignumis]
start-new-game=Lignumis ist dafür gedacht, in einem neuen Spiel gespielt zu werden, da es das Early Game verlängert.
provisional-rocket-silo-button=Flüchte nach __1__
provisional-rocket-silo-button-tooltip-inventory=Dein persönliches Inventar muss leer sein!
provisional-rocket-silo-button-tooltip-target=Du weißt noch nicht, wohin du gehen kannst!
provisional-rocket-silo-description=Fülle das Raketeninventar und starte die Rakete, um nach __1__ zu fliehen.\nAchte darauf, dass du Material mitnimmst, um deine Eisen-, Kupfer- und Holzproduktion anzukurbeln.

View file

@ -1,14 +1,14 @@
[mod-name]
lignumis= Lignumis
lignumis=🌐Lignumis
[mod-description]
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.\n\nThis is the version that represents the original idea of the mod author. For a more isolated planet mod experience, install the regular version.
[space-location-name]
lignumis=Lignumis
[space-location-description]
lignumis=Lignumis is a moon orbiting Nauvis. It is quite similar to Nauvis but seems to be younger and with fewer resources.
lignumis=Lignumis is a moon orbiting __1__. It is quite similar to Nauvis but seems to be younger and with fewer resources.
[airborne-pollutant-name]
noise=Noise
@ -45,10 +45,16 @@ basic-radar=Basic radar
active-noise-cancelling-tower=Active noise cancelling tower
quality-assembler=Quality assembler
aai-wood-loader=Wood loader
wood-lane-splitter=Wood lane splitter
lignumis-spawner-small=Lignumis egg raft
lignumis-small-wriggler-pentapod=Lignumis small wiggler pentapod
lignumis-medium-wriggler-pentapod=Lignumis medium wiggler pentapod
burner-lamp=Burner lamp
[entity-description]
lumber-mill=Advanced machine to process wood.
quality-assembler=High-end assembler to craft only the finest quality machines. It gives one free quality tier to the crafted item by consuming [item=gold-quality-catalyst]. Surface conditions and ingredients are otherwise unchanged.
quality-assembler=High-end assembler to craft only the finest quality machines. It gives 35% additional quality by consuming [item=gold-quality-catalyst]. Surface conditions and ingredients are otherwise unchanged.
gold-stromatolite-plant=Harvest gold stromatolites for bacteria that enrich gold from the ground.\n__REMARK_COLOR_BEGIN__Expected yield:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[equipment-name]
basic-portable-generator-equipment-gold=Basic portable generator equipment (gold)
@ -67,7 +73,6 @@ gold-plate=Gold plate
gold-cable=Gold cable
moist-stromatolite-remnant=Moist stromatolite remnant
steam-science-pack=Steam science pack
destination-nauvis=Travel to Nauvis
lumber=Lumber
basic-repair-pack=Basic repair pack
cupriavidus-necator=Cupriavidus necator
@ -76,11 +81,16 @@ gold-quality-catalyst=Gold quality catalyst
wood-armor=Wood armor
wood-darts-magazine=Wood darts magazine
basic-circuit-board=Basic circuit board
crushed-gold-ore=Crushed gold ore
steam-science-pack-spoiled=Science flask with water
gold-module-3=Golden module 3
[item-description]
wooden-wall=Use wooden walls to protect your base from the locals and to reduce noise levels.
stone-wall=Better acoustic and physical protection than the wooden counterpart.
destination-nauvis=Insert this item into a rocket to travel to Nauvis. Notice that you won`t come back for a while.\n__REMARK_COLOR_BEGIN__BETA notice: Keep at most 40 item stack in your inventory before leaving as the current transition to Nauvis is a temporary implementation. Be sure to take material to jumpstart your iron, copper and wood production.__REMARK_COLOR_END__
gold-stromatolite-seed=Plant the seed to grow gold stromatolites. They house bacteria that enrich gold from the ground.\n__REMARK_COLOR_BEGIN__Expected yield:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
steam-science-pack-spoiled=Spoiled steam science pack. Put it in a furnace to bring it to the right temperature.
gold-module-3=When you mastered quality assembling, this pristine module is unlocked, enabling you to craft the finest items available.
[fluid-name]
wood-pulp=Wood pulp
@ -99,10 +109,16 @@ low-density-structure-gold=Low density structure
rocket-fuel-from-wood-pulp-and-peat=Bio-rocket-fuel
nutrients-from-wood-pulp=Nutrients from wood pulp
active-noise-cancelling=Active noise cancelling
casting-gold=Casting gold
gold-ore-crushing=Gold ore crushing
processing-unit-gold=Processing unit (gold)
burner-lamp-burning=Generating light
refresh-steam-science-pack=Refresh steam science pack
[recipe-description]
moist-stromatolite-remnant-desiccation-without-steam=Used for balancing the production of steam.
gold-stromatolite-seed-to-peat=Used for voiding excess gold stromatolite seeds.
refresh-steam-science-pack=Heats a science flask with water to the right temperature to be used as steam science pack.
[technology-name]
wood-science-pack=Wood science pack
@ -112,6 +128,7 @@ planet-discovery-lignumis=Moon discovery Lignumis
iron-processing=Iron processing
copper-processing=Copper processing
lumber-mill=Lumber mill
advanced-carpentry=Lumber mill
deep-miner=Deep miner
gold-fluid-handling=Gold fluid handling
steam-automation=Steam automation
@ -128,6 +145,11 @@ basic-repair-pack=Basic repair pack
basic-radar=Basic radar
active-noise-cancelling=Active noise cancelling
quality-assembler=Quality assembler
aai-wood-loader=Wood loader
basic-ore-crushing=Basic ore crushing
astroponics-productivity=Astroponics productivity
experienced-quality-assembling=Experienced quality assembling
gold-module=Golden module
[technology-description]
wood-science-pack=Allows research of basic technologies based on wood products.
@ -135,6 +157,7 @@ burner-automation=Technology for basic automation using burner machines.
planet-discovery-nauvis=A temperate planet offering all the common resources.
planet-discovery-lignumis=A moon orbiting Nauvis that has not much to offer besides some vegetation and a metal that might be useful.
lumber-mill=Advanced machine to process wood.
advanced-carpentry=Advanced machine to process wood.
deep-miner=Gives access to huge gold deposits that were previously unreachable.
steam-automation=Allows research of more sophisticated technologies based on wood products and gold.
wood-liquefaction=Converting wood into a liquid offers new possibilities.
@ -147,6 +170,7 @@ tree-seeding=[entity=burner-agricultural-tower] allows planting seeds into seeda
active-noise-cancelling=Helps handling noise.
quality-assembler=High-end assembler to craft only the finest quality machines using a special resource only found on Lignumis.
automation-science-pack=Leave Lignumis to enable advanced technology research.
gold-module=Master quality assembling, to unlock a pristine module, enabling you to craft the finest items available.
[modifier-description]
basic-gun-turret-attack-bonus=Basic gun turret damage: +__1__
@ -160,12 +184,22 @@ wood=Wood fuel
quality-catalyst=Quality catalyst
[mod-setting-name]
lignumis-belt-progression=Enable progressive belt recipes
lignumis-inserter-progression=Enable progressive inserter recipes
lignumis-ammo-progression=Enable progressive ammo recipes
lignumis-technology-progression=Enable progressive technologies
lignumis-restrict-sciences=Restrict Lignumis science recipes to Lignumis
lignumis-belt-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic belt recipes
lignumis-inserter-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic inserter recipes
lignumis-ammo-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic ammo recipes
lignumis-technology-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable progressive technologies
lignumis-basic-circuit-board=Enable basic circuit board
lignumis-circuit-progression=Enable progressive circuit recipes
lignumis-circuit-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic circuit recipes
lignumis-assembler-progression=[color=orange][font=heading-2]Overhaul[/font][/color] Enable telescopic assembler recipes
lignumis-lumber-mill-more-recipes=[color=green][font=heading-2]Easy[/font][/color] Enable more recipes for the lumber mill
lignumis-fulgora-wood=[color=orange][font=heading-2]Overhaul[/font][/color] Add wood to Fulgora
lignumis-early-robots=[color=green][font=heading-2]Easy[/font][/color] Even earlier personal robots
lignumis-vanilla-lab=[color=orange][font=heading-2]Overhaul[/font][/color] Keep vanilla lab recipe
lignumis-double-rocket=[color=green][font=heading-2]Easy[/font][/color] Double provisional rocket cargo capacity
lignumis-sciences-spoil=[color=red][font=heading-2]Hard[/font][/color] Lignumis science packs spoil
lignumis-infinite-astroponics-productivity-research=[color=green][font=heading-2]Easy[/font][/color] Infinite productivity research for Astroponics
lignumis-electric-lumber-mill=[color=green][font=heading-2]Easy[/font][/color] Electric lumber mill
[mod-setting-description]
lignumis-belt-progression=Yellow belts will require wood belts to craft.
@ -174,6 +208,18 @@ lignumis-ammo-progression=Firearm magazines will require wooden darts magazines
lignumis-technology-progression=Adds wood and steam science packs to most late game technologies. Disabling this removes the relevance of Lignumis' science packs in the late game.
lignumis-basic-circuit-board=Recipes use basic circuit boards instead of gold cables and gold plates where appropriate. Both gold and copper recipes will be added.
lignumis-circuit-progression=Electric circuits will require basic circuit boards to craft.
lignumis-assembler-progression=Assembling machine 1 will require burner assembling machines to craft.
lignumis-lumber-mill-more-recipes=The lumber mill can also craft basic turrets, burner assemblers and burner inserters. Improves balancing wood usage when all telescopic recipes are enabled and helps with marathon games.
lignumis-fulgora-wood=This adds wooden gear wheels to scrap recycling as the main source of wood. Disable this is you have a different source of wood or import everything from other planets.
lignumis-early-robots=Personal robots are moved from steam to wood science and are a tiny bit faster.
lignumis-vanilla-lab=Moves the transport belt recipe to Iron processing so the lab can be crafted with the original recipe without requiring to research logistics.
lignumis-double-rocket=The provisional rocket can carry 80 instead of 40 slots.
lignumis-sciences-spoil=Both wood science packs and steam science packs spoil for additional difficulty.
lignumis-infinite-astroponics-productivity-research=Productivity research for Astroponics is infinite instead of being capped to level 5 (which results in 50% productivity).
lignumis-electric-lumber-mill=The lumber mill will consume electricity instead of burner fuel and will be unlocked after researching electricity.
[autoplace-control-names]
lignumis_enemy_base=Lignumis enemy bases
[entity-status]
no-quality-catalyst=No quality catalyst
@ -186,8 +232,8 @@ quality-catalyst-energy-value=Quality value
quality-catalyst=Quality catalyst
[lignumis]
start-new-game=Lignumis is meant to be played in a fresh game as it extends the early game before Nauvis.
provisional-rocket-silo-button=Escape to Nauvis
start-new-game=Lignumis is meant to be played in a fresh game as it extends the early game.
provisional-rocket-silo-button=Escape to __1__
provisional-rocket-silo-button-tooltip-inventory=Your personal inventory must be empty!
provisional-rocket-silo-button-tooltip-nauvis=You don't know yet where to go!
provisional-rocket-silo-description=Fill the rocket inventory and launch the rocket to escape to Nauvis.\nBe sure to take material to jumpstart your iron, copper and wood production.
provisional-rocket-silo-button-tooltip-target=You don't know yet where to go!
provisional-rocket-silo-description=Fill the rocket inventory and launch the rocket to escape to __1__.\nBe sure to take material to jumpstart your iron, copper and wood production.

View file

@ -0,0 +1,216 @@
[mod-name]
lignumis=○🌐Lignumis
[mod-description]
lignumis=Sumérgete en el mundo de Lignumis, una luna de Nauvis que ofrece solo las tecnologías más básicas.
[space-location-name]
lignumis=Lignumis
[space-location-description]
lignumis=Lignumis es una luna orbitando __1__. Es bastante similar a Nauvis, pero parece ser más joven y con menos recursos.
[airborne-pollutant-name]
noise=Ruido
[airborne-pollutant-name-with-amount]
noise=__1__ ruido
[entity-name]
wood-lab=Laboratorio de madera
peat=Turba
burner-agricultural-tower=Torre agrícola a combustión
burner-assembling-machine=Máquina de ensamblaje a combustión
burner-long-handed-inserter=Insertador largo a combustión
lumber-mill=Aserradero
gold-stromatolite=Estromatolita de oro
gold-stromatolite-plant=Planta de estromatolita de oro
gold-stromatolite-lignumis=Estromatolita de oro
gold-patch=Parche de oro
deep-miner=Perforadora profunda
gold-pipe=Tubería de oro
gold-pipe-to-ground=Tubería de oro subterránea
gold-storage-tank=Cisterna de oro
desiccation-furnace=Horno de desecación
steam-assembling-machine=Máquina de ensamblaje a vapor
provisional-rocket-silo=Silo de cohetes provisional
provisional-rocket-silo-ready=Silo de cohetes provisional (listo)
basic-gun-turret=Torreta ametralladora básica
basic-construction-robot-gold=Robot de construcción básico (oro)
basic-construction-robot-copper=Robot de construcción básico (cobre)
wood-transport-belt=Cinta transportadora de madera
wood-underground-belt=Cinta transportadora subterránea de madera
wood-splitter=Divisor de madera
basic-radar=Radar básico
active-noise-cancelling-tower=Torre de cancelación activa de ruido
quality-assembler=Máquina de ensamblaje de calidad
aai-wood-loader=Cargador de madera
wood-lane-splitter=Divisor de carril de madera
lignumis-spawner-small=Balsa de huevos Lignumis
lignumis-small-wriggler-pentapod=Pentápodo reptante pequeño de Lignumis
lignumis-medium-wriggler-pentapod=Pentápodo reptante mediano de Lignumis
[entity-description]
lumber-mill=Máquina avanzada para procesar madera.
quality-assembler=Ensamblador de alta gama para fabricar solo máquinas de la mejor calidad. Da un 35% de calidad adicional al consumir [item=gold-quality-catalyst]. Por lo demás, las condiciones de la superficie y los ingredientes no cambian.
gold-stromatolite-plant=Recolecte estromatolitos de oro en busca de bacterias que enriquezcan el oro del suelo.\n__REMARK_COLOR_BEGIN__Rendimiento esperado:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[equipment-name]
basic-portable-generator-equipment-gold=Equipo generador portátil básico (oro)
basic-portable-generator-equipment-copper=Equipo generador portátil básico (cobre)
basic-personal-roboport-equipment-gold=Equipo roboport personal básico (oro)
basic-personal-roboport-equipment-copper=Equipo roboport personal básico (cobre)
[item-name]
wooden-gear-wheel=Engranaje de madera
wood-science-pack=Paquete de ciencia de madera
peat=Turba
gold-stromatolite-seed=Semilla de estromatolita de oro
gold-ore=Mena de oro
gold-bacteria=Bacterias del oro
gold-plate=Placa de oro
gold-cable=Cable de oro
moist-stromatolite-remnant=Remanente de estromatolita húmedo
steam-science-pack=Paquete de ciencia de vapor
destination-nauvis=Viajes a Nauvis
lumber=Madera aserrada
basic-repair-pack=Pack de reparación básico
cupriavidus-necator=Bacterias Cupriavidus necator
dead-cupriavidus-necator=Bacterias Cupriavidus necator muertas
gold-quality-catalyst=Catalizador de calidad de oro
wood-armor=Armadura de madera
wood-darts-magazine=Dardos de madera
basic-circuit-board=Placa de circuito básica
crushed-gold-ore=Mineral de oro triturado
[item-description]
wooden-wall=Use Paredes de madera para proteger su base de los lugareños y reducir los niveles de ruido.
stone-wall=Mejor protección acústica y física que la contraparte de madera.
gold-stromatolite-seed=Planta la semilla para cultivar estromatolitos de oro. Albergan bacterias que enriquecen el oro del suelo.\n__REMARK_COLOR_BEGIN__Rendimiento esperado: __REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[fluid-name]
wood-pulp=Pulpa de madera
molten-gold=Oro fundido
[recipe-name]
moist-stromatolite-remnant-desiccation=Desecar remanente de estromatolita húmeda
moist-stromatolite-remnant-desiccation-without-steam=Desecar remanente de estromatolita húmeda
gold-stromatolite-seed-to-peat=Procesar semilla de estromatolita de oro
wood-liquefaction=Licuefacción de la madera
provisional-rocket-part=Pieza de cohete provisional
cupriavidus-necator-starter=Bacterias cupriavidus necator (cultivo iniciador)
plastic-from-cupriavidus-necator=Bioplástico
plastic-from-dead-cupriavidus-necator=Bioplástico
low-density-structure-gold=Estructura de baja densidad
rocket-fuel-from-wood-pulp-and-peat=Biocombustible para cohetes
nutrients-from-wood-pulp=Nutrientes de la pulpa de madera
active-noise-cancelling=Cancelación activa de ruido
casting-gold=Fundición de oro
gold-ore-crushing=Trituración de mineral de oro
processing-unit-gold=Unidad de procesamiento (oro)
[recipe-description]
moist-stromatolite-remnant-desiccation-without-steam=Se utiliza para equilibrar la producción de vapor.
gold-stromatolite-seed-to-peat=Se usa para eliminar el exceso de semillas de estromatolito de oro.
[technology-name]
wood-science-pack=Paquete de ciencia de madera
burner-automation=Automatización a combustión
planet-discovery-nauvis=Descubrir el planeta Nauvis
planet-discovery-lignumis=Descubrir la luna Lignumis
iron-processing=Procesamiento de hierro
copper-processing=Procesamiento de cobre
lumber-mill=Aserradero
deep-miner=Perforadora profunda
gold-fluid-handling=Manejo de fluidos con oro
steam-automation=Automatización a vapor
steam-science-pack=Paquete de ciencia de vapor
wood-liquefaction=Licuefacción de madera
provisional-rocketry=Cohetería provisional
basic-gun-turret=Torreta ametralladora básica
basic-construction-robotics-gold=Robótica de construcción básica (oro)
basic-construction-robotics-copper=Robótica de construcción básica (cobre)
wood-logistics=Logística con madera
automation=Automatización eléctrica
tree-seeding=Agricultura básica
basic-repair-pack=Pack de reparación básico
basic-radar=Radar básico
active-noise-cancelling=Cancelación activa de ruido
quality-assembler=Máquina de ensamblaje de calidad
aai-wood-loader=Cargador de madera
basic-ore-crushing=Trituración de minerales básica
astroponics-productivity=Productividad astropónica
[technology-description]
wood-science-pack=Permite la investigación de tecnologías básicas basadas en productos de madera.
burner-automation=Tecnología para la automatización básica mediante combustión.
planet-discovery-nauvis=Un planeta templado que ofrece todos los recursos comunes.
planet-discovery-lignumis=Una luna orbitando Nauvis que no tiene mucho que ofrecer además de algo de vegetación y un metal que podría ser útil.
lumber-mill=Máquina avanzada para procesar madera.
deep-miner=Da acceso a enormes depósitos de oro que antes eran inalcanzables.
steam-automation=Permite la investigación de tecnologías más sofisticadas basadas en productos de madera y oro.
wood-liquefaction=Convertir la madera en líquido ofrece nuevas posibilidades.
provisional-rocketry=Tenemos que salir de esta luna de alguna manera. ¡Esta es nuestra única oportunidad!
basic-gun-turret=La defensa automática más básica. No es mucho, pero tiene que ser suficiente por ahora.
basic-construction-robotics-gold=La asistencia más básica para necesidades personales de construcción.
basic-construction-robotics-copper=La asistencia más básica para necesidades personales de construcción.
wood-logistics=Transporte lento pero automático de bienes.
tree-seeding=[entity=burner-agricultural-tower] permite plantar semillas en suelo sembrable. Las semillas plantadas se convierten en árboles que se pueden cosechar.\n[entity=tree-plant] puede crecer en pasto y tierra. [entity=gold-stromatolite] puede crecer en [tile=natural-gold-soil].
active-noise-cancelling=Ayuda a manejar el ruido.
quality-assembler=Ensamblador de alta gama para fabricar solo máquinas de la mejor calidad utilizando un recurso especial que solo se encuentra en Lignumis.
automation-science-pack=Deja Lignumis para permitir la investigación de tecnología avanzada.
[modifier-description]
basic-gun-turret-attack-bonus=Daño de la torreta ametralladora básica: +__1__
[tile-name]
wood-floor=Piso de madera
natural-gold-soil=Suelo infundido con oro
[fuel-category-name]
wood=Combustible de madera
quality-catalyst=Catalizador de calidad
[mod-setting-name]
lignumis-belt-progression=Habilitar recetas de banda progresivas
lignumis-inserter-progression=Habilitar recetas de insertador progresivas
lignumis-ammo-progression=Habilitar recetas de munición progresivas
lignumis-technology-progression=Habilite tecnologías progresivas
lignumis-basic-circuit-board=Habilite la placa de circuito básica
lignumis-circuit-progression=Habilitar recetas de circuitos progresivos
lignumis-assembler-progression=Habilitar recetas de ensamblador progresivo
lignumis-lumber-mill-more-recipes=Habilite más recetas para el aserradero
lignumis-fulgora-wood=Añadir madera a Fulgora
lignumis-early-robots=Adelantar aun más los Robots personales
[mod-setting-description]
lignumis-belt-progression=Los cinturones amarillos requerirán cinturones de madera para fabricarlos.
lignumis-inserter-progression=El insertador eléctrico amarillo requerirá un insertador de combustión para elaborar.
lignumis-ammo-progression=Los cargadores de munición requerirán dardos de madera para fabricarlos.
lignumis-technology-progression=Agrega paquetes de ciencia de madera y vapor a la mayoría de las tecnologías de juegos tardíos. Deshabilitar esto elimina la relevancia de los paquetes de ciencia de Lignumis en el juego tardío.
lignumis-basic-circuit-board=Las recetas usan placas de circuito básicas en lugar de cables dorados y placas doradas cuando corresponde. Se agregarán recetas de oro y cobre.
lignumis-circuit-progression=Los circuitos eléctricos requerirán placas de circuito básicos para fabricarlos.
lignumis-assembler-progression=La máquina de ensamblaje 1 requerirá máquinas de ensamblaje de combustión para fabricarla.
lignumis-lumber-mill-more-recipes=El aserradero también puede fabricar torretas básicas, ensambladores de combustión e insertadores de combustión. Mejora el equilibrio del uso de la madera cuando todas las recetas progresivas están habilitadas y ayuda con los juegos maratónicos.
lignumis-fulgora-wood=Esto agrega engranajes de madera al reciclaje de chatarra como fuente principal de madera. Deshabilite esto si tiene una fuente diferente de madera o importa todo de otros planetas.
lignumis-early-robots=Los robots personales se mueven de la ciencia de vapor a la ciencia de madera y son un poquito más rápidos.
[autoplace-control-names]
lignumis_enemy_base=Bases enemigas en Lignumis
[entity-status]
no-quality-catalyst=Sin catalizador de calidad
[description]
accepted-catalysts=Catalizadores aceptados
quality-catalyst-energy-value=Valor de calidad
[gui]
quality-catalyst=Catalizador de calidad
[lignumis]
start-new-game=Lignumis está pensado para jugarse en un juego nuevo, ya que extiende el inicio del juego.
provisional-rocket-silo-button=Escapar a __1__
provisional-rocket-silo-button-tooltip-inventory=¡Tu inventario personal debe estar vacío!
provisional-rocket-silo-button-tooltip-target=¡Aún no sabes a dónde ir!
provisional-rocket-silo-description=Llena el inventario del cohete y lanza el cohete para escapar a __1__.\nAsegúrese de llevar material para impulsar su producción de hierro, cobre y madera.

View file

@ -1,5 +1,5 @@
[mod-name]
lignumis= Lignumis
lignumis=🌐Lignumis
[mod-description]
lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.
@ -8,7 +8,7 @@ lignumis=Dive into the world of Lignumis, a moon of Nauvis offering only the mos
lignumis=Lignumis
[space-location-description]
lignumis=Lignumis to księżyc orbitujący wokół Nauvis. Jest dość podobny do Nauvis, ale wydaje się być młodszy i ma mniej zasobów.
lignumis=Lignumis to księżyc orbitujący wokół __1__. Jest dość podobny do Nauvis, ale wydaje się być młodszy i ma mniej zasobów.
[airborne-pollutant-name]
noise=Hałas
@ -66,7 +66,6 @@ gold-plate=Złota płytka
gold-cable=Złoty kabel
moist-stromatolite-remnant=Wilgotny fragment stromatolitu
steam-science-pack=parowy pakiet naukowy
destination-nauvis=Podróż na Nauvis
lumber=drewno
basic-repair-pack=podstawowy zestaw naprawczy
cupriavidus-necator=Cupriavidus necator
@ -78,7 +77,6 @@ wood-darts-magazine=drewniane rzutki (amunicja)
[item-description]
wooden-wall=Użyj drewnianych ścian, aby chronić swoją bazę przed miejscowymi i zredukować poziom hałasu.
stone-wall=Lepsza ochrona akustyczna i fizyczna niż drewniana alternatywa..
destination-nauvis=Włóż ten przedmiot do rakiety, aby podróżować na Nauvis. Pamiętaj, że nie wrócisz przez dłuższy czas.\n__REMARK_COLOR_BEGIN__BETA notice: Keep at most 40 item stack in your inventory before leaving as the current transition to Nauvis is a temporary implementation. Be sure to take material to jumpstart your iron, copper and wood production.__REMARK_COLOR_END__
[fluid-name]
wood-pulp=Miazga drzewna

View file

@ -0,0 +1,213 @@
[mod-name]
lignumis=○🌐Лигнумис
[mod-description]
lignumis=Погрузитесь в мир Лигнумиса — луны Наувиса, предлагающей лишь самые базовые технологии.
[space-location-name]
lignumis=Лигнумис
[space-location-description]
lignumis=Лигнумис — это луна, вращающаяся вокруг __1__. Она во многом похожа на Наувис, но кажется моложе и беднее ресурсами.
[airborne-pollutant-name]
noise=Шум
[airborne-pollutant-name-with-amount]
noise=__1__ шума
[entity-name]
wood-lab=Деревянная лаборатория
peat=Торф
burner-agricultural-tower=Твердотопливная сельскохозяйственная башня
burner-assembling-machine=Твердотопливный сборочный автомат
burner-long-handed-inserter=Твердотопливный длинный манипулятор
lumber-mill=Лесопильня
gold-stromatolite=Золотой строматолит
gold-stromatolite-plant=Золотой строматолит (растение)
gold-stromatolite-lignumis=Золотой строматолит
gold-patch=Золотое месторождение
deep-miner=Глубинный бур
gold-pipe=Золотая труба
gold-pipe-to-ground=Золотая подземная труба
gold-storage-tank=Золотой резервуар
desiccation-furnace=Печь для высушивания
steam-assembling-machine=Паровой сборочный автомат
provisional-rocket-silo=Импровизированная ракетная шахта
provisional-rocket-silo-ready=Импровизированная ракетная шахта (готово)
basic-gun-turret=Базовая пулемётная турель
basic-construction-robot-gold=Базовый строительный дрон (золот)
basic-construction-robot-copper=Базовый строительный дрон (медь)
wood-transport-belt=Деревянный конвейер
wood-underground-belt=Деревянный подземный конвейер
wood-splitter=Деревянный разделитель
basic-radar=Базовый радар
active-noise-cancelling-tower=Башня активного шумоподавления
quality-assembler=Качественный сборочный автомат
aai-wood-loader=Деревянный погрузчик
wood-lane-splitter=Деревянный распределитель лент
lignumis-spawner-small=Яичная кладка Лигнумиса
lignumis-small-wriggler-pentapod=Малый пятиног-ползун Лигнумиса
lignumis-medium-wriggler-pentapod=Средний пятиног-ползун Лигнумиса
[entity-description]
lumber-mill=Продвинутая машина для обработки древесины.
quality-assembler=Высококачественный сборочный автомат, создающий только лучшие механизмы. Добавляет 35% дополнительного качества предмету, потребляя [item=gold-quality-catalyst]. Условия поверхности и ингредиенты остаются неизменными.
gold-stromatolite-plant=Собирайте золотой строматолит для получения бактерий, обогащающих золото из почвы.\n__REMARK_COLOR_BEGIN__Ожидаемая добыча:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[equipment-name]
basic-portable-generator-equipment-gold=Базовый портативный генератор (золото)
basic-portable-generator-equipment-copper=Базовый портативный генератор (медь)
basic-personal-roboport-equipment-gold=Базовая персональная дронстанция (золото)
basic-personal-roboport-equipment-copper=Базовая персональная дронстанция (медь)
[item-name]
wooden-gear-wheel=Деревянная шестерня
wood-science-pack=Деревянный исследовательский пакет
peat=Торф
gold-stromatolite-seed=Семя золотого строматолита
gold-ore=Золотая руда
gold-bacteria=Золотобактерия
gold-plate=Золотая плита
gold-cable=Золотой кабель
moist-stromatolite-remnant=Влажный остаток строматолита
steam-science-pack=Паровой исследовательский пакет
lumber=Пиломатериалы
basic-repair-pack=Базовый ремонтный комплект
cupriavidus-necator=Cupriavidus necator
dead-cupriavidus-necator=Мёртвая cupriavidus necator
gold-quality-catalyst=Золотой катализатор качества
wood-armor=Деревянная броня
wood-darts-magazine=Магазин с деревянными дротиками
basic-circuit-board=Базовая схема
crushed-gold-ore=Дроблёная золотая руда
[item-description]
wooden-wall=Используйте деревянные стены для защиты базы и снижения уровня шума.
stone-wall=Обеспечивает лучшую акустическую и физическую защиту, чем деревянный аналог.
gold-stromatolite-seed=Посадите семя для выращивания золотого строматолита. Он содержит бактерии, обогащающие золото из почвы.\n__REMARK_COLOR_BEGIN__Ожидаемая добыча:__REMARK_COLOR_END__ 1.5 [item=gold-ore]/m
[fluid-name]
wood-pulp=Древесная масса
molten-gold=Расплавленное золото
[recipe-name]
moist-stromatolite-remnant-desiccation=Высушивание влажного строматолита
moist-stromatolite-remnant-desiccation-without-steam=Высушивание влажного строматолита
gold-stromatolite-seed-to-peat=Обработка семян золотого строматолита
wood-liquefaction=Сжижение древесины
provisional-rocket-part=Импровизированная деталь ракеты
cupriavidus-necator-starter=Cupriavidus necator (стартовая культура)
plastic-from-cupriavidus-necator=Биопластик
plastic-from-dead-cupriavidus-necator=Биопластик
low-density-structure-gold=Конструкция малой плотности
rocket-fuel-from-wood-pulp-and-peat=Био-ракетное топливо
nutrients-from-wood-pulp=Питательные вещества из древесной массы
active-noise-cancelling=Активное шумоподавление
casting-gold=Литьё золота
gold-ore-crushing=Дробление золотой руды
[recipe-description]
moist-stromatolite-remnant-desiccation-without-steam=Используется для балансировки производства пара.
gold-stromatolite-seed-to-peat=Используется для удаления излишков семян золотого строматолита.
[technology-name]
wood-science-pack=Деревянный исследовательский пакет
burner-automation=Твердотопливная автоматизация
planet-discovery-nauvis=Открытие планеты Наувис
planet-discovery-lignumis=Открытие луны Лигнумис
iron-processing=Обработка железа
copper-processing=Обработка меди
lumber-mill=Лесопильня
deep-miner=Глубинный бур
gold-fluid-handling=Золотая транспортировка и хранение жидкостей
steam-automation=Паровая автоматизация
steam-science-pack=Паровой исследовательский пакет
wood-liquefaction=Сжижение древесины
provisional-rocketry=Импровизированное ракетостроение
basic-gun-turret=Базовая пулемётная турель
basic-construction-robotics-gold=Базовый строительная робототехника (золото)
basic-construction-robotics-copper=Базовый строительная робототехника (медь)
wood-logistics=Деревянная логистика
automation=Электрическая автоматизация
tree-seeding=Базовое сельское хозяйство
basic-repair-pack=Базовый ремонтный комплект
basic-radar=Базовый радар
active-noise-cancelling=Активное шумоподавление
quality-assembler=Качественный сборочный автомат
aai-wood-loader=Деревянный погрузчик
basic-ore-crushing=Базовое дробление руды
[technology-description]
wood-science-pack=Позволяет исследовать базовые технологии на основе древесины.
burner-automation=Технология для базовой автоматизации с использованием твердотопливных машин.
planet-discovery-nauvis=Планета с умеренным климатом, предлагающая все необходимые ресурсы.
planet-discovery-lignumis=Луна на орбите Наувиса, которая мало что может предложить, кроме растительности и металла, который может быть полезен.
lumber-mill=Передовой станок для обработки древесины.
deep-miner=Открывает доступ к огромным месторождениям золота, которые ранее были недоступны.
steam-automation=Позволяет исследовать более сложные технологии на основе древесины и золота.
wood-liquefaction=Превращение дерева в жидкость открывает новые возможности.
provisional-rocketry=Нам нужно как-то убраться с этой луны. Это наш единственный шанс!
basic-gun-turret=Самая простая автоматическая защита. Это немного, но пока этого должно хватить.
basic-construction-robotics-gold=Самая базовая помощь в личных строительных нуждах.
basic-construction-robotics-copper=Самая базовая помощь в личных строительных нуждах.
wood-logistics=Медленная, но всё же автоматическая транспортировка предметов.
tree-seeding=[entity=burner-agricultural-tower] позволяет высаживать семена в пригодную для посева почву. Посаженные семена вырастают в деревья, которые можно собирать.\n[entity=tree-plant] может расти на траве и земле. [entity=gold-stromatolite] может расти на [tile=natural-gold-soil].
active-noise-cancelling=Помогает справляться с шумом.
quality-assembler=Высококлассный сборочный автомат, создающий машины только самого высокого качества, используя особые ресурсы, которые можно найти только на Лигнумисе.
automation-science-pack=Покиньте Лигнумис для исследования продвинутых технологий.
[modifier-description]
basic-gun-turret-attack-bonus=Урон базовой турели: +__1__
[tile-name]
wood-floor=Деревянный пол
natural-gold-soil=Золотосодержащая почва
[fuel-category-name]
wood=Древесное топливо
quality-catalyst=Катализатор качества
[mod-setting-name]
lignumis-belt-progression=Включить прогрессивные рецепты конвейеров
lignumis-inserter-progression=Включить прогрессивные рецепты манипуляторов
lignumis-ammo-progression=Включить прогрессивные рецепты патронов
lignumis-technology-progression=Включить прогрессивные технологии
lignumis-basic-circuit-board=Включить базовую схему
lignumis-circuit-progression=Включить прогрессивные рецепты электросхем
lignumis-assembler-progression=Включить прогрессивные рецепты сборочных автоматов
lignumis-lumber-mill-more-recipes=Добавить дополнительные рецепты для лесопильни
lignumis-fulgora-wood=Добавить древесину на Фульгору
lignumis-early-robots=Ещё более ранние персональные дроны
[mod-setting-description]
lignumis-belt-progression=Жёлтые конвейеры будут требовать деревянные конвейеры для создания.
lignumis-inserter-progression=Жёлтые манипуляторы будут требовать твердотопливные манипуляторы для создания.
lignumis-ammo-progression=Магазины огнестрельного оружия будут требовать магазин с деревянными дротиками для создания.
lignumis-technology-progression=Добавляет деревянные и паровые исследовательские пакеты к большинству поздних технологий. Отключение этого параметра снижает их значимость в поздней игре.
lignumis-basic-circuit-board=Рецепты используют базовые схемы вместо золотых кабелей и золотых плит, где это возможно. Будут добавлены и золотой, и медный рецепты создания.
lignumis-circuit-progression=Электросхемы будут требовать базовые схемы для создания.
lignumis-assembler-progression=Сборочный автомат 1 будет трубовать твердотопливный сборочный автомат для создания.
lignumis-lumber-mill-more-recipes=Лесопильня может создавать базовые турели, твердотопливные сборочные атоматы и твердотопливные манипуляторы. При включении всех прогрессивных рецептов улучшается баланс использования древесины и помогает в играх-марафонах.
lignumis-fulgora-wood=Добавляет деревянные шестерни в переработку металлолома как источник древесины. Отключите, если у вас есть другой источник древесины или вы отправляете её с других планет.
lignumis-early-robots=Персональные дроны будут передвинуты из паровых в деревянные исследовательские пакеты и получат небольшое ускорение.
[autoplace-control-names]
lignumis_enemy_base=Вражеские базы Лигнумиса
[entity-status]
no-quality-catalyst=Нет катализатора качества
[description]
accepted-catalysts=Разрешённые катализаторы
quality-catalyst-energy-value=Значение качества
[gui]
quality-catalyst=Катализатор качества
[lignumis]
start-new-game=Лигнумис рассчитан на игру с нуля, так как он удлиняет ранний этап перед Наувисом.
provisional-rocket-silo-button=Сбежать на __1__
provisional-rocket-silo-button-tooltip-inventory=Ваш инвентарь должен быть пустой!
provisional-rocket-silo-button-tooltip-target=Вы ещё не знаете куда сбежать!
provisional-rocket-silo-description=Заполните ракету ресурсами и запустите её, чтобы сбежать на __1__.\nНе забудьте взять материалы для запуска производства железа, меди и древесины.

View file

@ -2,7 +2,7 @@ surface-condition-too-low=__1__不符合.
surface-condition-too-high=__1__不符合.
[mod-name]
lignumis= 愈创星 - Lignumis
lignumis=🌐愈创星 - Lignumis
[mod-description]
lignumis=潜入木木世界的世界,木星的月亮只提供最基本的技术
@ -67,7 +67,6 @@ gold-plate=金板
gold-cable=金缆
moist-stromatolite-remnant=湿叠层石残余物
steam-science-pack=蒸汽科技包
destination-nauvis=前往新地星
lumber=木料
basic-repair-pack=基础维修包
cupriavidus-necator=钩虫贪铜菌
@ -78,7 +77,6 @@ wood-darts-magazine=木镖弹匣
[item-description]
wooden-wall=使用木墙保护基地,防御土著的侵袭,同时降低噪音。
destination-nauvis=将此物品放入火箭中,即可前往新地星。注意,你可能一段时间内回不来。\n__REMARK_COLOR_BEGIN__BETA 注意背包中最多只能持有40堆叠的物品。目前前往新地星的方法是临时实现的。带一些资源有助于你在新地星上快速启动生产铁板、铜板和木料。
[fluid-name]
wood-pulp=木浆

View file

@ -0,0 +1,5 @@
for _, player in pairs(game.players) do
if player.character then
player.character.destructible = true
end
end

View file

@ -0,0 +1,5 @@
storage.target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if script.active_mods["any-planet-start"] then
storage.target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or storage.target_planet
end

View file

@ -1,14 +1,17 @@
local Technology = require("__cf-lib__/data/Technology")
local Recipe = require("__cf-lib__/data/Recipe")
if not mods["aai-industry"] then return end
data.raw.recipe["wood-science-pack"].allow_hand_crafting = true
-- Technologies / Recipe unlocks
local burner_mechanics = Technology:new("burner-mechanics")
burner_mechanics:addPrerequisite("iron-processing")
burner_mechanics:removeRecipe("burner-inserter")
burner_mechanics:removeRecipe("burner-mining-drill")
burner_mechanics:removeRecipe("burner-assembling-machine")
burner_mechanics:addPrerequisite("iron-processing")
data.raw.recipe["burner-inserter"].enabled = true
data.raw.recipe["burner-mining-drill"].enabled = true
@ -16,6 +19,15 @@ data.raw.recipe["burner-mining-drill"].enabled = true
local burner_automation = Technology:new("burner-automation")
burner_automation:addRecipe("burner-assembling-machine")
Technology:new("basic-logistics"):removeRecipe("transport-belt")
Technology:new("logistics"):addRecipe("transport-belt")
-- Electrics comes later with AAI Industry active
Recipe:new("lumber-mill-copper"):replaceIngredient("assembling-machine-1", "burner-assembling-machine")
Recipe:new("basic-construction-robot-copper"):replaceIngredient("electronic-circuit", "basic-circuit-board")
-- Entities
local wall = data.raw["wall"]["concrete-wall"]
wall.emissions_per_second = wall.emissions_per_second or {}
wall.emissions_per_second.noise = -30 / 60
@ -24,9 +36,18 @@ data.raw["lab"]["wood-lab"].next_upgrade = "burner-lab"
table.insert(data.raw["agricultural-tower"]["burner-agricultural-tower"].energy_source.fuel_categories, "processed-chemical")
table.insert(data.raw["assembling-machine"]["fuel-processor"].energy_source.fuel_categories, "wood")
if settings.startup["lignumis-basic-circuit-board"].value then
table.insert(data.raw["recipe"]["electric-mining-drill"].ingredients, { type = "item", name = "basic-circuit-board", amount = 2 })
table.insert(data.raw["recipe"]["inserter"].ingredients, { type = "item", name = "basic-circuit-board", amount = 1 })
table.insert(data.raw["recipe"]["burner-lab"].ingredients, { type = "item", name = "basic-circuit-board", amount = 10 })
table.insert(data.raw["recipe"]["assembling-machine-1"].ingredients, { type = "item", name = "basic-circuit-board", amount = 5 })
-- AAI Industry messes with the basic circuit board recipe
Technology:new("electronics"):removeRecipe("basic-circuit-board")
data.raw.recipe["basic-circuit-board"].enabled = true
Technology:new("electricity"):removeRecipe("copper-cable")
Technology:new("copper-processing"):addRecipe("copper-cable")
end

View file

@ -0,0 +1,14 @@
local Recipe = require("__cf-lib__/data/Recipe")
if not mods["aai-loaders"] then return end
if settings.startup["aai-loaders-mode"].value == "graphics-only" then return end
local recipe = Recipe:new("aai-loader")
if settings.startup["lignumis-belt-progression"].value then
recipe:replaceIngredient("transport-belt", "aai-wood-loader", 1)
end
if mods["aai-industry"] and settings.startup["lignumis-basic-circuit-board"].value then
recipe:replaceIngredient("electronic-circuit", "basic-circuit-board")
end

View file

@ -2,13 +2,14 @@ local Recipe = require("__cf-lib__/data/Recipe")
local Technology = require("__cf-lib__/data/Technology")
if not mods["aai-loaders"] then return end
if settings.startup["aai-loaders-mode"].value == "graphics-only" then return end
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local recipe = {
ingredients = {
{ type = "item", name = "lumber", amount = 5 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 5 } or
{ type = "item", name = "gold-cable", amount = 10 },
{ type = "item", name = "wood-transport-belt", amount = 1 }
},
@ -34,15 +35,21 @@ AAILoaders.make_tier({
unlubricated_recipe = mods["aai-loaders-sane"] and recipe or {
ingredients = {
{ type = "item", name = "lumber", amount = 50 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 50 } or
{ type = "item", name = "gold-cable", amount = 100 },
{ type = "item", name = "wood-transport-belt", amount = 1 }
},
energy_required = 5
},
next_upgrade = "aai-loader",
localise = false
localise = false,
order = "d[loader]-a00[aai-wood-loader]"
})
data.raw.recipe["aai-wood-loader"].additional_categories = { "wood-processing" }
data.raw["loader-1x1"]["aai-wood-loader"].animation_speed_coefficient = 1.01 * 32
if not basic_circuit_board then
local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit")
nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit")

View file

@ -0,0 +1,67 @@
-- Lignumis + Alien Biomes Compatibility - Final Fixes
--
-- This runs AFTER alien-biomes data-updates.lua to ensure our fixes aren't overridden
-- Load order: data.lua -> data-updates.lua -> data-final-fixes.lua (THIS FILE)
if not mods["alien-biomes"] then
return
end
-- Define Lignumis grass tiles (from mapgen.lua)
local lignumis_grass_tiles = {
"grass-1",
"grass-2",
"grass-3",
"grass-4",
"natural-gold-soil"
}
-- Fix tree plant for manual planting on Lignumis grass tiles
local tree_plant = data.raw.plant["tree-plant"]
if mods["Diversitree"] then
tree_plant = data.raw.plant["s6xdvt-fake-tree"]
end
if tree_plant then
for _, tile in pairs(lignumis_grass_tiles) do
local already_present = false
for _, existing_tile in pairs(tree_plant.autoplace.tile_restriction) do
if existing_tile == tile then
already_present = true
break
end
end
if not already_present then
table.insert(tree_plant.autoplace.tile_restriction, tile)
end
end
end
-- Fix tree autoplace restrictions for natural tree spawning
for _, tree in pairs(data.raw.tree) do
if tree.autoplace and tree.autoplace.tile_restriction then
-- Skip gold stromatolites - they should remain exclusive to natural-gold-soil
local is_gold_stromatolite = tree.name and (tree.name:find("stromatolite") or tree.name:find("gold"))
if not is_gold_stromatolite then
-- Check if Lignumis grass tiles are missing
local has_lignumis_tiles = false
for _, existing_tile in pairs(tree.autoplace.tile_restriction) do
for _, lignumis_tile in pairs(lignumis_grass_tiles) do
if existing_tile == lignumis_tile then
has_lignumis_tiles = true
break
end
end
if has_lignumis_tiles then break end
end
-- Add Lignumis grass tiles if missing
if not has_lignumis_tiles then
for _, tile_name in pairs(lignumis_grass_tiles) do
table.insert(tree.autoplace.tile_restriction, tile_name)
end
end
end
end
end

View file

@ -6,6 +6,7 @@ settings["small-rock"] = nil
settings["tiny-rock"] = nil
-- Fix trees not being plantable on Alien Biomes tiles
-- Note: Additional tree fixes for Lignumis grass tiles are handled in alien-biomes-final.lua
local tile_restriction = data.raw["plant"]["tree-plant"].autoplace.tile_restriction
for _, tile in pairs(alien_biomes.all_tiles()) do
if tile.tags and (table.contains(tile.tags, "dirt") or table.contains(tile.tags, "grass")) then

View file

@ -0,0 +1,95 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["any-planet-start"] then return end
local target_planet = settings.startup["aps-planet"].value
if not target_planet or target_planet == "none" or target_planet == "nauvis" then return end
Technology:new("tree-seeding"):setPrerequisites({ "wood-science-pack" })
-- Switch planet discovery technology to the new planet
local planet_discovery = data.raw.technology["planet-discovery-" .. target_planet] or data.raw.technology["moon-discovery-" .. target_planet]
if planet_discovery then
Technology:new(planet_discovery)
:assign({
enabled = true,
hidden = false,
unit = {
count = 100,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 30
}
})
:setPrerequisites({ "provisional-rocketry" })
Technology:new("iron-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
Technology:new("copper-processing"):replacePrerequisite("planet-discovery-nauvis", planet_discovery.name)
end
-- Vulcanus
if target_planet == "vulcanus" then
Technology:new("automation"):addPrerequisite("iron-processing")
Technology:new("steel-processing"):addPrerequisite("iron-processing")
Technology:new("tungsten-carbide"):addPrerequisite("planet-discovery-vulcanus")
Technology:new("iron-processing").prototype.research_trigger.entity = "big-volcanic-rock"
Technology:new("copper-processing").prototype.research_trigger.entity = "big-volcanic-rock"
data.raw.resource["tungsten-ore"].category = "basic-solid"
if mods["bztitanium"] and mods["crushing-industry"] then
Technology:new("foundry"):addRecipe("crushed-titanium-ore")
data.raw.recipe["crushed-titanium-ore"].category = "basic-crushing"
end
if mods["bzcarbon"] then
Technology:new("graphite-processing"):addPrerequisite("planet-discovery-vulcanus")
Technology:new("diamond-processing-2"):addPrerequisite("planet-discovery-vulcanus")
end
if mods["bzsilicon"] then
Technology:new("silica-processing"):addPrerequisite("planet-discovery-vulcanus")
end
if mods["bzzirconium"] then
Technology:new("zirconia-processing"):addPrerequisite("planet-discovery-vulcanus")
end
end
-- Fulgora
if target_planet == "fulgora" then
data.raw.recipe["medium-electric-pole"].enabled = false
Technology:new("recycling")
:addPrerequisite("planet-discovery-fulgora")
:addRecipe("medium-electric-pole")
Technology:new("iron-processing").prototype.research_trigger.entity = "scrap"
Technology:new("copper-processing").prototype.research_trigger.entity = "scrap"
if mods["fulgora-coralmium-agriculture"] then
Technology:new("coralmium-recycling")
:addPrerequisite("recycling")
:removeRecipe("agricultural-tower")
end
end
-- Gleba
if target_planet == "gleba" then
Technology:new("landfill")
:setPrerequisites({ "burner-automation" })
:assign({
unit = {
count = 50,
ingredients = { { "wood-science-pack", 1 } },
time = 15
}
})
.prototype.research_trigger = nil
Technology:new("iron-processing").prototype.research_trigger.entity = "iron-stromatolite"
Technology:new("copper-processing").prototype.research_trigger.entity = "copper-stromatolite"
end

View file

@ -0,0 +1,14 @@
if not mods["canal-excavator"] then return end
data:extend({{
type = "mod-data",
name = "canex-lignumis-config",
data_type = "canex-surface-config",
data = {
surfaceName = "lignumis",
localisation = {"space-location-name.lignumis"},
mineResult = "stone",
oreStartingAmount = 10,
tint = {r = 102, g = 78, b = 6}
},
}})

View file

@ -0,0 +1,10 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["crushing-industry"] then return end
if not settings.startup["crushing-industry-ore"].value then return end
if mods["aai-industry"] then
Technology:new("burner-mechanics"):removeRecipe("burner-crusher")
else
Technology:new("steam-power"):removeRecipe("burner-crusher")
end

View file

@ -0,0 +1,111 @@
local item_sounds = require("__base__.prototypes.item_sounds")
local Recipe = require("__cf-lib__/data/Recipe")
if not mods["crushing-industry"] then return end
if not settings.startup["crushing-industry-ore"].value then return end
data:extend({
{
type = "item",
name = "crushed-gold-ore",
icon = Lignumis.graphics .. "icons/crushed-gold-ore.png",
pictures = {
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore.png", scale = 0.5, mipmap_count = 4 },
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-1.png", scale = 0.5, mipmap_count = 4 },
{ size = 64, filename = Lignumis.graphics .. "icons/crushed-gold-ore-2.png", scale = 0.5, mipmap_count = 4 },
},
subgroup = "raw-resource",
color_hint = { text = "C" },
order = "f[gold-ore]-c[crushed]",
inventory_move_sound = item_sounds.resource_inventory_move,
pick_sound = item_sounds.resource_inventory_pickup,
drop_sound = item_sounds.resource_inventory_move,
stack_size = 100,
weight = 2 * kg
},
{
type = "recipe",
name = "crushed-gold-ore",
localised_name = { "recipe-name.gold-ore-crushing" },
icons = CrushingIndustry.make_crushing_icons("gold-ore"),
category = "basic-crushing",
enabled = false,
allow_productivity = true,
auto_recycle = false,
energy_required = 1.2,
ingredients = { { type = "item", name = "gold-ore", amount = 1 } },
results = { { type = "item", name = "crushed-gold-ore", amount = 1, extra_count_fraction = 0.5 } },
main_product = "crushed-gold-ore"
},
{
type = "recipe",
name = "crushed-gold-smelting",
localised_name = { "recipe-name.crushed-smelting", { "item-name.gold-plate" } },
icons = {
{ icon = Lignumis.graphics .. "icons/crushed-gold-ore.png", shift = { -12, -12 }, scale = 0.4 },
{ icon = Lignumis.graphics .. "icons/gold-plate.png", draw_background = true }
},
category = "smelting",
order = "a[smelting]-b[gold-plate]-c[crushed]",
enabled = false,
allow_productivity = true,
auto_recycle = false,
hide_from_player_crafting = settings.startup["crushing-industry-hide-player-crafting"].value,
energy_required = 3.2,
ingredients = { { type = "item", name = "crushed-gold-ore", amount = 1 } },
results = { { type = "item", name = "gold-plate", amount = 1 } },
main_product = "gold-plate",
},
{
type = "technology",
name = "basic-ore-crushing",
icon = Lignumis.graphics .. "technology/basic-ore-crushing.png",
icon_size = 256,
effects = {
{ type = "unlock-recipe", recipe = "burner-crusher" },
{ type = "unlock-recipe", recipe = "crushed-gold-ore" },
{ type = "unlock-recipe", recipe = "crushed-gold-smelting" }
},
prerequisites = { "steam-science-pack" },
unit = {
count = 100,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 15
}
}
})
Recipe:new("molten-gold"):replaceIngredient("gold-ore", "crushed-gold-ore", 75)
if settings.startup["crushing-industry-byproducts"].value then
table.insert(data.raw["recipe"]["crushed-gold-ore"].results,
{ type = "item", name = "gold-ore", amount = 1, probability = 0.05 })
table.insert(data.raw["recipe"]["crushed-gold-ore"].results,
{ type = "item", name = "moist-stromatolite-remnant", amount = 1, probability = 0.02 })
end
local gold_recipe = Recipe:new("burner-crusher")
:replaceIngredient("iron-gear-wheel", "wooden-gear-wheel")
:replaceIngredient("iron-plate", "gold-plate")
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
gold_recipe.prototype.additional_categories = { "wood-processing" }
end
gold_recipe:clone("burner-crusher-copper")
:replaceIngredient("gold-plate", "copper-plate")
:assign({
localised_name = { "entity-name.burner-crusher" },
icons = {
{ icon = data.raw.item["burner-crusher"].icon },
{ icon = "__base__/graphics/icons/copper-plate.png", scale = 0.25, shift = { 8, 8 } }
}
})
:unlockedByTechnology("copper-processing")
:apply()
if mods["aai-industry"] then
gold_recipe:replaceIngredient("motor", "wooden-gear-wheel")
end

View file

@ -2,6 +2,10 @@ require("hot-metals")
require("wood-military")
require("metal-and-stars")
require("alien-biomes")
require("planet-picker")
require("aai-loaders")
require("nuclear-science")
require("lane-splitters")
require("wood-industry")
require("crushing-industry")
require("canal-excavator")
require("diversitree")

View file

@ -0,0 +1,12 @@
if not mods["Diversitree"] then
return
end
data.raw.plant["s6xdvt-fake-tree"].surface_conditions[1].min = 900
local tree_plant = data.raw.plant["s6xdvt-fake-tree"]
tree_plant.growth_ticks = 5 * minute
tree_plant.minable.results = { { type = "item", name = "wood", amount = 5 } }
tree_plant.minable.count = nil
tree_plant.surface_conditions[1].min = 900
table.insert(tree_plant.autoplace.tile_restriction, "natural-gold-soil")

View file

@ -1,3 +1,7 @@
require("aai-loaders-final")
require("any-planet-start-final")
require("alien-biomes-final")
if not data.raw.technology["legendary-quality"] then
table.removeValue(data.raw.technology["quality-assembler"].prerequisites, "legendary-quality")
end

View file

@ -0,0 +1,16 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["gleba-reborn"] then return end
Technology:new("tree-seeding")
:setPrerequisites({ "wood-science-pack" })
:assign({
unit = {
count = 10,
ingredients = {
{ "wood-science-pack", 1 }
},
time = 10
}
})
.prototype.research_trigger = nil

View file

@ -0,0 +1,44 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["Krastorio2-spaced-out"] then return end
data.raw.recipe["burner-inserter"].ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
{ type = "item", name = "lumber", amount = 1 }
}
Technology:new("kr-automation-core"):addPrerequisite("iron-processing")
local function lock_recipes(technology, recipes)
local tech = Technology:new(technology)
for _, recipe in pairs(recipes) do
tech:addRecipe(recipe)
data.raw.recipe[recipe].enabled = false
end
end
lock_recipes("iron-processing", {
"iron-stick",
"kr-wind-turbine",
"kr-iron-beam",
"kr-inserter-parts"
})
lock_recipes("copper-processing", {
"copper-cable",
"small-electric-pole"
})
lock_recipes("planet-discovery-nauvis", {
"kr-rare-metals"
})
Technology:new("electronics"):removeRecipe("kr-electronic-circuit-wood")
if settings.startup["kr-realistic-weapons"].value then
local pistol_attack = data.raw.gun["pistol"].attack_parameters
pistol_attack.ammo_categories = pistol_attack.ammo_categories or { pistol_attack.ammo_category }
pistol_attack.ammo_category = nil
table.insert(pistol_attack.ammo_categories, "bullet")
data.raw.recipe["firearm-magazine"].enabled = false
end

View file

@ -0,0 +1,39 @@
local Recipe = require("__cf-lib__/data/Recipe")
local Technology = require("__cf-lib__/data/Technology")
if not mods["lane-splitters"] then return end
local lane_splitter = make_tier({
name = "wood-lane-splitter",
base_belt = "wood-transport-belt",
base_splitter = "wood-splitter",
health = 150,
next_upgrade = "lane-splitter",
})
lane_splitter.prototype.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
lane_splitter.prototype.dying_explosion = "transport-belt-explosion"
lane_splitter.prototype.structure.east.filename = data.raw.splitter["wood-splitter"].structure.east.filename
lane_splitter.prototype.structure.south.filename = data.raw.splitter["wood-splitter"].structure.south.filename
lane_splitter.prototype.structure.west.filename = data.raw.splitter["wood-splitter"].structure.west.filename
lane_splitter.prototype.structure.north.filename = data.raw.splitter["wood-splitter"].structure.north.filename
lane_splitter.prototype.structure_patch.east.filename = data.raw.splitter["wood-splitter"].structure_patch.east.filename
lane_splitter.prototype.structure_patch.south.filename = data.raw.splitter["wood-splitter"].structure_patch.south.filename
lane_splitter.prototype.structure_patch.west.filename = data.raw.splitter["wood-splitter"].structure_patch.west.filename
lane_splitter.prototype.structure_patch.north.filename = data.raw.splitter["wood-splitter"].structure_patch.north.filename
lane_splitter.prototype.animation_speed_coefficient = 1.01 * 32
lane_splitter.item.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
lane_splitter.item.order = "d[lane-splitter]-0[wood-lane-splitter]"
lane_splitter.recipe.additional_categories = { "wood-processing" }
data:extend({
lane_splitter.prototype,
lane_splitter.item,
lane_splitter.recipe,
})
Technology:new("wood-logistics"):addRecipe("wood-lane-splitter")
if mods["aai-industry"] and settings.startup["lignumis-basic-circuit-board"].value then
Recipe:new("lane-splitter"):replaceIngredient("electronic-circuit", "basic-circuit-board")
end

View file

@ -1,7 +0,0 @@
local Technology = require("__cf-lib__/data/Technology")
if not mods["planet-picker"] and not mods["any-planet-start"] then return end
local technology = Technology:new("planet-discovery-lignumis")
technology:setPrerequisites({ "space-platform-thruster" })
technology:addIngredients({ "logistic-science-pack", "chemical-science-pack", "space-science-pack" })

View file

@ -1 +1,5 @@
require("aai-industry")
require("gleba-reborn")
require("crushing-industry-updates")
require("k2so")
require("wood-logistics")

View file

@ -0,0 +1,3 @@
if not mods["wood-industry"] then return end
data.raw.item["woodchips"].fuel_category = "wood"

View file

@ -0,0 +1,157 @@
local Item = require("__cf-lib__/data/Item")
local Recipe = require("__cf-lib__/data/Recipe")
local Technology = require("__cf-lib__/data/Technology")
if not mods["wood-logistics"] then
return
end
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local electric_lumber_mill = settings.startup["lignumis-electric-lumber-mill"].value
-- Lumber
if settings.startup["wood-logistics-lumber"].value then
Recipe:new("lumber"):addCategory("wood-processing")
end
-- Lumber mill
if settings.startup["wood-logistics-lumber-mill"].value then
local lumberMill = data.raw["assembling-machine"]["lumber-mill"]
lumberMill.surface_conditions = {
{
property = has_oxygen and "oxygen" or "pressure",
min = 3
},
{
property = "gravity",
min = 1
}
}
table.insert(lumberMill.crafting_categories, "wood-processing")
if electric_lumber_mill then
lumberMill.energy_source.emissions_per_minute.noise = 100
else
lumberMill.energy_source = {
type = "burner",
fuel_categories = { "chemical" },
effectivity = 1,
fuel_inventory_size = 3,
emissions_per_minute = { pollution = 10, noise = 100 },
}
end
data.raw.item["lumber-mill"].default_import_location = "lignumis"
table.assign(data.raw.recipe["lumber-mill"], {
additional_categories = { "wood-processing" },
ingredients = table.trim({
{ type = "item", name = "stone-brick", amount = 40 },
{ type = "item", name = "lumber", amount = 50 },
{ type = "item", name = "wooden-gear-wheel", amount = 50 },
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 20 or 40 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 20 } or nil,
{ type = "item", name = "burner-assembling-machine", amount = 2 }
})
})
Recipe:new("lumber-mill")
:clone("lumber-mill-copper")
:assign({
localised_name = { "entity-name.lumber-mill" },
icons = {
{ icon = data.raw.item["lumber-mill"].icon },
{ icon = basic_circuit_board and "__base__/graphics/icons/copper-plate.png" or "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
}
})
:replaceIngredient("gold-plate", "copper-plate")
:unlockedByTechnology(
electric_lumber_mill and "advanced-carpentry"
or basic_circuit_board and "copper-processing"
or "electronics"
)
:apply()
if electric_lumber_mill then
table.assign(data.raw.technology["advanced-carpentry"], {
prerequisites = { "automation-science-pack" },
unit = {
count = 250,
time = 15,
ingredients = {
{ "automation-science-pack", 1 }
}
}
})
else
table.assign(data.raw.technology["advanced-carpentry"], {
prerequisites = { "steam-science-pack" },
unit = {
count = 250,
time = 15,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
}
}
})
end
end
-- Wooden belts
if settings.startup["wood-logistics-belts"].value then
Recipe:new("wood-transport-belt")
:replaceIngredient("copper-cable", "wooden-gear-wheel", 1)
:assign({
additional_categories = { "wood-processing" }
})
Recipe:new("wood-underground-belt")
:assign({
additional_categories = { "wood-processing" }
})
Recipe:new("wood-splitter")
:replaceIngredient("copper-cable", basic_circuit_board and "basic-circuit-board" or "gold-cable", basic_circuit_board and 5 or nil)
:assign({
additional_categories = { "wood-processing" }
})
if not basic_circuit_board then
Recipe:new("wood-splitter")
:clone("wood-splitter-electronic-circuit")
:replaceIngredient(basic_circuit_board and "gold-cable" or "basic-circuit-board", "electronic-circuit", 2)
:assign({
localised_name = { "entity-name.wood-splitter" },
icons = {
{ icon = data.raw.item["wood-splitter"].icon },
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
}
})
:unlockedByTechnology("electronics")
:apply()
end
Item:new("wood-transport-belt")
:itemsPerRocket(200)
:defaultImportLocation("lignumis")
Item:new("wood-underground-belt")
:itemsPerRocket(100)
:defaultImportLocation("lignumis")
Item:new("wood-splitter")
:itemsPerRocket(100)
:defaultImportLocation("lignumis")
Technology:new("wood-logistics"):assign({
prerequisites = { "wood-science-pack" },
unit = {
count = 10,
ingredients = { { "wood-science-pack", 1 } },
time = 10
}
})
Technology:new("logistics"):setPrerequisites({ "automation-science-pack" })
end

View file

@ -22,7 +22,7 @@ data:extend({
max_health = 150,
crafting_speed = 1,
crafting_categories = { "active-noise-cancelling" },
energy_usage = "2MW",
energy_usage = "500kW",
energy_source = {
type = "electric",
usage_priority = "secondary-input",
@ -113,7 +113,7 @@ data:extend({
name = "active-noise-cancelling",
icons = { { icon = Lignumis.graphics .. "icons/active-noise-cancelling.png" } },
enabled = false,
energy_required = 1000000,
energy_required = 60,
ingredients = {},
results = {},
category = "active-noise-cancelling",

View file

@ -7,7 +7,7 @@ data:extend({
{
type = "item",
name = "basic-circuit-board",
icon = Lignumis.graphics .. "icons/basic-circuit-board.png",
icons = { { icon = Lignumis.graphics .. "icons/basic-circuit-board.png", icon_size = 64 } },
subgroup = "intermediate-product",
order = "c[circuits]-0[basic-circuit-board]",
inventory_move_sound = item_sounds.electric_small_inventory_move,
@ -19,7 +19,8 @@ data:extend({
{
type = "recipe",
name = "basic-circuit-board",
category = "wood-processing-or-assembling",
category = "crafting",
additional_categories = { "wood-processing" },
icons = {
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
@ -36,7 +37,8 @@ data:extend({
type = "recipe",
name = "basic-circuit-board-copper",
localised_name = { "item-name.basic-circuit-board" },
category = "wood-processing-or-assembling",
category = "crafting",
additional_categories = { "wood-processing" },
icons = {
{ icon = Lignumis.graphics .. "icons/basic-circuit-board.png" },
{ icon = "__base__/graphics/icons/copper-cable.png", scale = 0.25, shift = { 8, 8 } }

View file

@ -2,6 +2,7 @@ local item_sounds = require("__base__.prototypes.item_sounds")
local item_tints = require("__base__.prototypes.item-tints")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local early_robots = settings.startup["lignumis-early-robots"].value
local function robot(color)
local result = table.deepcopy(data.raw["construction-robot"]["construction-robot"])
@ -9,8 +10,10 @@ local function robot(color)
result.icon = Lignumis.graphics .. "icons/basic-construction-robot-" .. color .. ".png"
result.minable.result = "basic-construction-robot-" .. color
result.max_health = 50
result.speed = 0.04
result.max_energy = "2MJ"
result.speed = early_robots and 0.05 or 0.04
result.max_energy = early_robots and "1.5MJ" or "1MJ"
result.energy_per_tick = early_robots and "0.03kJ" or "0.04kJ"
result.energy_per_move = early_robots and "2kJ" or "2.5kJ"
result.idle.filename = Lignumis.graphics .. "entity/basic-construction-robot/basic-construction-robot-" ..
color .. ".png"
result.in_motion.filename = Lignumis.graphics .. "entity/basic-construction-robot/basic-construction-robot-" ..
@ -83,9 +86,10 @@ local function generator(color)
energy_source = {
type = "electric",
usage_priority = "secondary-output",
output_flow_limit = "200kW"
output_flow_limit = "100kW",
buffer_capacity = "5MJ"
},
power = "200kW",
power = "100kW",
categories = { "armor" }
}
end
@ -177,15 +181,16 @@ local gold_robot_technology = {
modifier = true
}
},
prerequisites = { "steam-science-pack" },
prerequisites = { early_robots and "wood-science-pack" or "steam-science-pack" },
unit = {
count = 200,
ingredients = {
ingredients = early_robots and { { "wood-science-pack", 1 } } or {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 }
},
time = 15
}
},
ignore_tech_cost_multiplier = early_robots
}
local copper_robot_technology = {
@ -246,21 +251,21 @@ data:extend({
robot_item("copper", 1),
robot_recipe("copper", {
{ type = "item", name = "copper-plate", amount = 2 },
{ type = "item", name = "iron-gear-wheel", amount = 5 },
{ type = "item", name = "electronic-circuit", amount = 5 }
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
{ type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 5 }
}),
generator("copper"),
generator_item("copper", 1),
generator_recipe("copper", {
{ type = "item", name = "copper-plate", amount = 10 },
{ type = "item", name = "iron-gear-wheel", amount = 10 }
{ type = "item", name = "wooden-gear-wheel", amount = 10 }
}),
roboport("copper"),
roboport_item("copper", 1),
roboport_recipe("copper", {
{ type = "item", name = "copper-plate", amount = 5 },
{ type = "item", name = "electronic-circuit", amount = 10 },
{ type = "item", name = "iron-gear-wheel", amount = 10 }
{ type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 },
{ type = "item", name = "wooden-gear-wheel", amount = 10 }
}),
-- Technology

View file

@ -51,12 +51,15 @@ local turret_recipe = {
enabled = false,
energy_required = 8,
ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 10 },
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
{ type = "item", name = "lumber", amount = 10 },
{ type = "item", name = "gold-plate", amount = 20 }
{ type = "item", name = "gold-plate", amount = 10 }
},
results = { { type = "item", name = "basic-gun-turret", amount = 1 } }
}
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
turret_recipe.additional_categories = { "wood-processing" }
end
local turret_technology = {
type = "technology",

View file

@ -1,4 +1,5 @@
local item_sounds = require("__base__.prototypes.item_sounds")
local Technology = require("__cf-lib__/data/Technology")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local gfx = Lignumis.graphics .. "entity/burner-agricultural-tower/"
@ -8,7 +9,7 @@ agricultural_tower.name = "burner-agricultural-tower"
agricultural_tower.minable.result = "burner-agricultural-tower"
agricultural_tower.next_upgrade = "agricultural-tower"
agricultural_tower.corpses = "burner-agricultural-tower-remnants"
agricultural_tower.icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png"
agricultural_tower.icons = { { icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png", icon_size = 64 } }
agricultural_tower.graphics_set.animation.layers[1].filename = gfx .. "burner-agricultural-tower-base.png"
agricultural_tower.graphics_set.working_visualisations[1].animation.filename = gfx ..
"burner-agricultural-tower-base.png"
@ -17,7 +18,7 @@ agricultural_tower.energy_source = {
fuel_categories = { "chemical" },
effectivity = 1,
fuel_inventory_size = 1,
emissions_per_minute = { noise = 100 }
emissions_per_minute = { noise = 75 }
}
agricultural_tower.resistances = nil
agricultural_tower.input_inventory_size = 1
@ -77,16 +78,19 @@ data:extend({
drop_sound = item_sounds.mechanical_large_inventory_move,
place_result = "burner-agricultural-tower",
stack_size = 20,
default_import_location = "lignumis"
default_import_location = "lignumis",
weight = 100 * kg
},
{
type = "recipe",
name = "burner-agricultural-tower",
category = "crafting",
additional_categories = { "wood-processing" },
energy_required = 10,
ingredients = {
{ type = "item", name = "stone-brick", amount = 5 },
{ type = "item", name = "wooden-gear-wheel", amount = 20 },
{ type = "item", name = "lumber", amount = 20 },
{ type = "item", name = "wooden-gear-wheel", amount = 15 },
{ type = "item", name = "lumber", amount = 15 },
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 10 or 20 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil
},
@ -109,30 +113,28 @@ tech.ignore_tech_cost_multiplier = true
data.raw.technology["fish-breeding"].prerequisites = { "agricultural-science-pack" }
if not basic_circuit_board then
data:extend({
data:extend({
{
type = "recipe",
name = "burner-agricultural-tower-electronic-circuit",
name = "burner-agricultural-tower-copper",
category = "crafting",
additional_categories = { "wood-processing" },
localised_name = { "entity-name.burner-agricultural-tower" },
icons = {
{ icon = Lignumis.graphics .. "icons/burner-agricultural-tower.png" },
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
{ icon = basic_circuit_board and "__base__/graphics/icons/copper-plate.png" or "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
},
energy_required = 10,
ingredients = {
{ type = "item", name = "stone-brick", amount = 5 },
{ type = "item", name = "wooden-gear-wheel", amount = 20 },
{ type = "item", name = "lumber", amount = 20 },
{ type = "item", name = "electronic-circuit", amount = 10 }
{ type = "item", name = "wooden-gear-wheel", amount = 15 },
{ type = "item", name = "lumber", amount = 15 },
{ type = "item", name = "copper-plate", amount = 10 },
{ type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 }
},
results = { { type = "item", name = "burner-agricultural-tower", amount = 1 } },
enabled = false
}
})
})
table.insert(data.raw.technology["electronics"].effects, {
type = "unlock-recipe",
recipe = "burner-agricultural-tower-electronic-circuit"
})
end
Technology:new(basic_circuit_board and "copper-processing" or "electronics"):addRecipe("burner-agricultural-tower-copper")

View file

@ -5,7 +5,7 @@ local gfx = Lignumis.graphics .. "entity/burner-assembling-machine/"
local assembling_machine = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"])
assembling_machine.name = "burner-assembling-machine"
assembling_machine.icon = Lignumis.graphics .. "icons/burner-assembling-machine.png"
assembling_machine.icons = { { icon = Lignumis.graphics .. "icons/burner-assembling-machine.png", icon_size = 64 } }
assembling_machine.minable.result = "burner-assembling-machine"
assembling_machine.next_upgrade = "steam-assembling-machine"
assembling_machine.corpse = "burner-assembling-machine-remnants"
@ -17,7 +17,6 @@ assembling_machine.crafting_categories = {
"crafting",
"electronics",
"pressing",
"wood-processing-or-assembling",
"organic-or-assembling",
"electronics-or-assembling",
"metallurgy-or-assembling"
@ -68,6 +67,8 @@ data:extend({
{
type = "recipe",
name = "burner-assembling-machine",
category = "crafting",
additional_categories = settings.startup["lignumis-lumber-mill-more-recipes"].value and { "wood-processing" } or nil,
enabled = false,
ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 5 },
@ -108,6 +109,7 @@ if not basic_circuit_board then
{
type = "recipe",
name = "burner-assembling-machine-electronic-circuit",
category = crafting_category,
localised_name = { "entity-name.burner-assembling-machine" },
icons = {
{ icon = Lignumis.graphics .. "icons/burner-assembling-machine.png" },

View file

@ -0,0 +1,205 @@
local Technology = require("__cf-lib__/data/Technology")
local gfx = Lignumis.graphics .. "entity/burner-lamp/"
data:extend({
{
type = "recipe-category",
name = "lamp-burning"
},
{
name = "burner-lamp",
type = "assembling-machine",
minable = {
mining_time = 0.1,
result = "burner-lamp",
},
icon = Lignumis.graphics .. "icons/burner-lamp.png",
icon_size = 64,
icon_mipmaps = 4,
collision_mask = { layers = { object = true, water_tile = true, meltable = true, player = true } },
crafting_speed = 1,
crafting_categories = { "lamp-burning" },
fixed_recipe = "burner-lamp-burning",
dying_explosion = "lamp-explosion",
show_recipe_icon = false,
show_recipe_icon_on_map = false,
source_inventory_size = 1,
result_inventory_size = 1,
energy_source = {
emissions_per_minute = { pollution = 0.02 },
type = "burner",
fuel_inventory_size = 1,
burnt_inventory_size = 1,
fuel_categories = { "chemical" },
light_flicker = {
color = { 0, 0, 0, 0 }, -- to remove default burner glow
},
render_no_power_icon = false,
},
energy_usage = "9.6kW",
max_health = 100,
resistances = {
{
type = "fire",
percent = 95
},
},
corpse = "small-remnants",
flags = { "placeable-player", "placeable-neutral", "player-creation" },
collision_box = { { -0.15, -0.15 }, { 0.15, 0.15 } },
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
graphics_set = {
animation = {
layers = {
{
draw_as_glow = false,
draw_as_light = false,
draw_as_shadow = false,
filename = gfx .. "burner-lamp-base.png",
height = 128,
priority = "high",
scale = 0.5,
shift = { 0, 0 },
width = 128,
x = 0,
y = 0
},
{
draw_as_glow = false,
draw_as_light = false,
draw_as_shadow = true,
filename = gfx .. "burner-lamp-shadow.png",
height = 128,
priority = "high",
scale = 0.5,
shift = { 0, 0 },
width = 128,
x = 0,
y = 0
}
}
},
working_visualisations = {
{
animation = {
animation_speed = 1,
blend_mode = "additive-soft",
draw_as_glow = true,
draw_as_light = false,
draw_as_shadow = false,
filename = gfx .. "burner-lamp-working.png",
frame_count = 30,
height = 128,
line_length = 6,
priority = "high",
scale = 0.5,
shift = { 0, 0 },
width = 128,
x = 0,
y = 0
},
light = {
color = { 1.0, 0.82, 0.5 },
intensity = 0.4,
size = 40,
type = "oriented",
picture = {
filename = gfx .. "light.png",
width = 256,
height = 256,
scale = 0.125
},
},
}
}
},
working_sound = {
sound = {
filename = "__base__/sound/furnace.ogg",
volume = 1.0
}
},
open_sound = {
filename = "__base__/sound/machine-open.ogg",
volume = 0.75
},
close_sound = {
filename = "__base__/sound/machine-close.ogg",
volume = 0.75
},
mined_sound = {
filename = "__base__/sound/deconstruct-bricks.ogg"
},
vehicle_impact_sound = {
filename = "__base__/sound/car-metal-impact.ogg",
volume = 0.65
},
squeak_behaviour = false,
},
{
type = "item",
name = "burner-lamp",
icon = Lignumis.graphics .. "icons/burner-lamp.png",
icon_size = 64,
icon_mipmaps = 4,
subgroup = "circuit-network", -- Copper lamp under circuit-network
order = "a[lamp]-b[copper-lamp]", -- Copper lamp after large lamp
place_result = "burner-lamp",
stack_size = 50,
weight = 20 * kg
},
{
name = "burner-lamp",
type = "recipe",
enabled = true,
ingredients = {
{ type = "item", name = "gold-plate", amount = 4 },
{ type = "item", name = "stone-brick", amount = 2 },
},
results = {
{ type = "item", name = "burner-lamp", amount = 1 }
},
subgroup = "circuit-network", -- Copper lamp under circuit-network
order = "a[lamp]-b[copper-lamp]", -- Place after large lamp
category = "crafting" -- Category for crafting
},
{
name = "burner-lamp-copper",
type = "recipe",
enabled = false,
localised_name = { "entity-name.burner-lamp" },
icons = {
{ icon = Lignumis.graphics .. "icons/burner-lamp.png" },
{ icon = "__base__/graphics/icons/copper-plate.png", scale = 0.25, shift = { 8, 8 } }
},
ingredients = {
{ type = "item", name = "copper-plate", amount = 4 },
{ type = "item", name = "stone-brick", amount = 2 },
},
results = {
{ type = "item", name = "burner-lamp", amount = 1 }
},
subgroup = "circuit-network", -- Copper lamp under circuit-network
order = "a[lamp]-b[copper-lamp]", -- Place after large lamp
category = "crafting" -- Category for crafting
},
-- Define the hidden burning recipe for the copper lamp
{
name = "burner-lamp-burning", -- Make sure this name matches the recipe you are referencing
type = "recipe",
enabled = true,
hidden = true,
hide_from_stats = true,
icon = Lignumis.graphics .. "icons/burner-lamp.png", -- Icon path for the recipe
icon_size = 64,
icon_mipmaps = 4,
category = "lamp-burning", -- Custom category for lamp burning
ingredients = {},
results = {},
subgroup = "other", -- Optional: Adjust this if needed
energy_required = 25000 / 60, -- Represents one "Factorio day"
}
})
Technology:new("copper-processing"):addRecipe("burner-lamp-copper")

View file

@ -63,6 +63,8 @@ data:extend({
{
type = "recipe",
name = "burner-long-handed-inserter",
category = "crafting",
additional_categories = settings.startup["lignumis-lumber-mill-more-recipes"].value and { "wood-processing" } or nil,
enabled = false,
ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 1 },

View file

@ -8,6 +8,7 @@ require("wood-lab")
require("wood-science")
require("burner-agricultural-tower")
require("burner-assembling-machine")
require("burner-lamp")
require("burner-long-handed-inserter")
require("lumber-mill")
require("gold")
@ -29,6 +30,7 @@ require("active-noise-cancelling-tower")
require("quality-assembler")
require("decoratives")
require("wood-military")
require("basic-circuit-boards")
require("basic-circuit-board")
require("enemies")
require("noise")

View file

@ -1,44 +1,196 @@
local DeepMinerFactory = require(MF.buildings .. "CoreExtractor")
local DeepMiner = DeepMinerFactory("deep-miner")
local hit_effects = require("__base__.prototypes.entity.hit-effects")
local item_sounds = require("__base__.prototypes.item_sounds")
local sounds = require("__base__.prototypes.entity.sounds")
local Entity = require("__cf-lib__/data/Entity")
local entity = DeepMiner.EntityBuilder:new():build({
resource_searching_radius = 0.49,
energy_usage = "25MW",
local name = "deep-miner"
local gfx = Lignumis.graphics .. "entity/" .. name .. "/"
local function animationLayer()
return {
priority = "high",
width = 704,
height = 704,
frame_count = 120,
lines_per_file = 8,
animation_speed = 0.3,
scale = 0.5,
stripes = {
{
filename = gfx .. "deep-miner-animation-1.png",
width_in_frames = 8,
height_in_frames = 8
},
{
filename = gfx .. "deep-miner-animation-2.png",
width_in_frames = 8,
height_in_frames = 7
}
}
}
end
data:extend({
{
type = "mining-drill",
name = name,
icon = Lignumis.graphics .. "icons/deep-miner.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.2, result = name },
fast_replaceable_group = name,
max_health = 500,
corpse = "big-remnants",
dying_explosion = "medium-explosion",
collision_box = Entity.collisionBox(11, 11),
selection_box = Entity.selectionBox(11, 11),
damaged_trigger_effect = hit_effects.entity(),
drawing_box_vertical_extension = 1.3,
module_slots = 4,
icon_draw_specification = { scale = 2, shift = { 0, -0.3 } },
icons_positioning = {
{ inventory_index = defines.inventory.assembling_machine_modules, shift = { 0, 1.25 } }
},
allowed_effects = { "consumption", "speed", "pollution", "quality", "productivity" },
mining_speed = 7.5,
resource_categories = { "deep-mining" },
drops_full_belt_stacks = true,
resource_searching_radius = 0.49,
vector_to_place_result = { 0, -5.85 },
resource_drain_rate_percent = 75,
energy_source = {
type = "electric",
usage_priority = "secondary-input",
emissions_per_minute = { noise = 2000 }
},
resource_drain_rate_percent = 75
})
entity.resource_categories = { "deep-mining" }
data:extend({ entity })
DeepMiner.ItemBuilder:new()
:itemsPerRocket(1)
:apply({
energy_usage = "25MW",
perceived_performance = { minimum = 0.25, performance_to_activity_rate = 0.25, maximum = 2 },
graphics_set = {
animation = {
layers = {
{
filename = gfx .. "deep-miner-shadow.png",
priority = "high",
width = 1400,
height = 1400,
frame_count = 1,
line_length = 1,
repeat_count = 120,
animation_speed = 0.3,
draw_as_shadow = true,
scale = 0.5
},
animationLayer()
}
},
working_visualisations = {
{
fadeout = true,
animation = {
layers = {
animationLayer(),
{
priority = "high",
draw_as_glow = true,
blend_mode = "additive",
width = 704,
height = 704,
frame_count = 120,
lines_per_file = 8,
animation_speed = 0.3,
scale = 0.5,
stripes = {
{
filename = gfx .. "deep-miner-emission-1.png",
width_in_frames = 8,
height_in_frames = 8
},
{
filename = gfx .. "deep-miner-emission-2.png",
width_in_frames = 8,
height_in_frames = 7
}
}
}
}
}
}
}
},
open_sound = sounds.drill_open,
close_sound = sounds.drill_close,
working_sound = {
main_sounds = {
{
sound = { filename = "__space-age__/sound/entity/big-mining-drill/big-mining-drill-loop.ogg", volume = 0.4, audible_distance_modifier = 1 },
fade_in_ticks = 4,
fade_out_ticks = 30
},
{
sound = { filename = Lignumis.sound .. "entity/deep-miner/deep-miner-gears.ogg", volume = 0.3, audible_distance_modifier = 0.6 },
fade_in_ticks = 15,
fade_out_ticks = 60
}
},
sound_accents = {
{ sound = {
filename = Lignumis.sound .. "entity/deep-miner/deep-miner-drop.ogg",
volume = 2,
audible_distance_modifier = 10,
advanced_volume_control = {
attenuation = "logarithmic",
fades = { fade_in = { curve_type = "linear", from = { control = 0.25, volume_percentage = 70.0 }, to = { 1, 100.0 } } }
}
}, frame = 16 }
},
max_sounds_per_prototype = 4
}
},
{
type = "item",
name = name,
icon = Lignumis.graphics .. "icons/deep-miner.png",
subgroup = "extraction-machine",
order = "a[items]-d[deep-miner]"
})
DeepMiner.RecipeBuilder:new()
:ingredients({
order = "a[items]-d[deep-miner]",
inventory_move_sound = item_sounds.mechanical_large_inventory_move,
pick_sound = item_sounds.mechanical_large_inventory_pickup,
drop_sound = item_sounds.mechanical_large_inventory_move,
place_result = name,
stack_size = 20,
default_import_location = "nauvis",
weight = 1000 * kg
},
{
type = "recipe",
name = name,
category = "metallurgy-or-assembling",
enabled = false,
ingredients = {
{ type = "item", name = "processing-unit", amount = 100 },
{ type = "item", name = "electric-engine-unit", amount = 100 },
{ type = "item", name = "steel-plate", amount = 200 },
{ type = "item", name = "concrete", amount = 50 }
})
:apply({
category = "metallurgy-or-assembling"
})
DeepMiner.TechnologyBuilder:new()
:prerequisites({ "space-science-pack" })
:count(500)
:ingredients({
},
energy_required = 60,
results = { { type = "item", name = name, amount = 1 } }
},
{
type = "technology",
name = name,
icon = Lignumis.graphics .. "technology/deep-miner.png",
icon_size = 256,
effects = {
{ type = "unlock-recipe", recipe = name }
},
prerequisites = { "space-science-pack" },
unit = {
count = 500,
ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "space-science-pack", 1 }
})
:time(60)
:apply()
},
time = 60
}
}
})

View file

@ -0,0 +1,545 @@
local particle_animations = require("__space-age__/prototypes/particle-animations")
local base_sounds = require("__base__.prototypes.entity.sounds")
local space_age_sounds = require("__space-age__.prototypes.entity.sounds")
local simulations = require("__space-age__.prototypes.factoriopedia-simulations")
local biter_ai_settings = require("__base__.prototypes.entity.biter-ai-settings")
local blood_particles = {
"blood-particle-small",
}
for _, particle_name in ipairs(blood_particles) do
local new_particle = table.deepcopy(data.raw["optimized-particle"][particle_name])
local scale = new_particle.pictures.sheet.scale
local shift = new_particle.pictures.sheet.shift
new_particle.name = "lignumis-" .. particle_name
new_particle.pictures = {
sheet = {
filename = "__space-age__/graphics/particle/gleba-blood-particle/gleba-blood-particle.png",
line_length = 12,
width = 32,
height = 24,
frame_count = 12,
variation_count = 7,
scale = scale * 0.25,
shift = shift
}
}
data:extend({ new_particle })
end
function gleba_hit_effects(offset_deviation, offset)
local offset = offset or { 0, 0 }
return {
type = "create-entity",
entity_name = "gleba-enemy-damaged-explosion",
offset_deviation = offset_deviation or { { -0.5, -0.5 }, { 0.5, 0.5 } },
offsets = { offset },
damage_type_filters = "fire"
}
end
function wriggler_spritesheet(name, frames, speed, scale, tint, flag)
speed = speed or 1.0
local is_shadow = string.sub(name, -string.len("-shadow")) == "-shadow"
local is_decay = string.find(name, "decay")
if is_decay and is_shadow then return nil end
return util.sprite_load("__space-age__/graphics/entity/wriggler/wriggler-" .. name,
{
slice = 5,
frame_count = frames,
direction_count = 16,
scale = 0.5 * 1.2 * scale,
multiply_shift = scale,
animation_speed = speed,
draw_as_shadow = is_shadow,
tint_as_overlay = tint and true or nil,
tint = tint,
flags = (not is_shadow) and { flag } or nil,
surface = "gleba",
usage = "enemy"
}
)
end
function wriggler_corpse_spritesheet(name, frames, speed, scale, tint)
return wriggler_spritesheet(name, frames, speed, scale, tint, "corpse-decay")
end
local default_ended_in_water_trigger_effect = function()
return {
{
type = "create-particle",
probability = 1,
affects_target = false,
show_in_tooltip = false,
particle_name = "tintable-water-particle",
apply_tile_tint = "secondary",
offset_deviation = { { -0.05, -0.05 }, { 0.05, 0.05 } },
initial_height = 0,
initial_height_deviation = 0.02,
initial_vertical_speed = 0.05,
initial_vertical_speed_deviation = 0.05,
speed_from_center = 0.01,
speed_from_center_deviation = 0.006,
frame_speed = 1,
frame_speed_deviation = 0,
tail_length = 2,
tail_length_deviation = 1,
tail_width = 3
},
{
type = "create-particle",
repeat_count = 10,
repeat_count_deviation = 6,
probability = 0.03,
affects_target = false,
show_in_tooltip = false,
particle_name = "tintable-water-particle",
apply_tile_tint = "primary",
offsets = {
{ 0, 0 },
{ 0.01563, -0.09375 },
{ 0.0625, 0.09375 },
{ -0.1094, 0.0625 }
},
offset_deviation = { { -0.2969, -0.1992 }, { 0.2969, 0.1992 } },
initial_height = 0,
initial_height_deviation = 0.02,
initial_vertical_speed = 0.053,
initial_vertical_speed_deviation = 0.005,
speed_from_center = 0.02,
speed_from_center_deviation = 0.006,
frame_speed = 1,
frame_speed_deviation = 0,
tail_length = 9,
tail_length_deviation = 0,
tail_width = 1
},
{
type = "play-sound",
sound = base_sounds.small_splash
}
}
end
local make_particle = function(params)
if not params then error("No params given to make_particle function") end
local name = params.name or error("No name given")
local ended_in_water_trigger_effect = params.ended_in_water_trigger_effect or default_ended_in_water_trigger_effect()
if params.ended_in_water_trigger_effect == false then
ended_in_water_trigger_effect = nil
end
local particle = {
type = "optimized-particle",
name = name,
life_time = params.life_time or (60 * 15),
fade_away_duration = params.fade_away_duration,
render_layer = params.render_layer or "projectile",
render_layer_when_on_ground = params.render_layer_when_on_ground or "corpse",
regular_trigger_effect_frequency = params.regular_trigger_effect_frequency or 2,
regular_trigger_effect = params.regular_trigger_effect,
ended_in_water_trigger_effect = ended_in_water_trigger_effect,
pictures = params.pictures,
shadows = params.shadows,
draw_shadow_when_on_ground = params.draw_shadow_when_on_ground,
movement_modifier_when_on_ground = params.movement_modifier_when_on_ground,
movement_modifier = params.movement_modifier,
vertical_acceleration = params.vertical_acceleration,
mining_particle_frame_speed = params.mining_particle_frame_speed,
}
return particle
end
local function lerp_color(a, b, amount)
return {
a[1] + amount * (b[1] - a[1]),
a[2] + amount * (b[2] - a[2]),
a[3] + amount * (b[3] - a[3]),
a[4] + amount * (b[4] - a[4]),
}
end
function make_wriggler(prefix, scale, health, damage, tints, factoriopedia_simulation, factoriopedia_simulation_premature,
sounds)
-- Premature version loses health so that the swarm will get removed (more efficient).
-- Spawner-spawned versions are stable so that the area is not full of corpses.
local tint_mask = tints.mask
local tint_body = tints.body
local function attack_parameters()
local cooldown = 26
return {
ammo_category = "melee",
ammo_type = {
target_type = "entity",
action = {
type = "direct",
action_delivery = {
type = "instant",
target_effects = {
{
type = "damage",
damage = { amount = 5 * damage, type = "physical" }
}
}
}
}
},
animation = {
layers = {
wriggler_spritesheet("attack", 19, 0.48, scale, tint_body),
wriggler_spritesheet("attack-tint", 19, 0.48, scale, tint_mask),
wriggler_spritesheet("attack-shadow", 19, 0.48, scale),
}
},
cooldown = cooldown,
cooldown_deviation = 0.1,
range = 1.8 * scale,
range_mode = "bounding-box-to-bounding-box",
sound = sounds.attack_sound,
type = "projectile"
}
end
local wriggler = {
type = "unit",
name = prefix .. "wriggler-pentapod-premature",
icon = Lignumis.graphics .. "icons/" .. prefix .. "wriggler.png",
subgroup = "enemies",
order = "gleba-a-wriggler-" .. tostring(scale),
factoriopedia_simulation = factoriopedia_simulation_premature,
collision_box = { { -0.2 * scale, -0.2 * scale }, { 0.2 * scale, 0.2 * scale } },
sticker_box = { { -0.5 * scale, -0.5 * scale }, { 0.5 * scale, 0.5 * scale } },
selection_box = { { -0.9 * scale, -0.9 * scale }, { 0.9 * scale, 0.9 * scale } },
collision_mask = { layers = { player = true, train = true, is_object = true }, not_colliding_with_itself = true },
flags = { "placeable-player", "placeable-enemy", "placeable-off-grid", "not-repairable", "breaths-air" },
absorptions_to_join_attack = { noise = 1 },
ai_settings = biter_ai_settings,
attack_parameters = attack_parameters(),
corpse = prefix .. "wriggler-pentapod-corpse",
damaged_trigger_effect = gleba_hit_effects(),
distance_per_frame = 0.125,
distraction_cooldown = 300,
dying_explosion = prefix .. "wriggler-die",
dying_sound = sounds.dying_sound,
healing_per_tick = -health / 1 / 60,
impact_category = "organic",
max_health = health,
max_pursue_distance = 30,
min_pursue_time = 300,
movement_speed = 0.15 * (1 + (scale - 1) / 2),
run_animation = {
layers = {
wriggler_spritesheet("run", 21, 0.48, scale, tint_body),
wriggler_spritesheet("run-tint", 21, 0.48, scale, tint_mask),
wriggler_spritesheet("run-shadow", 21, 0.48, scale),
}
},
running_sound_animation_positions = { 2 },
vision_distance = 20,
water_reflection = {
orientation_to_variation = false,
rotate = true,
pictures = {
filename = "__base__/graphics/entity/biter/biter-reflection.png",
height = 28,
priority = "extra-high",
scale = 2.5 * scale,
shift = { 0.15625, 0.46875 },
variation_count = 1,
width = 20
}
},
walking_sound = sounds.walking_sound,
working_sound = sounds.working_sound,
warcry = sounds.warcry,
}
local wriggler_stable = table.deepcopy(wriggler)
wriggler_stable.name = prefix .. "wriggler-pentapod"
wriggler_stable.factoriopedia_simulation = factoriopedia_simulation
wriggler_stable.healing_per_tick = health / 500 / 60
wriggler_stable.absorptions_to_join_attack = { noise = 1 }
wriggler_stable.attack_parameters = attack_parameters()
local wriggler_corpse = {
type = "corpse",
name = prefix .. "wriggler-pentapod-corpse",
icon = Lignumis.graphics .. "icons/" .. prefix .. "wriggler-corpse.png",
subgroup = "corpses",
order = "c[corpse]-d[gleba-enemies-corpses]-d[wriggler]" .. tostring(scale),
hidden_in_factoriopedia = true,
selection_box = { { -0.8, -0.8 }, { 0.8, 0.8 } },
selectable_in_game = false,
animation = {
layers = {
wriggler_corpse_spritesheet("death", 17, 0.48, scale, tint_body),
wriggler_corpse_spritesheet("death-tint", 17, 0.48, scale, tint_mask),
wriggler_corpse_spritesheet("death-shadow", 17, 0.48, scale),
}
},
decay_animation = {
layers = {
wriggler_corpse_spritesheet("decay", 9, nil, scale, tint_body),
wriggler_corpse_spritesheet("decay-tint", 9, nil, scale, tint_mask),
wriggler_corpse_spritesheet("decay-shadow", 9, nil, scale),
}
},
dying_speed = 0.015 / scale,
decay_frame_transition_duration = 150,
time_before_removed = 1 * 60 * 60, -- 1 minute
use_decay_layer = true,
direction_shuffle = { { 1, 2, 3, 16 }, { 4, 5, 6, 7 }, { 8, 9, 10, 11 }, { 12, 13, 14, 15 } },
shuffle_directions_at_frame = 0,
final_render_layer = "lower-object-above-shadow",
flags = {
"placeable-neutral",
"placeable-off-grid",
"building-direction-8-way",
"not-repairable",
"not-on-map"
},
ground_patch = {
sheet =
util.sprite_load("__space-age__/graphics/entity/wriggler/blood-puddle-var-main",
{
flags = { "low-object" },
variation_count = 4,
scale = 0.4 * scale,
multiply_shift = 0.125,
}
)
},
ground_patch_fade_in_delay = 20,
ground_patch_fade_in_speed = 0.002,
ground_patch_fade_out_duration = 50 * 60 / 7.5,
ground_patch_fade_out_start = 50 * 60 / 7.5,
ground_patch_render_layer = "decals"
}
local wrigger_explosion = {
type = "explosion",
name = prefix .. "wriggler-die",
scale = 0.25,
icon = "__space-age__/graphics/icons/medium-wriggler-corpse.png",
order = "a[corpse]-f[wriggler]",
flags = { "not-on-map" },
hidden = true,
subgroup = "enemy-death-explosions",
animations = util.empty_sprite(),
created_effect = {
type = "direct",
action_delivery = {
type = "instant",
target_effects = {
{
type = "create-particle",
repeat_count = 13,
repeat_count_deviation = 1,
probability = 1,
affects_target = false,
show_in_tooltip = false,
particle_name = "lignumis-blood-particle-small",
offsets = { { 0, 0 } },
offset_deviation = { { -0.5, -0.5 }, { 0.5, 0.5 } },
initial_height = 0.1,
initial_height_deviation = 0.1,
initial_vertical_speed = 0.009,
initial_vertical_speed_deviation = 0.009,
speed_from_center = 0.05,
speed_from_center_deviation = 0.05,
frame_speed = 1,
frame_speed_deviation = 0,
tail_length = 5,
tail_length_deviation = 5,
tail_width = 3,
rotate_offsets = false
},
{
type = "create-particle",
repeat_count = 12,
repeat_count_deviation = 3,
probability = 1,
affects_target = false,
show_in_tooltip = false,
particle_name = "lignumis-blood-particle-small",
offsets = {
{ 0, -0.4 },
{ 0, 0.5 },
{ 0, 0.6 }
},
offset_deviation = { { -0.25, -0.25 }, { 0.25, 0.25 } },
initial_height = 0.1,
initial_height_deviation = 0.1,
initial_vertical_speed = 0.055,
initial_vertical_speed_deviation = 0.075,
speed_from_center = 0.03,
speed_from_center_deviation = 0.03,
frame_speed = 1,
frame_speed_deviation = 0,
tail_length = 52,
tail_length_deviation = 25,
tail_width = 3,
rotate_offsets = false
},
{
type = "play-sound",
sound = base_sounds.medium_gore
},
}
}
}
}
data:extend {
--wriggler,
wriggler_stable,
wriggler_corpse,
wrigger_explosion,
make_particle
{
name = prefix .. "wriggler-skin-particle",
life_time = 300,
pictures = particle_animations.get_pentpod_skin_particles_small({ scale = 1 * scale, tint = lerp_color(tint_mask, { 255, 255, 255, 255 }, 0.7) }),
shadows = particle_animations.get_pentpod_skin_particles_small({ scale = 1 * scale, tint = shadowtint(), shift = util.by_pixel(1, 0) }),
ended_in_water_trigger_effect = default_ended_in_water_trigger_effect(),
render_layer_when_on_ground = "lower-object-above-shadow"
},
}
end
local function fade(tint, amount) -- fades to minimal opacity grey. Low opacity is good for the mask to let the base layer show htough (instead of having a grey mask)
return lerp_color(tint, { 1, 1, 1, 2 }, amount)
end
local function grey_overlay(tint, amount) -- fades to opaque grey. Full opacity is required for body.
return lerp_color(tint, { 127, 127, 127, 255 }, amount)
end
-- mask tint is vibrant and only on the mask
-- body tint applies to the whole body and should be near 127 grey, just adds a hint of saturation
local gleba_small_mask_tint = { 103, 151, 11, 255 }
local gleba_small_body_tint = { 125, 124, 111, 255 }
make_wriggler("lignumis-small-", 0.2, 10, 0.1,
{
mask = fade(lerp_color(gleba_small_mask_tint, { 255, 200, 0, 255 }, 0.2), 0.2),
body = grey_overlay(lerp_color(gleba_small_body_tint, { 255, 0, 0, 255 }, 0.2), 0.2)
},
simulations.factoriopedia_gleba_enemy_small_wriggler,
simulations.factoriopedia_gleba_enemy_small_wriggler_premature,
space_age_sounds.wriggler_pentapod.small
)
make_wriggler("lignumis-medium-", 0.5, 50, 1,
{
mask = fade(lerp_color(gleba_small_mask_tint, { 255, 200, 0, 255 }, 0.4), 0.2),
body = grey_overlay(lerp_color(gleba_small_body_tint, { 255, 0, 0, 255 }, 0.4), 0.2)
},
simulations.factoriopedia_gleba_enemy_small_wriggler,
simulations.factoriopedia_gleba_enemy_small_wriggler_premature,
space_age_sounds.wriggler_pentapod.small
)
data:extend({
{
type = "noise-expression",
name = "enemy_lignumis_intensity",
-- biter placement stops increasing in "intensity" after 75 chunks (2400 tiles)
expression = "clamp(distance, 0, 2400) / 325"
},
{
type = "noise-expression",
name = "enemy_lignumis_radius",
expression = "sqrt(var('control:lignumis_enemy_base:size')) * (15 + 4 * enemy_lignumis_intensity)"
},
{
type = "noise-expression",
name = "enemy_lignumis_frequency",
-- bases_per_km2 = 10 + 3 * enemy_lignumis_intensity
expression = "(0.00001 + 0.000003 * enemy_lignumis_intensity) * var('control:lignumis_enemy_base:frequency')"
},
{
type = "noise-expression",
name = "enemy_lignumis_probability",
expression = "spot_noise{x = x,\z
y = y,\z
density_expression = spot_quantity_expression * max(0, enemy_lignumis_frequency),\z
spot_quantity_expression = spot_quantity_expression,\z
spot_radius_expression = spot_radius_expression,\z
spot_favorability_expression = 1,\z
seed0 = map_seed,\z
seed1 = 123,\z
region_size = 512,\z
candidate_point_count = 100,\z
hard_region_target_quantity = 0,\z
basement_value = -1000,\z
maximum_spot_basement_radius = 128} + \z
(blob(1/8, 1) + blob(1/24, 1) + blob(1/64, 2) - 0.5) * spot_radius_expression / 150 * \z
(0.1 + 0.9 * clamp(distance / 3000, 0, 1)) - 0.3 + min(0, 20 / starting_area_radius * distance - 20)",
local_expressions =
{
spot_radius_expression = "max(0, enemy_lignumis_radius)",
spot_quantity_expression = "pi/90 * spot_radius_expression ^ 3"
},
local_functions =
{
blob =
{
parameters = { "input_scale", "output_scale" },
expression =
"basis_noise{x = x, y = y, seed0 = map_seed, seed1 = 123, input_scale = input_scale, output_scale = output_scale}"
}
}
},
{
type = "noise-function",
name = "enemy_autoplace_lignumis",
parameters = { "distance_factor", "seed" },
expression = "random_penalty{x = x + seed,\z
y = y,\z
source = min(enemy_lignumis_probability * max(0, 1 + 0.002 * distance_factor * (-312 * distance_factor - starting_area_radius + distance)),\z
0.25 + distance_factor * 0.05),\z
amplitude = 0.1}"
}
})
local function lignumis_spawner_autoplace(probability_expression, order)
return {
control = "lignumis_enemy_base",
order = order,
force = "enemy",
probability_expression = probability_expression,
richness_expression = 1
}
end
local spawner = table.deepcopy(data.raw["unit-spawner"]["gleba-spawner-small"])
table.assign(spawner, {
name = "lignumis-spawner-small",
result_units = {
{ "lignumis-small-wriggler-pentapod", { { 0.0, 0.9 }, { 0.5, 0.9 }, { 0.6, 0.5 } } },
{ "lignumis-medium-wriggler-pentapod", { { 0.1, 0 }, { 0.4, 0 }, { 1, 0.9 } } }
},
max_count_of_owned_units = 7,
max_friends_around_to_spawn = 5,
spawning_spacing = 3,
max_spawn_shift = 0,
max_richness_for_spawn_shift = 100,
resistances = {},
healing_per_tick = 1 / 60,
spawning_cooldown = { 60, 20 },
spawning_radius = 4,
call_for_help_radius = 20,
autoplace = lignumis_spawner_autoplace("enemy_autoplace_lignumis(0, 548)", "b[enemy]-0[spawner]"),
absorptions_per_second = { noise = { absolute = 40, proportional = 0.01 } },
})
spawner.collision_mask = nil
spawner.loot = nil
spawner.dying_trigger_effect[1].entity_name = "lignumis-small-wriggler-pentapod"
data:extend({ spawner })

View file

@ -35,3 +35,4 @@ update_fuel_categories(data.raw["reactor"])
update_fuel_categories(data.raw["car"])
update_fuel_categories(data.raw["locomotive"])
update_fuel_categories(data.raw["generator-equipment"])
update_fuel_categories(data.raw["burner-generator"])

View file

@ -12,14 +12,15 @@ data:extend({
inventory_move_sound = item_sounds.metal_small_inventory_move,
pick_sound = item_sounds.metal_small_inventory_pickup,
drop_sound = item_sounds.metal_small_inventory_move,
stack_size = 100
stack_size = 100,
enabled = true
},
{
type = "recipe",
name = "gold-plate",
category = "smelting",
energy_required = 3.2,
ingredients = { { type = "item", name = "gold-ore", amount = 2 } },
ingredients = { { type = "item", name = "gold-ore", amount = 1 } },
results = { { type = "item", name = "gold-plate", amount = 1 } },
allow_productivity = true
},
@ -39,6 +40,8 @@ data:extend({
{
type = "recipe",
name = "gold-cable",
category = "crafting",
additional_categories = { "electromagnetics" },
ingredients = { { type = "item", name = "gold-plate", amount = 1 } },
results = { { type = "item", name = "gold-cable", amount = 2 } },
allow_productivity = true

View file

@ -84,6 +84,7 @@ local pipe_item = {
place_result = "gold-pipe",
stack_size = 100,
weight = 5 * kg,
default_import_location = "lignumis",
random_tint_color = item_tints.iron_rust
}
@ -159,6 +160,8 @@ local pipe_to_ground_item = {
drop_sound = item_sounds.metal_small_inventory_move,
place_result = "gold-pipe-to-ground",
stack_size = 50,
weight = 5 * kg,
default_import_location = "lignumis",
random_tint_color = item_tints.iron_rust
}
@ -347,7 +350,9 @@ local tank_item = {
pick_sound = item_sounds.metal_large_inventory_pickup,
drop_sound = item_sounds.metal_large_inventory_move,
place_result = "gold-storage-tank",
stack_size = 10
stack_size = 10,
weight = 50 * kg,
default_import_location = "lignumis"
}
local tank_recipe = {

View file

@ -147,7 +147,7 @@ plant.minable = {
mining_time = 2,
results = {
{ type = "item", name = "moist-stromatolite-remnant", amount = 25 },
{ type = "item", name = "gold-bacteria", amount = 30 },
{ type = "item", name = "gold-bacteria", amount = 20 },
{ type = "item", name = "gold-stromatolite-seed", amount_min = 1, amount_max = 3 }
}
}
@ -230,7 +230,8 @@ local remnant = {
drop_sound = space_age_item_sounds.agriculture_inventory_move,
stack_size = 50,
default_import_location = "lignumis",
weight = 1 * kg
weight = 1 * kg,
flags = { "always-show" }
}
local desiccation_recipe = {

View file

@ -2,6 +2,7 @@ data:extend({
{
type = "item-subgroup",
name = "lignumis-bioprocessing",
group = "bioprocessing"
group = "bioprocessing",
order = "lignumis-bioprocessing"
}
})

View file

@ -7,7 +7,7 @@ data:extend({
{
type = "autoplace-control",
name = "lignumis_gold",
localised_name = {"", "[entity=gold-patch] ", {"entity-name.gold-patch"}},
localised_name = { "", "[entity=gold-patch] ", { "entity-name.gold-patch" } },
richness = true,
order = "0-b",
category = "resource"
@ -15,9 +15,17 @@ data:extend({
{
type = "autoplace-control",
name = "lignumis_peat",
localised_name = {"", "[entity=peat] ", {"entity-name.peat"}},
localised_name = { "", "[entity=peat] ", { "entity-name.peat" } },
richness = true,
order = "0-c",
category = "resource"
},
{
type = "autoplace-control",
name = "lignumis_enemy_base",
richness = false,
order = "0-a",
category = "enemy",
can_be_disabled = true
}
})

View file

@ -13,11 +13,11 @@ return {
},
autoplace_controls = {
["lignumis_gold"] = { richness = 1, frequency = 1, size = 1 },
["lignumis_peat"] = { richness = 1/2, frequency = 6, size = 2 },
["lignumis_peat"] = { richness = 1/6, frequency = 8, size = 2 },
["stone"] = { richness = 1/6, frequency = 4, size = 4 },
["water"] = {},
["trees"] = { richness = 3, frequency = 4, size = 3 },
["enemy-base"] = {},
["lignumis_enemy_base"] = { frequency = 0.75, size = 0.75 },
["rocks"] = {},
["starting_area_moisture"] = { size = 1, richness = 6 },
["nauvis_cliff"] = { frequency = 2, size = 2 }

View file

@ -0,0 +1,14 @@
local target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if mods["any-planet-start"] then
target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or target_planet
end
local lignumis = data.raw.planet["lignumis"]
-- Set final solar power depending on parent planet
local solar_power = data.raw.planet[target_planet].surface_properties["solar-power"] or 100
local solar_power_in_space = data.raw.planet[target_planet].solar_power_in_space or 300
solar_power = solar_power * 1.2
solar_power_in_space = solar_power_in_space * 1.2
lignumis.solar_power_in_space = solar_power_in_space
lignumis.surface_properties["solar-power"] = solar_power

View file

@ -3,6 +3,11 @@ local effects = require("__core__/lualib/surface-render-parameter-effects")
local procession_graphic_catalogue_types = require("__base__/prototypes/planet/procession-graphic-catalogue-types")
local asteroid_util = require("__space-age__/prototypes/planet/asteroid-spawn-definitions")
local target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if mods["any-planet-start"] then
target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or target_planet
end
local lignumis_chunks = 0.025
local lignumis_ratio = {1, 1, 1 , 0}
local nauvis_lignumis = {
@ -20,10 +25,11 @@ PlanetsLib:extend({
{
type = "planet",
name = "lignumis",
localised_description = { "space-location-description.lignumis", { "space-location-name." .. target_planet } },
orbit = {
parent = {
type = "planet",
name = "nauvis"
name = target_planet
},
distance = 2,
orientation = 0.16,
@ -34,6 +40,7 @@ PlanetsLib:extend({
},
},
magnitude = 0.35,
is_satellite = true,
subgroup = "satellites",
icon = Lignumis.graphics .. "icons/lignumis.png",
starmap_icon = Lignumis.graphics .. "icons/starmap-planet-lignumis.png",
@ -53,7 +60,7 @@ PlanetsLib:extend({
["day-night-cycle"] = 2 * minute,
["gravity"] = 4,
["pressure"] = 900,
["solar-power"] = 120
["solar-power"] = 100
},
asteroid_spawn_influence = 1,
asteroid_spawn_definitions = asteroid_util.spawn_definitions(nauvis_lignumis, 0.9),
@ -114,9 +121,9 @@ PlanetsLib:extend({
data:extend({
{
type = "space-connection",
name = "nauvis-lignumis",
name = target_planet .. "-lignumis",
subgroup = "planet-connections",
from = "nauvis",
from = target_planet,
to = "lignumis",
order = "0",
length = 2000,

View file

@ -1,73 +1,260 @@
local LumberMillFactory = require(MF.buildings .. "LumberMill")
local LumberMill = LumberMillFactory()
local Recipe = require("__cf-lib__/data/Recipe")
local hit_effects = require("__base__.prototypes.entity.hit-effects")
local item_sounds = require("__base__.prototypes.item_sounds")
local Entity = require("__cf-lib__/data/Entity")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local name = "lumber-mill"
local gfx = Lignumis.graphics .. "entity/" .. name .. "/"
data:extend({
{
type = "recipe-category",
name = "wood-processing-or-assembling"
name = "wood-processing"
}
})
table.insert(data.raw["character"]["character"].crafting_categories, "wood-processing-or-assembling")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local has_oxygen = data.raw["surface-property"]["oxygen"] ~= nil
local electric_lumber_mill = settings.startup["lignumis-electric-lumber-mill"].value
LumberMill.EntityBuilder:new()
:burnerEnergySource({ emissions_per_minute = { noise = 100 } })
:baseProductivity(0.5)
:apply({
crafting_categories = { "wood-processing-or-assembling" },
if mods["wood-logistics"] then
return
end
local energy_source = electric_lumber_mill and {
type = "electric",
usage_priority = "secondary-input",
emissions_per_minute = { noise = 100 }
} or {
type = "burner",
fuel_categories = { "chemical" },
effectivity = 1,
fuel_inventory_size = 3,
emissions_per_minute = { pollution = 10, noise = 100 }
}
data:extend({
{
type = "assembling-machine",
name = name,
icon = Lignumis.graphics .. "icons/lumber-mill.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.2, result = name },
fast_replaceable_group = name,
max_health = 500,
corpse = "big-remnants",
dying_explosion = "medium-explosion",
collision_box = Entity.collisionBox(8, 8),
selection_box = Entity.selectionBox(8, 8),
damaged_trigger_effect = hit_effects.entity(),
drawing_box_vertical_extension = 1.3,
module_slots = 4,
icon_draw_specification = { scale = 2, shift = { 0, -0.3 } },
icons_positioning = {
{ inventory_index = defines.inventory.assembling_machine_modules, shift = { 0, 1.25 } }
},
allowed_effects = { "consumption", "speed", "pollution", "quality" },
crafting_categories = { "wood-processing" },
crafting_speed = 2,
energy_usage = "1000kW",
})
local lumber_mill_item = LumberMill.ItemBuilder:new()
:apply({
energy_source = energy_source,
energy_usage = "1MW",
effect_receiver = { base_effect = { productivity = 0.5 } },
surface_conditions = {
{
property = has_oxygen and "oxygen" or "pressure",
min = 3
},
{
property = "gravity",
min = 1
}
},
perceived_performance = { minimum = 0.25, performance_to_activity_rate = 0.25, maximum = 4 },
graphics_set = {
animation = {
layers = {
{
filename = gfx .. "lumber-mill-shadow.png",
priority = "high",
width = 800,
height = 700,
frame_count = 1,
line_length = 1,
repeat_count = 80,
animation_speed = 0.32,
shift = util.by_pixel(0, -8),
draw_as_shadow = true,
scale = 0.5
},
{
priority = "high",
width = 525,
height = 557,
frame_count = 80,
lines_per_file = 8,
animation_speed = 0.32,
shift = util.by_pixel(0, -8),
scale = 0.5,
stripes = {
{
filename = gfx .. "lumber-mill-animation-1.png",
width_in_frames = 8,
height_in_frames = 8
},
{
filename = gfx .. "lumber-mill-animation-2.png",
width_in_frames = 8,
height_in_frames = 2
}
}
},
}
},
working_visualisations = {
{
fadeout = true,
animation = {
layers = {
{
priority = "high",
width = 525,
height = 557,
frame_count = 80,
lines_per_file = 8,
animation_speed = 0.32,
shift = util.by_pixel(0, -8),
scale = 0.5,
stripes = {
{
filename = gfx .. "lumber-mill-animation-1.png",
width_in_frames = 8,
height_in_frames = 8
},
{
filename = gfx .. "lumber-mill-animation-2.png",
width_in_frames = 8,
height_in_frames = 2
}
}
},
{
priority = "high",
draw_as_glow = true,
blend_mode = "additive",
width = 525,
height = 557,
frame_count = 80,
lines_per_file = 8,
animation_speed = 0.32,
shift = util.by_pixel(0, -8),
scale = 0.5,
stripes = {
{
filename = gfx .. "lumber-mill-emission-1.png",
width_in_frames = 8,
height_in_frames = 8
},
{
filename = gfx .. "lumber-mill-emission-2.png",
width_in_frames = 8,
height_in_frames = 2
}
}
}
}
}
}
}
},
open_sound = { filename = "__base__/sound/open-close/train-stop-open.ogg", volume = 0.6 },
close_sound = { filename = "__base__/sound/open-close/train-stop-close.ogg", volume = 0.5 },
working_sound = {
fade_in_ticks = 4,
fade_out_ticks = 20,
audible_distance_modifier = 0.6,
max_sounds_per_type = 2,
sound = { filename = "__space-age__/sound/entity/foundry/foundry.ogg", volume = 0.6 },
sound_accents = {
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-1.ogg", volume = 0.8, audible_distance_modifier = 0.5 }, frame = 26 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-fall.ogg", volume = 1.2, audible_distance_modifier = 0.5 }, frame = 42 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-saw-2.ogg", volume = 0.8, audible_distance_modifier = 0.4 }, frame = 53 },
{ sound = { filename = Lignumis.sound .. "entity/lumber-mill/lumber-mill-split.ogg", volume = 0.4, audible_distance_modifier = 0.3 }, frame = 62 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 14 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 34 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 54 },
{ sound = { variations = sound_variations(Lignumis.sound .. "entity/lumber-mill/lumber-mill-plank", 3, 0.5), audible_distance_modifier = 0.3 }, frame = 74 },
}
}
},
{
type = "item",
name = name,
icon = Lignumis.graphics .. "icons/lumber-mill.png",
subgroup = "production-machine",
order = "eb[lumber-mill]",
inventory_move_sound = item_sounds.mechanical_large_inventory_move,
pick_sound = item_sounds.mechanical_large_inventory_pickup,
drop_sound = item_sounds.mechanical_large_inventory_move,
place_result = name,
stack_size = 20,
default_import_location = "lignumis",
order = "2[lumber-mill]"
})
LumberMill.RecipeBuilder:new()
:ingredients(table.trim({
{ type = "item", name = "stone-brick", amount = 40 },
{ type = "item", name = "lumber", amount = 100 },
{ type = "item", name = "wooden-gear-wheel", amount = 100 },
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 30 or 60 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 30 } or nil,
{ type = "item", name = "burner-assembling-machine", amount = 5 }
}))
:apply({
category = "wood-processing-or-assembling"
})
LumberMill.TechnologyBuilder:new()
:prerequisites({ "steam-science-pack" })
:count(250)
:time(15)
:ingredients({ { "wood-science-pack", 1 }, { "steam-science-pack", 1 } })
:apply()
if not basic_circuit_board then
LumberMill.RecipeBuilder:new()
:ingredients({
weight = 200 * kg
},
{
type = "recipe",
name = name,
category = "crafting",
additional_categories = { "wood-processing" },
enabled = false,
ingredients = table.trim({
{ type = "item", name = "stone-brick", amount = 40 },
{ type = "item", name = "lumber", amount = 50 },
{ type = "item", name = "iron-gear-wheel", amount = 50 },
{ type = "item", name = "electronic-circuit", amount = 20 },
{ type = "item", name = "wooden-gear-wheel", amount = 50 },
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 20 or 40 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 20 } or nil,
{ type = "item", name = "burner-assembling-machine", amount = 2 }
}),
energy_required = 60,
results = { { type = "item", name = name, amount = 1 } }
},
{
type = "technology",
name = name,
icon = Lignumis.graphics .. "technology/lumber-mill.png",
icon_size = 256,
prerequisites = electric_lumber_mill and { "automation-science-pack" } or { "steam-science-pack" },
unit = {
count = 250,
ingredients = electric_lumber_mill and {{ "automation-science-pack", 1 }} or {{ "wood-science-pack", 1 }, { "steam-science-pack", 1 }},
time = 15
}
}
})
Recipe:new("lumber-mill")
:unlockedByTechnology("lumber-mill")
:clone("lumber-mill-copper")
:assign({
ingredients = {
{ type = "item", name = "stone-brick", amount = 40 },
{ type = "item", name = "lumber", amount = 50 },
{ type = "item", name = "wooden-gear-wheel", amount = 50 },
{ type = "item", name = "copper-plate", amount = basic_circuit_board and 20 or 40 },
{ type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 20 },
{ type = "item", name = "assembling-machine-1", amount = 2 }
})
:apply({
name = "lumber-mill-electronic-circuit",
},
localised_name = { "entity-name.lumber-mill" },
category = "wood-processing-or-assembling",
icons = {
{ icon = lumber_mill_item.icon },
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
{ icon = Lignumis.graphics .. "icons/lumber-mill.png" },
{ icon = basic_circuit_board and "__base__/graphics/icons/copper-plate.png" or "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
}
})
:unlockedByTechnology(
electric_lumber_mill and "lumber-mill"
or basic_circuit_board and "copper-processing"
or "electronics"
)
:apply()
table.insert(data.raw.technology["electronics"].effects, {
type = "unlock-recipe",
recipe = "lumber-mill-electronic-circuit"
})
end
Recipe:new("wooden-chest"):addCategory("wood-processing")
Recipe:new("small-electric-pole"):addCategory("wood-processing")

View file

@ -1,14 +1,18 @@
local item_sounds = require("__base__.prototypes.item_sounds")
if mods["wood-logistics"] and settings.startup["wood-logistics-lumber"].value then
return
end
data:extend({
{
type = "item",
name = "lumber",
icon = Lignumis.graphics .. "icons/lumber.png",
pictures = {
{ filename = Lignumis.graphics .. "icons/lumber.png", size = 64, scale = 0.5, mipmap_count = 4 },
{ filename = Lignumis.graphics .. "icons/lumber-1.png", size = 64, scale = 0.5, mipmap_count = 4 },
{ filename = Lignumis.graphics .. "icons/lumber-2.png", size = 64, scale = 0.5, mipmap_count = 4 },
{ filename = Lignumis.graphics .. "icons/lumber.png", size = 64, scale = 0.5 },
{ filename = Lignumis.graphics .. "icons/lumber-1.png", size = 64, scale = 0.5 },
{ filename = Lignumis.graphics .. "icons/lumber-2.png", size = 64, scale = 0.5 },
},
subgroup = "intermediate-product",
order = "A[basic-intermediates]-c[lumber]",
@ -23,7 +27,8 @@ data:extend({
{
type = "recipe",
name = "lumber",
category = "wood-processing-or-assembling",
category = "crafting",
additional_categories = { "wood-processing" },
allow_productivity = true,
allow_as_intermediate = true,
ingredients = { { type = "item", name = "wood", amount = 2 } },

View file

@ -14,7 +14,7 @@ data:extend({
{ type = "fluid", name = "wood-pulp", amount = 100 },
{ type = "fluid", name = "water", amount = 100 }
},
results = { { type = "item", name = "cupriavidus-necator", amount_min = 4, amount_max = 10, probability = 0.1 } },
results = { { type = "item", name = "cupriavidus-necator", amount_min = 4, amount_max = 10, probability = 0.15 } },
result_is_always_fresh = true,
icons = {
{ icon = Lignumis.graphics .. "icons/cupriavidus-necator-1.png" },
@ -216,6 +216,34 @@ data:extend({
}
})
if settings.startup["lignumis-basic-circuit-board"].value then
data:extend({
{
type = "recipe",
name = "processing-unit-gold",
category = "crafting-with-steam",
additional_categories = { "electromagnetics" },
enabled = false,
auto_recycle = false,
energy_required = 10,
ingredients =
{
{ type = "item", name = "basic-circuit-board", amount = 20 },
{ type = "item", name = "gold-cable", amount = 8 },
{ type = "item", name = "plastic-bar", amount = 3 },
{ type = "fluid", name = "wood-pulp", amount = 5 }
},
results = { { type = "item", name = "processing-unit", amount = 1 } },
allow_productivity = true,
icons = {
{ icon = "__base__/graphics/icons/processing-unit.png" },
{ icon = Lignumis.graphics .. "icons/gold-cable.png", scale = 0.25, shift = { 8, 8 } }
}
}
})
Technology:new("processing-unit"):addRecipe("processing-unit-gold")
end
local plastics = Technology:new("plastics")
plastics:addRecipe("cupriavidus-necator-starter")
plastics:addRecipe("cupriavidus-necator")

View file

@ -65,9 +65,9 @@ end
-- Walls absorb noise
emit_constant("wall", "wooden-wall", -10)
emit_constant("wall", "stone-wall", -20)
emit_constant("gate", "gate", -10)
emit_constant("wall", "wooden-wall", -25)
emit_constant("wall", "stone-wall", -40)
emit_constant("gate", "gate", -30)
-- Buildings emit noise
@ -78,8 +78,8 @@ emit("mining-drill", "burner-mining-drill", 50)
emit("mining-drill", "electric-mining-drill", 100)
emit("mining-drill", "big-mining-drill", 200)
--emit("mining-drill", "deep-miner", 2000)
--emit("agricultural-tower", "burner-agricultural-tower", 100)
emit("agricultural-tower", "agricultural-tower", 100)
--emit("agricultural-tower", "burner-agricultural-tower", 75)
emit("agricultural-tower", "agricultural-tower", 75)
--emit("assembling-machine", "burner-assembling-machine", 50)
--emit("assembling-machine", "steam-assembling-machine", 50)
emit("assembling-machine", "assembling-machine-1", 10)
@ -100,18 +100,18 @@ emit("lab", "biolab", 20)
emit("locomotive", "locomotive", 200)
emit_constant("locomotive", "locomotive", 10)
--emit_constant("transport-belt", "wood-transport-belt", 3)
emit_constant("transport-belt", "transport-belt", 4)
emit_constant("transport-belt", "fast-transport-belt", 8)
emit_constant("transport-belt", "express-transport-belt", 12)
emit_constant("transport-belt", "turbo-transport-belt", 16)
--emit_constant("underground-belt", "wood-underground-belt", 30)
emit_constant("underground-belt", "underground-belt", 40)
emit_constant("underground-belt", "fast-underground-belt", 50)
emit_constant("underground-belt", "express-underground-belt", 60)
emit_constant("underground-belt", "turbo-underground-belt", 80)
--emit_constant("splitter", "wood-splitter", 60)
emit_constant("splitter", "splitter", 70)
emit_constant("splitter", "fast-splitter", 80)
emit_constant("splitter", "express-splitter", 90)
emit_constant("splitter", "turbo-splitter", 100)
emit_constant("transport-belt", "wood-transport-belt", 2)
emit_constant("transport-belt", "transport-belt", 3)
emit_constant("transport-belt", "fast-transport-belt", 4)
emit_constant("transport-belt", "express-transport-belt", 6)
emit_constant("transport-belt", "turbo-transport-belt", 8)
emit_constant("underground-belt", "wood-underground-belt", 7.5)
emit_constant("underground-belt", "underground-belt", 10)
emit_constant("underground-belt", "fast-underground-belt", 20)
emit_constant("underground-belt", "express-underground-belt", 30)
emit_constant("underground-belt", "turbo-underground-belt", 40)
emit_constant("splitter", "wood-splitter", 20)
emit_constant("splitter", "splitter", 30)
emit_constant("splitter", "fast-splitter", 40)
emit_constant("splitter", "express-splitter", 50)
emit_constant("splitter", "turbo-splitter", 60)

View file

@ -46,7 +46,7 @@ data:extend({
autoplace = resource_autoplace.resource_autoplace_settings {
name = "lignumis_peat",
order = "b",
base_density = 2,
base_density = 8,
base_spots_per_km2 = 5,
has_starting_area_placement = true,
regular_rq_factor_multiplier = 1,

View file

@ -1,9 +1,59 @@
local hit_effects = require("__base__.prototypes.entity.hit-effects")
local item_sounds = require("__base__.prototypes.item_sounds")
local sounds = require("__base__.prototypes.entity.sounds")
local Entity = require("__cf-lib__/data/Entity")
local Technology = require("__cf-lib__/data/Technology")
local machinepipes = require("prototypes/content/gold/machinepipes")
local QualityAssemblerFactory = require(MF.buildings .. "GravityAssembler")
local QualityAssembler = QualityAssemblerFactory("quality-assembler")
local function assemblerpipepicturesfrozen()
return {
north = {
filename = "__space-age__/graphics/entity/frozen/assembling-machine/assembling-machine-pipe-N-frozen.png",
priority = "extra-high",
width = 71,
height = 38,
shift = util.by_pixel(2.25, 13.5),
scale = 0.5
},
east = {
filename = "__space-age__/graphics/entity/frozen/assembling-machine/assembling-machine-pipe-E-frozen.png",
priority = "extra-high",
width = 42,
height = 76,
shift = util.by_pixel(-24.5, 1),
scale = 0.5
},
south = {
filename = "__space-age__/graphics/entity/frozen/assembling-machine/assembling-machine-pipe-S-frozen.png",
priority = "extra-high",
width = 88,
height = 61,
shift = util.by_pixel(0, -31.25),
scale = 0.5
},
west = {
filename = "__space-age__/graphics/entity/frozen/assembling-machine/assembling-machine-pipe-W-frozen.png",
priority = "extra-high",
width = 39,
height = 73,
shift = util.by_pixel(25.75, 1.25),
scale = 0.5
}
}
end
local name = "quality-assembler"
local gfx = Lignumis.graphics .. "entity/" .. name .. "/"
data:extend({
{
type = "recipe-category",
name = "quality-assembling"
},
{
type = "module-category",
name = "quality-assembling"
},
{
type = "burner-usage",
name = "quality-catalyst",
@ -43,7 +93,7 @@ data:extend({
drop_sound = item_sounds.metal_small_inventory_move,
stack_size = 50,
fuel_category = "quality-catalyst",
fuel_value = "1MJ",
fuel_value = "2MJ",
weight = 1000 / 50 * kg,
},
{
@ -56,48 +106,262 @@ data:extend({
{ type = "item", name = "tungsten-carbide", amount = 2 },
{ type = "item", name = "supercapacitor", amount = 2 }
},
results = { { type = "item", name = "gold-quality-catalyst", amount = 2 } },
allow_productivity = false,
results = { { type = "item", name = "gold-quality-catalyst", amount = 1 } },
allow_productivity = true,
allow_quality = false,
enabled = false
}
})
QualityAssembler.EntityBuilder:new()
:allowProductivity(false)
:burnerEnergySource({
},
{
type = "assembling-machine",
name = name,
icon = Lignumis.graphics .. "icons/quality-assembler.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.2, result = name },
fast_replaceable_group = name,
max_health = 500,
corpse = "big-remnants",
dying_explosion = "medium-explosion",
collision_box = Entity.collisionBox(4, 4),
selection_box = Entity.selectionBox(4, 4),
damaged_trigger_effect = hit_effects.entity(),
drawing_box_vertical_extension = 1.3,
module_slots = 1,
quality_affects_module_slots = true,
effect_receiver = { base_effect = { quality = 3.5 } },
icon_draw_specification = {shift = {0, -0.25}},
icons_positioning = {
{ inventory_index = defines.inventory.assembling_machine_modules, shift = { 0, 1 }, max_icons_per_row = 4 }
},
allowed_effects = { "consumption", "pollution", "quality" },
allowed_module_categories = { "efficiency", "quality", "quality-assembling" },
crafting_categories = { "quality-assembling" },
crafting_speed = 4,
energy_source = {
type = "burner",
burner_usage = "quality-catalyst",
fuel_categories = { "quality-catalyst" },
effectivity = 1,
fuel_inventory_size = 1,
emissions_per_minute = { noise = 100, pollution = 6 }
})
:pipes()
:apply({
emissions_per_minute = { noise = 100, pollution = 6 },
},
energy_usage = "1MW",
crafting_speed = 4,
module_slots = 6,
allowed_effects = { "pollution", "quality" },
effect_receiver = { base_effect = { quality = 10 } }
})
QualityAssembler.ItemBuilder:new():apply()
QualityAssembler.RecipeBuilder:new()
:ingredients({
heating_energy = "200kW",
perceived_performance = { minimum = 0.25, performance_to_activity_rate = 0.25, maximum = 4 },
graphics_set = {
animation = {
layers = {
{
filename = gfx .. "quality-assembler-shadow.png",
priority = "high",
width = 500,
height = 350,
frame_count = 1,
line_length = 1,
repeat_count = 64,
animation_speed = 0.32,
draw_as_shadow = true,
scale = 0.5
},
{
priority = "high",
width = 270,
height = 310,
frame_count = 64,
lines_per_file = 8,
animation_speed = 0.32,
scale = 0.5,
stripes = {
{
filename = gfx .. "quality-assembler-animation-1.png",
width_in_frames = 8,
height_in_frames = 8
}
}
}
}
},
working_visualisations = {
{
fadeout = true,
animation = {
layers = {
{
priority = "high",
width = 270,
height = 310,
frame_count = 64,
lines_per_file = 8,
animation_speed = 0.32,
scale = 0.5,
stripes = {
{
filename = gfx .. "quality-assembler-animation-1.png",
width_in_frames = 8,
height_in_frames = 8
}
}
},
{
priority = "high",
draw_as_glow = true,
blend_mode = "additive",
width = 270,
height = 310,
frame_count = 64,
lines_per_file = 8,
animation_speed = 0.32,
scale = 0.5,
stripes = {
{
filename = gfx .. "quality-assembler-emission-1.png",
width_in_frames = 8,
height_in_frames = 8
}
}
}
}
}
}
},
frozen_patch = {
priority = "high",
filename = gfx .. "quality-assembler-frozen-1.png",
width = 270,
height = 310,
scale = 0.5
}
},
open_sound = sounds.machine_open,
close_sound = sounds.machine_close,
fluid_boxes = {
{
production_type = "input",
pipe_picture = machinepipes(),
pipe_picture_frozen = assemblerpipepicturesfrozen(),
pipe_covers = pipecoverspictures(),
volume = 200,
secondary_draw_orders = { north = -1 },
pipe_connections = {{ flow_direction="input-output", direction = defines.direction.west, position = {-1.5, 0.5} }}
},
{
production_type = "input",
pipe_picture = machinepipes(),
pipe_picture_frozen = assemblerpipepicturesfrozen(),
pipe_covers = pipecoverspictures(),
volume = 200,
secondary_draw_orders = { north = -1 },
pipe_connections = {{ flow_direction="input-output", direction = defines.direction.east, position = {1.5, -0.5} }}
},
{
production_type = "output",
pipe_picture = machinepipes(),
pipe_picture_frozen = assemblerpipepicturesfrozen(),
pipe_covers = pipecoverspictures(),
volume = 100,
secondary_draw_orders = { north = -1 },
pipe_connections = {{ flow_direction="input-output", direction = defines.direction.south, position = {0.5, 1.5} }}
},
{
production_type = "output",
pipe_picture = machinepipes(),
pipe_picture_frozen = assemblerpipepicturesfrozen(),
pipe_covers = pipecoverspictures(),
volume = 100,
secondary_draw_orders = { north = -1 },
pipe_connections = {{ flow_direction="input-output", direction = defines.direction.north, position = {-0.5, -1.5} }}
}
},
fluid_boxes_off_when_no_fluid_recipe = true,
forced_symmetry = "horizontal",
working_sound = {
fade_in_ticks = 4,
fade_out_ticks = 20,
audible_distance_modifier = 0.6,
max_sounds_per_type = 2,
main_sounds = {
{
sound = { filename = Lignumis.sound .. "entity/quality-assembler/quality-assembler-working-loop.ogg", volume = 0.6, audible_distance_modifier = 0.8 },
probability = 1.0
},
{
sound = {
filename = Lignumis.sound .. "entity/quality-assembler/quality-assembler-ai.ogg",
volume = 0.5,
audible_distance_modifier = 0.4,
advanced_volume_control = {
attenuation = "exponential",
fades = { fade_in = { curve_type = "linear", from = { control = 0.75, volume_percentage = 0.0 }, to = { 1.5, 100.0 } } }
}
},
probability = 1 / (7 * 60)
},
{
sound = {
filename = Lignumis.sound .. "entity/quality-assembler/quality-assembler-ai-long.ogg",
volume = 0.3,
audible_distance_modifier = 0.2,
advanced_volume_control = {
attenuation = "exponential",
fades = { fade_in = { curve_type = "linear", from = { control = 0.75, volume_percentage = 0.0 }, to = { 1.5, 100.0 } } }
}
}
}
},
sound_accents = {
{ sound = { filename = Lignumis.sound .. "entity/quality-assembler/quality-assembler-welding.ogg", min_volume = 0.6, max_volume = 1.0, audible_distance_modifier = 0.8 }, frame = 12 },
{ sound = {
filename = Lignumis.sound .. "entity/quality-assembler/quality-assembler-click.ogg",
min_volume = 0.3,
max_volume = 0.6,
advanced_volume_control = {
attenuation = "exponential",
fades = { fade_in = { curve_type = "linear", from = { control = 0.75, volume_percentage = 0.0 }, to = { 1.5, 100.0 } } }
},
audible_distance_modifier = 0.2
}, frame = 48 }
}
}
},
{
type = "item",
name = name,
icon = Lignumis.graphics .. "icons/quality-assembler.png",
subgroup = "production-machine",
order = "za[" .. name .. "]",
inventory_move_sound = item_sounds.mechanical_large_inventory_move,
pick_sound = item_sounds.mechanical_large_inventory_pickup,
drop_sound = item_sounds.mechanical_large_inventory_move,
place_result = name,
stack_size = 20,
default_import_location = "nauvis",
weight = 200 * kg
},
{
type = "recipe",
name = name,
category = "electromagnetics",
additional_categories = { "quality-assembling" },
enabled = false,
ingredients = {
{ type = "item", name = "gold-plate", amount = 60 },
{ type = "item", name = "tungsten-plate", amount = 40 },
{ type = "item", name = "superconductor", amount = 50 },
{ type = "item", name = "carbon-fiber", amount = 100 },
{ type = "item", name = "quantum-processor", amount = 10 }
})
:apply({
category = "electromagnetics-or-quality-assembling",
})
QualityAssembler.TechnologyBuilder:new()
:prerequisites({ "legendary-quality", "quantum-processor" })
:count(5000)
:ingredients({
},
energy_required = 60,
results = { { type = "item", name = name, amount = 1 } },
},
{
type = "technology",
name = name,
icon = Lignumis.graphics .. "technology/quality-assembler.png",
icon_size = 256,
effects = {},
prerequisites = { "legendary-quality", "quantum-processor" },
unit = {
count = 5000,
ingredients = {
{ "wood-science-pack", 1 },
{ "steam-science-pack", 1 },
{ "automation-science-pack", 1 },
@ -110,73 +374,132 @@ QualityAssembler.TechnologyBuilder:new()
{ "agricultural-science-pack", 1 },
{ "electromagnetic-science-pack", 1 },
{ "cryogenic-science-pack", 1 }
})
:time(60)
:additionalRecipes({ "gold-quality-catalyst" })
:apply()
local function convert_category(name)
local quality_name = name .. "-or-quality-assembling"
data:extend({
{
type = "recipe-category",
name = quality_name
},
time = 60
}
})
},
{
type = "module",
name = "gold-module-3",
localised_description = { "item-description.gold-module" },
icon = Lignumis.graphics .. "icons/gold-module-3.png",
subgroup = "module",
color_hint = { text = "Q" },
category = "quality-assembling",
tier = 3,
order = "e[gold]-c[gold-module-3]",
inventory_move_sound = item_sounds.module_inventory_move,
pick_sound = item_sounds.module_inventory_pickup,
drop_sound = item_sounds.module_inventory_move,
stack_size = 50,
weight = 20 * kg,
effect = { quality = 0.75, speed = -0.1 }
},
{
type = "recipe",
name = "gold-module-3",
category = "electromagnetics",
additional_categories = { "quality-assembling" },
enabled = false,
ingredients =
{
{type = "item", name = "quality-module-3", amount = 4},
{type = "item", name = "quantum-processor", amount = 5},
{type = "item", name = "gold-quality-catalyst", amount = 20}
},
energy_required = 60,
results = {{type="item", name="gold-module-3", amount=1}}
},
{
type = "technology",
name = "experienced-quality-assembling-1",
icons = {
{ icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
{ icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
},
level = 1,
max_level = 1,
show_levels_info = true,
effects = {
{ type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.25 }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 2000 },
prerequisites = { "quality-assembler" }
},
{
type = "technology",
name = "experienced-quality-assembling-2",
icons = {
{ icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
{ icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
},
level = 2,
max_level = 2,
show_levels_info = true,
effects = {
{ type = "change-recipe-productivity", recipe = "gold-quality-catalyst", change = 0.5 }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 10000 },
prerequisites = { "experienced-quality-assembling-1" }
},
{
type = "technology",
name = "experienced-quality-assembling-3",
icons = {
{ icon = "__quality__/graphics/technology/legendary-quality.png", icon_size = 256 },
{ icon = Lignumis.graphics .. "icons/quality-gold-catalyst.png", icon_size = 64, scale = 1, shift = { 50, 50 }, draw_background = true }
},
level = 3,
max_level = 3,
show_levels_info = true,
effects = {
{ type = "unlock-recipe", recipe = "gold-module-3" }
},
research_trigger = { type = "craft-item", item = "gold-quality-catalyst", count = 40000 },
prerequisites = { "experienced-quality-assembling-2" }
}
})
for _, assembler in pairs(data.raw["assembling-machine"]) do
if assembler.crafting_categories and table.contains(assembler.crafting_categories, name) then
table.insert(assembler.crafting_categories, quality_name)
end
end
for _, character in pairs(data.raw["character"]) do
if character.crafting_categories and table.contains(character.crafting_categories, name) then
table.insert(character.crafting_categories, quality_name)
end
end
table.insert(data.raw["assembling-machine"]["quality-assembler"].crafting_categories, quality_name)
Technology:new(name)
:addRecipe(name)
:addRecipe("gold-quality-catalyst")
local function qa(recipeName)
local recipe = data.raw.recipe[recipeName]
recipe.additional_categories = recipe.additional_categories or {}
table.insert(recipe.additional_categories, "quality-assembling")
end
convert_category("wood-processing-or-assembling")
convert_category("metallurgy-or-assembling")
convert_category("metallurgy")
convert_category("electronics")
convert_category("electronics-or-assembling")
convert_category("electromagnetics")
convert_category("organic-or-assembling")
convert_category("crafting")
convert_category("cryogenics-or-assembling")
-- Lignumis
data.raw.recipe["lumber-mill"].category = "wood-processing-or-assembling-or-quality-assembling"
qa("lumber-mill")
-- Nauvis
data.raw.recipe["logistic-robot"].category = "crafting-or-quality-assembling"
data.raw.recipe["construction-robot"].category = "crafting-or-quality-assembling"
data.raw.recipe["roboport"].category = "crafting-or-quality-assembling"
data.raw.recipe["speed-module-3"].category = "electronics-or-quality-assembling"
data.raw.recipe["productivity-module-3"].category = "electronics-or-quality-assembling"
data.raw.recipe["efficiency-module-3"].category = "electronics-or-quality-assembling"
data.raw.recipe["rocket-silo"].category = "crafting-or-quality-assembling"
data.raw.recipe["cargo-bay"].category = "crafting-or-quality-assembling"
data.raw.recipe["asteroid-collector"].category = "crafting-or-quality-assembling"
data.raw.recipe["thruster"].category = "crafting-or-quality-assembling"
qa("logistic-robot")
qa("construction-robot")
qa("roboport")
qa("speed-module-3")
qa("productivity-module-3")
qa("efficiency-module-3")
qa("rocket-silo")
qa("cargo-bay")
qa("asteroid-collector")
qa("thruster")
-- Vulcanus
data.raw.recipe["foundry"].category = "metallurgy-or-assembling-or-quality-assembling"
data.raw.recipe["big-mining-drill"].category = "metallurgy-or-quality-assembling"
qa("foundry")
qa("big-mining-drill")
-- Fulgora
data.raw.recipe["electromagnetic-plant"].category = "electronics-or-assembling-or-quality-assembling"
data.raw.recipe["lightning-collector"].category = "electromagnetics-or-quality-assembling"
data.raw.recipe["mech-armor"].category = "crafting-or-quality-assembling"
data.raw.recipe["quality-module-3"].category = "electronics-or-quality-assembling"
data.raw.recipe["recycler"].category = "crafting-or-quality-assembling"
qa("electromagnetic-plant")
qa("lightning-collector")
qa("mech-armor")
qa("quality-module-3")
qa("recycler")
-- Gleba
data.raw.recipe["biochamber"].category = "organic-or-assembling-or-quality-assembling"
data.raw.recipe["stack-inserter"].category = "crafting-or-quality-assembling"
data.raw.recipe["spidertron"].category = "crafting-or-quality-assembling"
qa("biochamber")
qa("stack-inserter")
qa("spidertron")
-- Aquilo
data.raw.recipe["cryogenic-plant"].category = "cryogenics-or-assembling-or-quality-assembling"
qa("cryogenic-plant")

View file

@ -6,10 +6,10 @@ local gfx = Lignumis.graphics .. "entity/steam-assembling-machine/"
local assembling_machine = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-2"])
assembling_machine.name = "steam-assembling-machine"
assembling_machine.icon = Lignumis.graphics .. "icons/steam-assembling-machine.png"
assembling_machine.icons = { { icon = Lignumis.graphics .. "icons/steam-assembling-machine.png", icon_size = 64 } }
assembling_machine.minable.result = "steam-assembling-machine"
assembling_machine.next_upgrade = "assembling-machine-1"
assembling_machine.module_slots = nil
assembling_machine.module_slots = 2
assembling_machine.corpses = "steam-assembling-machine-remnants"
assembling_machine.resistances = nil
assembling_machine.graphics_set = table.deepcopy(data.raw["assembling-machine"]["assembling-machine-1"].graphics_set)
@ -20,7 +20,6 @@ assembling_machine.crafting_categories = {
"crafting",
"electronics",
"pressing",
"wood-processing-or-assembling",
"organic-or-assembling",
"electronics-or-assembling",
"metallurgy-or-assembling",
@ -30,11 +29,12 @@ assembling_machine.crafting_speed = 0.5
assembling_machine.energy_usage = "25kW"
assembling_machine.energy_source = {
type = "fluid",
fuel_categories = { "steam" },
maximum_temperature = 165,
scale_fluid_usage = true,
effectivity = 1,
emissions_per_minute = { noise = 50 },
scale_fluid_usage = true,
fluid_box = {
filter = "steam",
production_type = "input",
pipe_picture = machinepipes(),
pipe_covers = pipecovers(),
@ -76,7 +76,8 @@ data:extend({
pick_sound = item_sounds.mechanical_inventory_pickup,
drop_sound = item_sounds.mechanical_inventory_move,
place_result = "steam-assembling-machine",
stack_size = 50
stack_size = 50,
weight = 20 * kg
},
{
type = "recipe",
@ -106,6 +107,6 @@ data:extend({
ingredients = { { "wood-science-pack", 1 } },
time = 15
},
ignore_tech_cost_multiplier = true
ignore_tech_cost_multiplier = false
}
})

View file

@ -2,6 +2,8 @@ local item_tints = require("__base__.prototypes.item-tints")
local item_sounds = require("__base__.prototypes.item_sounds")
local Technology = require("__cf-lib__/data/Technology")
local spoil = settings.startup["lignumis-sciences-spoil"].value
data:extend({
{
type = "tool",
@ -21,7 +23,9 @@ data:extend({
factoriopedia_durability_description_key = "description.factoriopedia-science-pack-remaining-amount-key",
durability_description_value = "description.science-pack-remaining-amount-value",
random_tint_color = item_tints.iron_rust,
default_import_location = "lignumis"
default_import_location = "lignumis",
spoil_result = spoil and "steam-science-pack-spoiled" or nil,
spoil_ticks = spoil and 3600 * 5 or nil
},
{
type = "recipe",
@ -37,7 +41,8 @@ data:extend({
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = true
allow_productivity = true,
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
},
{
type = "recipe",
@ -55,7 +60,8 @@ data:extend({
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = true
allow_productivity = true,
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
},
{
type = "technology",
@ -78,4 +84,43 @@ data:extend({
}
})
if spoil then
data:extend({
{
type = "item",
name = "steam-science-pack-spoiled",
icon = Lignumis.graphics .. "icons/steam-science-pack-spoiled.png",
subgroup = "science-pack",
color_hint = { text = "A" },
order = "2[steam-science-pack]",
inventory_move_sound = item_sounds.science_inventory_move,
pick_sound = item_sounds.science_inventory_pickup,
drop_sound = item_sounds.science_inventory_move,
stack_size = 200,
weight = 1 * kg,
random_tint_color = item_tints.iron_rust,
default_import_location = "lignumis"
},
{
type = "recipe",
name = "refresh-steam-science-pack",
category = "smelting",
enabled = false,
energy_required = 10,
ingredients = {
{ type = "item", name = "steam-science-pack-spoiled", amount = 1 }
},
results = { { type = "item", name = "steam-science-pack", amount = 1 } },
crafting_machine_tint = {
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = false,
auto_recycle = false
}
})
Technology:new("steam-science-pack"):addRecipe("refresh-steam-science-pack")
end
Technology:new("automation-2"):addRecipe("steam-science-pack-steam")

View file

@ -3,7 +3,6 @@ data:extend({
type = "technology",
name = "planet-discovery-lignumis",
icons = PlanetsLib.technology_icons_moon(Lignumis.graphics .. "technology/lignumis.png", 256),
essential = true,
effects = {
{
type = "unlock-space-location",
@ -69,6 +68,10 @@ data:extend({
{
type = "unlock-recipe",
recipe = "provisional-rocket-silo"
},
{
type = "unlock-recipe",
recipe = "provisional-rocket-part"
}
},
prerequisites = { "wood-liquefaction" },
@ -83,8 +86,7 @@ data:extend({
}
})
if not mods["planet-picker"] and not mods["any-planet-start"] then
data:extend({
data:extend({
{
type = "technology",
name = "planet-discovery-nauvis",
@ -118,7 +120,6 @@ if not mods["planet-picker"] and not mods["any-planet-start"] then
name = "iron-processing",
icon = "__base__/graphics/icons/iron-plate.png",
icon_size = 64,
essential = true,
effects = {
{
type = "unlock-recipe",
@ -144,7 +145,6 @@ if not mods["planet-picker"] and not mods["any-planet-start"] then
name = "copper-processing",
icon = "__base__/graphics/icons/copper-plate.png",
icon_size = 64,
essential = true,
effects = {
{
type = "unlock-recipe",
@ -161,5 +161,4 @@ if not mods["planet-picker"] and not mods["any-planet-start"] then
entity = "copper-ore"
}
}
})
end
})

View file

@ -1 +1,2 @@
require("fuel-category-updates")
require("lignumis/planet-updates")

View file

@ -144,10 +144,12 @@ data:extend({
{
type = "recipe",
name = "wood-lab",
category = "crafting",
additional_categories = { "wood-processing" },
energy_required = 2,
ingredients = {
{ type = "item", name = "lumber", amount = 10 },
{ type = "item", name = "wooden-gear-wheel", amount = 10 },
{ type = "item", name = "lumber", amount = 6 },
{ type = "item", name = "wooden-gear-wheel", amount = 4 },
{ type = "item", name = "stone-brick", amount = 10 },
{ type = "item", name = "gold-plate", amount = basic_circuit_board and 10 or 20 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil

View file

@ -65,10 +65,10 @@ data:extend({
},
ingredients = {
{ type = "item", name = "wood", amount = 1 },
{ type = "fluid", name = "steam", amount = 5 }
{ type = "fluid", name = "steam", amount = 10 }
},
results = {
{ type = "fluid", name = "wood-pulp", amount = 10 }
{ type = "fluid", name = "wood-pulp", amount = 15 }
},
allow_productivity = true
},

View file

@ -1,78 +1,473 @@
local BeltFactory = require(MF.logistics .. "Belts")
local Belt = BeltFactory("wood", "brown", "slow")
local meld = require("meld")
local hit_effects = require("__base__.prototypes.entity.hit-effects")
local sounds = require("__base__.prototypes.entity.sounds")
local item_sounds = require("__base__.prototypes.item_sounds")
local Recipe = require("__cf-lib__/data/Recipe")
if mods["wood-logistics"] and settings.startup["wood-logistics-belts"].value then
return
end
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
local speed = 7.5 / 480
local name = "wood"
local transportBeltName = name .. "-transport-belt"
local undergroundBeltName = name .. "-underground-belt"
local splitterName = name .. "-splitter"
local gfx = Lignumis.graphics .. "entity/wood-logistics/"
Belt.EntityBuilder:new()
:itemsPerSecond(7.5)
:nextTier("")
:undergroundDistance(4)
:animationSpeedMultiplier(1.01)
:apply({
transportBelt = {
emissions_per_second = { noise = 0.05 }
},
undergroundBelt = {
emissions_per_second = { noise = 0.5 }
},
splitter = {
emissions_per_second = { noise = 1 }
local function createAnimation()
return meld({
animation_set = {
filename = gfx .. "wood-transport-belt.png",
priority = "extra-high",
size = 128,
scale = 0.5,
frame_count = 16,
direction_count = 20
}
}, belt_reader_gfx)
end
data:extend({
{
type = "transport-belt",
name = transportBeltName,
icon = Lignumis.graphics .. "icons/wood-transport-belt.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.1, result = transportBeltName },
max_health = 150,
next_upgrade = "transport-belt",
corpse = transportBeltName .. "-remnants",
dying_explosion = "transport-belt-explosion",
resistances = {
{
type = "fire",
percent = 90
}
},
emissions_per_second = { noise = 2 / 60 },
collision_box = { { -0.4, -0.4 }, { 0.4, 0.4 } },
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
damaged_trigger_effect = hit_effects.entity(),
open_sound = sounds.transport_belt_open,
close_sound = sounds.transport_belt_close,
working_sound = {
sound = { filename = "__base__/sound/transport-belt.ogg", volume = 0.17 },
persistent = true
},
animation_speed_coefficient = 1.01 * 32,
fast_replaceable_group = "transport-belt",
related_underground_belt = undergroundBeltName,
speed = speed,
belt_animation_set = createAnimation(),
connector_frame_sprites = transport_belt_connector_frame_sprites,
circuit_connector = circuit_connector_definitions["belt"],
circuit_wire_max_distance = transport_belt_circuit_wire_max_distance
},
{
type = "corpse",
name = transportBeltName .. "-remnants",
icon = Lignumis.graphics .. "icons/wood-transport-belt.png",
hidden_in_factoriopedia = true,
flags = { "placeable-neutral", "not-on-map" },
subgroup = "belt-remnants",
order = "a-a-a",
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
tile_width = 1,
tile_height = 1,
selectable_in_game = false,
time_before_removed = 60 * 60 * 15, -- 15 minutes
expires = false,
final_render_layer = "remnants",
animation = make_rotated_animation_variations_from_sheet(2, {
filename = gfx .. "wood-transport-belt-remnants.png",
line_length = 1,
width = 106,
height = 102,
direction_count = 4,
shift = util.by_pixel(1, -0.5),
scale = 0.5
})
local splitter_item = Belt.ItemBuilder:new()
:order("0")
:apply()
.splitter
Belt.RecipeBuilder:new()
:beltAmount(2)
:ingredients("transportBelt", {
},
{
type = "underground-belt",
name = undergroundBeltName,
icon = Lignumis.graphics .. "icons/wood-underground-belt.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.1, result = undergroundBeltName },
max_health = 150,
next_upgrade = "underground-belt",
corpse = undergroundBeltName .. "-remnants",
dying_explosion = "underground-belt-explosion",
factoriopedia_simulation = {
init =
[[
game.simulation.camera_position = {0, 0.5}
game.simulation.camera_zoom = 1.8
game.surfaces[1].create_entities_from_blueprint_string
{
string = "0eNqVUNsKgzAM/Zc81+FEBfsrYwwvQQKaltpuivjvS3Wwh8HGnkKSc0tWaIaA1hF70CtMXNvEm6R31MV+Bl0oWECfNwXUGp5AXwRGPddDBHA9Imh4GNMlgTt0vTNSkwYHD5EjsznSrwqQPXnCQ2JvlhuHsUEnAPVdSoE1k7ANv2KlpyOYVLHpyGF7bHMFfrFRidiGGOLDLPvXLP9tZoLf3eRO8jjK5P1YBXd0004oyqzKq6ooqzLNinLbnvlmf6E=",
position = {-0.5, 0}
}
]]
},
max_distance = 4,
open_sound = sounds.machine_open,
close_sound = sounds.machine_close,
working_sound = table.deepcopy(data.raw["underground-belt"]["underground-belt"].working_sound),
underground_sprite = table.deepcopy(data.raw["underground-belt"]["underground-belt"].underground_sprite),
resistances = {
{
type = "fire",
percent = 60
},
{
type = "impact",
percent = 30
}
},
emissions_per_second = { noise = 7.5 / 60 },
collision_box = { { -0.4, -0.4 }, { 0.4, 0.4 } },
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
damaged_trigger_effect = hit_effects.entity(),
animation_speed_coefficient = 1.01 * 32,
fast_replaceable_group = "transport-belt",
speed = speed,
structure = {
direction_in = {
sheet = {
filename = gfx .. "wood-underground-belt-structure.png",
priority = "extra-high",
width = 192,
height = 192,
y = 192,
scale = 0.5
}
},
direction_out = {
sheet = {
filename = gfx .. "wood-underground-belt-structure.png",
priority = "extra-high",
width = 192,
height = 192,
scale = 0.5
}
},
direction_in_side_loading = {
sheet = {
filename = gfx .. "wood-underground-belt-structure.png",
priority = "extra-high",
width = 192,
height = 192,
y = 192 * 3,
scale = 0.5
}
},
direction_out_side_loading = {
sheet = {
filename = gfx .. "wood-underground-belt-structure.png",
priority = "extra-high",
width = 192,
height = 192,
y = 192 * 2,
scale = 0.5
}
},
back_patch = {
sheet = {
filename =
"__base__/graphics/entity/underground-belt/underground-belt-structure-back-patch.png",
priority = "extra-high",
width = 192,
height = 192,
scale = 0.5
}
},
front_patch = {
sheet = {
filename =
"__base__/graphics/entity/underground-belt/underground-belt-structure-front-patch.png",
priority = "extra-high",
width = 192,
height = 192,
scale = 0.5
}
}
},
belt_animation_set = createAnimation()
},
{
type = "corpse",
name = undergroundBeltName .. "-remnants",
icon = Lignumis.graphics .. "icons/wood-underground-belt.png",
hidden_in_factoriopedia = true,
flags = { "placeable-neutral", "not-on-map", "building-direction-8-way" },
subgroup = "belt-remnants",
order = "a-d-a",
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
tile_width = 1,
tile_height = 1,
selectable_in_game = false,
time_before_removed = 60 * 60 * 15, -- 15 minutes
expires = false,
final_render_layer = "remnants",
remove_on_tile_placement = false,
animation = {
filename = gfx .. "wood-underground-belt-remnants.png",
line_length = 1,
width = 156,
height = 144,
direction_count = 8,
shift = util.by_pixel(10.5, 3),
scale = 0.5
}
},
{
type = "splitter",
name = splitterName,
icon = Lignumis.graphics .. "icons/wood-splitter.png",
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.1, result = splitterName },
max_health = 170,
next_upgrade = "splitter",
corpse = splitterName .. "-remnants",
dying_explosion = "splitter-explosion",
resistances = {
{
type = "fire",
percent = 60
}
},
emissions_per_second = { noise = 20 / 60 },
collision_box = { { -0.9, -0.4 }, { 0.9, 0.4 } },
selection_box = { { -0.9, -0.5 }, { 0.9, 0.5 } },
damaged_trigger_effect = hit_effects.entity(),
animation_speed_coefficient = 1.01 * 32,
structure_animation_speed_coefficient = 0.7,
structure_animation_movement_cooldown = 10,
icon_draw_specification = { scale = 0.5 },
fast_replaceable_group = "transport-belt",
speed = speed,
open_sound = sounds.machine_open,
close_sound = sounds.machine_close,
working_sound = sounds.splitter,
related_transport_belt = transportBeltName,
structure = {
north = {
filename = gfx .. "wood-splitter-north.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 160,
height = 70,
shift = util.by_pixel(7, 0),
scale = 0.5
},
east = {
filename = gfx .. "wood-splitter-east.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 90,
height = 84,
shift = util.by_pixel(4, 13),
scale = 0.5
},
south = {
filename = gfx .. "wood-splitter-south.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 164,
height = 64,
shift = util.by_pixel(4, 0),
scale = 0.5
},
west = {
filename = gfx .. "wood-splitter-west.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 90,
height = 86,
shift = util.by_pixel(6, 12),
scale = 0.5
}
},
structure_patch = {
north = util.empty_sprite(),
east = {
filename = gfx .. "wood-splitter-east-top_patch.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 90,
height = 104,
shift = util.by_pixel(4, -20),
scale = 0.5
},
south = util.empty_sprite(),
west = {
filename = gfx .. "wood-splitter-west-top_patch.png",
frame_count = 32,
line_length = 8,
priority = "extra-high",
width = 90,
height = 96,
shift = util.by_pixel(6, -18),
scale = 0.5
}
},
belt_animation_set = createAnimation()
},
{
type = "corpse",
name = splitterName .. "-remnants",
icon = Lignumis.graphics .. "icons/wood-splitter.png",
hidden_in_factoriopedia = true,
flags = { "placeable-neutral", "not-on-map" },
subgroup = "belt-remnants",
order = "a-g-a",
selection_box = { { -0.9, -0.5 }, { 0.9, 0.5 } },
tile_width = 2,
tile_height = 1,
selectable_in_game = false,
time_before_removed = 60 * 60 * 15, -- 15 minutes
expires = false,
final_render_layer = "remnants",
remove_on_tile_placement = false,
animation = {
filename = gfx .. "wood-splitter-remnants.png",
line_length = 1,
width = 190,
height = 190,
direction_count = 4,
shift = util.by_pixel(3.5, 1.5),
scale = 0.5
}
},
{
type = "item",
name = transportBeltName,
icon = Lignumis.graphics .. "icons/wood-transport-belt.png",
subgroup = "belt",
color_hint = { text = "1" },
order = "a[transport-belt]-0[" .. transportBeltName .. "]",
inventory_move_sound = item_sounds.transport_belt_inventory_move,
pick_sound = item_sounds.transport_belt_inventory_pickup,
drop_sound = item_sounds.transport_belt_inventory_move,
place_result = transportBeltName,
stack_size = 100,
weight = 5 * kg
},
{
type = "item",
name = undergroundBeltName,
icon = Lignumis.graphics .. "icons/wood-underground-belt.png",
subgroup = "belt",
color_hint = { text = "1" },
order = "b[underground-belt]-0[" .. undergroundBeltName .. "]",
inventory_move_sound = item_sounds.mechanical_inventory_move,
pick_sound = item_sounds.mechanical_inventory_pickup,
drop_sound = item_sounds.mechanical_inventory_move,
place_result = undergroundBeltName,
stack_size = 50,
weight = 10 * kg
},
{
type = "item",
name = splitterName,
icon = Lignumis.graphics .. "icons/wood-splitter.png",
subgroup = "belt",
color_hint = { text = "1" },
order = "c[splitter]-0[" .. splitterName .. "]",
inventory_move_sound = item_sounds.mechanical_inventory_move,
pick_sound = item_sounds.mechanical_inventory_pickup,
drop_sound = item_sounds.mechanical_inventory_move,
place_result = splitterName,
stack_size = 50,
weight = 10 * kg
},
{
type = "recipe",
name = transportBeltName,
enabled = false,
energy_required = 0.5,
results = { { type = "item", name = transportBeltName, amount = 2 } },
ingredients = {
{ type = "item", name = "lumber", amount = 1 },
{ type = "item", name = "wooden-gear-wheel", amount = 1 }
})
:ingredients("undergroundBelt", {
}
},
{
type = "recipe",
name = undergroundBeltName,
category = "crafting",
additional_categories = { "wood-processing" },
enabled = false,
energy_required = 1,
ingredients = {
{ type = "item", name = "lumber", amount = 1 },
{ type = "item", name = "wood-transport-belt", amount = 4 },
})
:ingredients("splitter", {
},
results = { { type = "item", name = undergroundBeltName, amount = 2 } }
},
{
type = "recipe",
name = splitterName,
category = "crafting",
additional_categories = { "wood-processing" },
enabled = false,
energy_required = 1,
ingredients = {
{ type = "item", name = "wood-transport-belt", amount = 2 },
{ type = "item", name = "lumber", amount = 2 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 5 } or
{ type = "item", name = "gold-cable", amount = 10 }
})
:apply()
Belt.TechnologyBuilder:new()
:prerequisites({ "wood-science-pack" })
:ingredients({ { "wood-science-pack", 1 } })
:count(10)
:time(10)
:apply()
},
results = { { type = "item", name = splitterName, amount = 1 } }
},
{
type = "technology",
name = name .. "-logistics",
category = "crafting",
additional_categories = { "wood-processing" },
icon = Lignumis.graphics .. "technology/wood-logistics.png",
icon_size = 256,
effects = {
{
type = "unlock-recipe",
recipe = "wood-transport-belt"
},
{
type = "unlock-recipe",
recipe = "wood-underground-belt"
},
{
type = "unlock-recipe",
recipe = "wood-splitter"
}
},
prerequisites = { "wood-science-pack" },
unit = {
count = 10,
ingredients = { { "wood-science-pack", 1 } },
time = 10
}
}
})
if not basic_circuit_board then
data:extend({
Belt.RecipeBuilder:new()
:ingredients("splitter", {
{ type = "item", name = "wood-transport-belt", amount = 2 },
{ type = "item", name = "lumber", amount = 2 },
{ type = "item", name = "electronic-circuit", amount = 2 }
})
:build({
splitter = {
name = "wood-splitter-electronic-circuit",
Recipe:new("wood-splitter"):clone("wood-splitter-electronic-circuit")
:replaceIngredient("gold-cable", "electronic-circuit", 2)
:assign({
localised_name = { "entity-name.wood-splitter" },
icons = {
{ icon = splitter_item.icon },
{ icon = gfx .. "wood-splitter-icon.png" },
{ icon = "__base__/graphics/icons/electronic-circuit.png", scale = 0.25, shift = { 8, 8 } }
}
}
})
.splitter
})
table.insert(data.raw.technology["electronics"].effects, {
type = "unlock-recipe",
recipe = "wood-splitter-electronic-circuit"
})
:unlockedByTechnology("electronics")
:apply()
end

View file

@ -76,11 +76,14 @@ data:extend({
pick_sound = item_sounds.wood_inventory_pickup,
drop_sound = item_sounds.wood_inventory_move,
stack_size = 100,
weight = 10 * kg
weight = 5 * kg,
default_import_location = "lignumis"
},
{
type = "recipe",
name = "wood-darts-magazine",
category = "crafting",
additional_categories = { "wood-processing" },
energy_required = 1,
ingredients = { { type = "item", name = "wood", amount = 2 } },
results = { { type = "item", name = "wood-darts-magazine", amount = 1 } }

View file

@ -1,6 +1,8 @@
local item_tints = require("__base__.prototypes.item-tints")
local item_sounds = require("__base__.prototypes.item_sounds")
local spoil = settings.startup["lignumis-sciences-spoil"].value
data:extend({
{
type = "tool",
@ -20,7 +22,9 @@ data:extend({
factoriopedia_durability_description_key = "description.factoriopedia-science-pack-remaining-amount-key",
durability_description_value = "description.science-pack-remaining-amount-value",
random_tint_color = item_tints.iron_rust,
default_import_location = "lignumis"
default_import_location = "lignumis",
spoil_result = spoil and "spoilage" or nil,
spoil_ticks = spoil and 3600 * 60 or nil
},
{
type = "recipe",
@ -36,7 +40,8 @@ data:extend({
primary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
secondary = { r = 0.65, g = 0.27, b = 0.18, a = 1.000 },
},
allow_productivity = true
allow_productivity = true,
surface_conditions = settings.startup["lignumis-restrict-sciences"].value and { { property = "pollutant-type", min = 3, max = 3 } } or nil
},
{
type = "technology",

View file

@ -17,6 +17,8 @@ data:extend({
{
type = "recipe",
name = "wooden-gear-wheel",
category = "crafting",
additional_categories = { "wood-processing" },
ingredients = { { type = "item", name = "lumber", amount = 1 } },
results = { { type = "item", name = "wooden-gear-wheel", amount = 2 } },
allow_productivity = true

View file

@ -51,7 +51,7 @@ silo.fluid_boxes_off_when_no_fluid_recipe = true
silo.launch_to_space_platforms = false
silo.rocket_parts_required = 50
silo.rocket_parts_storage_cap = 50
silo.to_be_inserted_to_rocket_inventory_size = 1
silo.to_be_inserted_to_rocket_inventory_size = 0
silo.clamps_on_trigger = {
type = "script",
effect_id = "provisional-rocket-ready"
@ -67,10 +67,10 @@ local silo_recipe = table.deepcopy(data.raw["recipe"]["rocket-silo"])
silo_recipe.name = "provisional-rocket-silo"
silo_recipe.results[1].name = "provisional-rocket-silo"
silo_recipe.ingredients = {
{ type = "item", name = "lumber", amount = 500 },
{ type = "item", name = "wooden-gear-wheel", amount = 250 },
{ type = "item", name = "stone-brick", amount = 500 },
{ type = "item", name = "gold-plate", amount = 500 },
{ type = "item", name = "lumber", amount = 400 },
{ type = "item", name = "wooden-gear-wheel", amount = 150 },
{ type = "item", name = "stone-brick", amount = 400 },
{ type = "item", name = "gold-plate", amount = 400 },
basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 100 } or
{ type = "item", name = "gold-cable", amount = 100 }
}
@ -79,9 +79,9 @@ local rocket = table.deepcopy(data.raw["rocket-silo-rocket"]["rocket-silo-rocket
rocket.name = "provisional-rocket"
rocket.inventory_size = 40
rocket.rising_speed = 1 / (14 * 60)
rocket.engine_starting_speed = 1 / (11 * 60)
rocket.flying_speed = 1 / (4000 * 60)
rocket.flying_acceleration = 0.005
rocket.engine_starting_speed = 1 / (8 * 60)
rocket.flying_speed = 1 / (3000 * 60)
rocket.flying_acceleration = 0.007
rocket.rocket_sprite.layers[1].filename = Lignumis.graphics .. "entity/wooden-rocket-silo/rocket-static-pod.png"
local rocket_part_recipe = {
@ -101,7 +101,8 @@ local rocket_part_recipe = {
{ type = "fluid", name = "wood-pulp", amount = 5 }
},
results = { { type = "item", name = "rocket-part", amount = 1 } },
allow_productivity = true
allow_productivity = true,
auto_recycle = false,
}
local silo_ready = {
@ -110,18 +111,29 @@ local silo_ready = {
icon = silo.icon,
minable = { mining_time = 1, result = nil },
deconstruction_alternative = "provisional-rocket-silo",
inventory_size = 40,
inventory_size = settings.startup["lignumis-double-rocket"].value and 80 or 40,
inventory_type = "normal",
quality_affects_inventory_size = false,
placeable_by = { item = "provisional-rocket-silo", count = 1 },
health = 1000,
max_health = 1000,
resistances = {
{
type = "fire",
percent = 100
},
{
type = "explosion",
percent = 100
}
},
create_ghost_on_death = false,
surface_conditions = {
{
property = "pressure",
min = 1
}
},
flags = { "not-on-map", "not-blueprintable", "not-deconstructable", "not-flammable", "not-repairable", "not-upgradable", "no-automated-item-insertion", "no-automated-item-removal", "not-in-kill-statistics" },
flags = { "not-on-map", "not-blueprintable", "not-flammable", "not-repairable", "not-upgradable", "no-automated-item-insertion", "no-automated-item-removal", "not-in-kill-statistics" },
allow_copy_paste = false,
additional_pastable_entities = { "provisional-rocket-silo" },
collision_mask = { layers = {} },
@ -144,3 +156,7 @@ data:extend({
silo_ready,
silo_ready_item
})
PlanetsLib.restrict_to_planet(silo, "lignumis")
PlanetsLib.restrict_to_planet(silo_recipe, "lignumis")
PlanetsLib.restrict_to_planet(rocket_part_recipe, "lignumis")

View file

@ -1,6 +1,4 @@
local recipe = data.raw.recipe["wooden-wall"]
recipe.ingredients = { { type = "item", name = "lumber", amount = 4 } }
recipe.results = { { type = "item", name = "wooden-wall", amount = 1 } }
-- https://mods.factorio.com/mod/Wood-Walls/discussion/679915cbb8bf3c84c65db404
data.raw.corpse["woodenwall-remnants"].icon = "__Wood-Walls__/graphics/wooden-wall/wooden-wall.png"
recipe.additional_categories = { "wood-processing" }

View file

@ -1,2 +1,12 @@
data.raw.technology["tree-seeding"].hidden = false
data.raw.technology["tree-seeding"].enabled = true
if not mods["astroponics"] then return end
local Technology = require("__cf-lib__/data/Technology")
-- This just undoes what astroponics changes to tree seeding
Technology:new("tree-seeding"):addRecipe("wood-processing")
Technology:new("astroponics"):removeRecipe("wood-processing")
for i, effect in pairs(data.raw.technology["tree-seeding"].effects) do
if effect.type == "change-recipe-productivity" and effect.recipe == "wood-processing" then
table.remove(data.raw.technology["tree-seeding"].effects, i)
end
end

View file

@ -0,0 +1,51 @@
if not mods["astroponics"] then return end
local infinite = settings.startup["lignumis-infinite-astroponics-productivity-research"].value
local base_levels = {
type = "technology",
name = "astroponics-productivity",
icons = {
{ icon = "__base__/graphics/icons/wood.png", icon_size = 64 },
{ icon = "__astroponics__/graphics/icons/fluid/liquid-fertilizer.png", shift = { -32, -32 }, scale = 1.2 },
{
icon = "__core__/graphics/icons/technology/constants/constant-recipe-productivity.png",
icon_size = 128,
scale = 0.5,
shift = { 50, 50 },
floating = true
}
},
essential = false,
level = 1,
max_level = 5,
show_levels_info = true,
effects = {
{
type = "change-recipe-productivity",
recipe = "tree-astroponics",
change = 0.1
}
},
prerequisites = { "astroponics", "production-science-pack" },
unit = {
count_formula = "L*250",
ingredients = {
{ "wood-science-pack", 1 },
{ "production-science-pack", 1 },
{ "space-science-pack", 1 },
},
time = 60
}
}
data:extend({ base_levels })
if infinite then
local infinite_levels = table.deepcopy(base_levels)
infinite_levels.name = "astroponics-productivity-6"
infinite_levels.max_level = "infinite"
infinite_levels.unit.count_formula = "2^(L-6)*1500"
table.insert(infinite_levels.unit.ingredients, { "agricultural-science-pack", 1 })
infinite_levels.prerequisites = { "astroponics-productivity", "agricultural-science-pack" }
data:extend({ infinite_levels })
end

View file

@ -1,2 +1,3 @@
require("vanilla")
require("Wood-Walls")
require("astroponics")

View file

@ -1,5 +1,6 @@
local Technology = require("__cf-lib__/data/Technology")
local Recipe = require("__cf-lib__/data/Recipe")
local Item = require("__cf-lib__/data/Item")
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
@ -20,6 +21,8 @@ local drill_item = data.raw["item"]["burner-mining-drill"]
drill_item.icon = Lignumis.graphics .. "icons/burner-mining-drill.png"
local drill_recipe = data.raw["recipe"]["burner-mining-drill"]
drill_recipe.category = "crafting"
drill_recipe.additional_categories = { "wood-processing" }
drill_recipe.ingredients = {
{ type = "item", name = "stone-furnace", amount = 1 },
{ type = "item", name = "wooden-gear-wheel", amount = basic_circuit_board and 2 or 3 },
@ -40,10 +43,14 @@ burner_inserter.energy_source.initial_fuel_percent = 0.15
data.raw.item["burner-inserter"].icon = Lignumis.graphics .. "icons/burner-inserter.png"
data.raw.recipe["burner-inserter"].ingredients = {
local burner_inserter_recipe = data.raw.recipe["burner-inserter"]
burner_inserter_recipe.ingredients = {
{ type = "item", name = "wooden-gear-wheel", amount = 1 },
{ type = "item", name = "lumber", amount = 1 }
}
if settings.startup["lignumis-lumber-mill-more-recipes"].value then
burner_inserter_recipe.additional_categories = { "wood-processing" }
end
-- Stone furnace
@ -59,18 +66,19 @@ stone_furnace_remnants.animation[1].filename = Lignumis.graphics .. "entity/ston
-- Lab
if settings.startup["lignumis-belt-progression"].value then
local lab_recipe = data.raw.recipe["lab"]
for _, ingredient in pairs(lab_recipe.ingredients) do
if ingredient.name == "transport-belt" then
ingredient.name = "wood-transport-belt"
end
if settings.startup["lignumis-vanilla-lab"].value then
Recipe:new("transport-belt"):unlockedByTechnology("iron-processing")
else
Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt")
if not mods["wood-logistics"] or not settings.startup["wood-logistics-belts"].value then
Recipe:new("transport-belt"):unlockedByTechnology("logistics")
end
end
-- Gun turret
data.raw["ammo-turret"]["gun-turret"].attack_parameters.range = 20
Item:new("gun-turret"):itemsPerRocket(50)
-- Agricultural tower
@ -84,6 +92,9 @@ if agricultural_tower.surface_conditions then
end
end
-- Solar panal
Item:new("solar-panel"):itemsPerRocket(50)
-- Wood processing
@ -96,14 +107,16 @@ for _, tree in pairs(data.raw.tree) do
return result.name == "wood"
end
local minable = tree.minable
if not minable then goto continue end
local woodResults = minable.results and table.filter(minable.results, isWoodResult)
local isRegularTree = (minable.result == "wood" and minable.count == 4) or (minable.results and #minable.results == 1 and #woodResults == 1 and woodResults[1].amount == 4)
if not isRegularTree then goto continue end
tree.minable.result = nil
tree.minable.count = nil
local woodResult = { type = "item", name = "wood", amount = nil, amount_min = 2, amount_max = 10 }
local woodResult = { type = "item", name = "wood", amount = nil, amount_min = 2, amount_max = 8 }
if minable.results and #woodResults > 0 then
table.assign(woodResults[1], woodResult)
woodResults[1].amount = nil
else
minable.results = { woodResult }
end
@ -117,26 +130,17 @@ tree_plant.minable.count = nil
tree_plant.surface_conditions[1].min = 900
table.insert(tree_plant.autoplace.tile_restriction, "natural-gold-soil")
if mods["Diversitree"] then
data.raw.plant["s6xdvt-fake-tree"].surface_conditions[1].min = 900
end
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "wood-processing-or-assembling")
table.insert(data.raw["assembling-machine"]["assembling-machine-1"].crafting_categories, "organic-or-assembling")
table.insert(data.raw["assembling-machine"]["assembling-machine-2"].crafting_categories, "wood-processing-or-assembling")
table.insert(data.raw["assembling-machine"]["assembling-machine-3"].crafting_categories, "wood-processing-or-assembling")
-- Disable vanilla early game recipes
if not mods["planet-picker"] and not mods["any-planet-start"] then
data.raw.recipe["iron-plate"].enabled = false
data.raw.recipe["iron-gear-wheel"].enabled = false
data.raw.recipe["iron-chest"].enabled = false
data.raw.recipe["copper-plate"].enabled = false
data.raw.recipe["copper-cable"].enabled = false
data.raw.recipe["transport-belt"].enabled = false
end
data.raw.recipe["iron-plate"].enabled = false
data.raw.recipe["iron-gear-wheel"].enabled = false
data.raw.recipe["iron-chest"].enabled = false
data.raw.recipe["copper-plate"].enabled = false
data.raw.recipe["copper-cable"].enabled = false
data.raw.recipe["transport-belt"].enabled = false
-- Progressive recipes
@ -145,157 +149,157 @@ if settings.startup["lignumis-belt-progression"].value then
Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2)
Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2)
Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1)
Item:new("transport-belt"):itemsPerRocket(100)
Item:new("underground-belt"):itemsPerRocket(50)
Item:new("splitter"):itemsPerRocket(50)
end
if settings.startup["lignumis-inserter-progression"].value then
table.insert(
data.raw.recipe["inserter"].ingredients,
{ type = "item", name = "burner-inserter", amount = 1 }
)
Recipe:new("inserter"):addIngredient("burner-inserter", 1)
end
if settings.startup["lignumis-assembler-progression"].value then
Recipe:new("assembling-machine-1"):addIngredient("burner-assembling-machine", 1)
end
-- Adjust vanilla technologies
if not mods["planet-picker"] and not mods["any-planet-start"] then
local automation_science_pack_technology = data.raw.technology["automation-science-pack"]
automation_science_pack_technology.enabled = false
automation_science_pack_technology.visible_when_disabled = true
automation_science_pack_technology.research_trigger = nil
automation_science_pack_technology.unit = {
local automation_science_pack_technology = data.raw.technology["automation-science-pack"]
automation_science_pack_technology.enabled = false
automation_science_pack_technology.visible_when_disabled = true
automation_science_pack_technology.research_trigger = nil
automation_science_pack_technology.unit = {
count = 1,
ingredients = {},
time = 1
}
}
if not mods["aai-industry"] then
if not mods["aai-industry"] then
local electronics_technology = data.raw.technology["electronics"]
electronics_technology.prerequisites = { "copper-processing" }
local steam_power_technology = data.raw.technology["steam-power"]
steam_power_technology.prerequisites = { "iron-processing" }
end
end
local automation_technology = data.raw.technology["automation"]
automation_technology.ignore_tech_cost_multiplier = false
local automation_technology = data.raw.technology["automation"]
automation_technology.ignore_tech_cost_multiplier = false
local logistics_technology = data.raw.technology["logistics"]
table.insert(logistics_technology.effects, {
type = "unlock-recipe",
recipe = "transport-belt"
})
local landfill_technology = data.raw.technology["landfill"]
landfill_technology.prerequisites = { "burner-automation" }
landfill_technology.unit = {
local landfill_technology = data.raw.technology["landfill"]
landfill_technology.prerequisites = { "burner-automation" }
landfill_technology.unit = {
count = 50,
ingredients = { { "wood-science-pack", 1 } },
time = 15
}
}
local robots_speed_technology_1 = data.raw.technology["worker-robots-speed-1"]
robots_speed_technology_1.prerequisites = { "provisional-rocketry", "basic-construction-robotics-gold" }
robots_speed_technology_1.unit = {
local robots_speed_technology_1 = data.raw.technology["worker-robots-speed-1"]
robots_speed_technology_1.prerequisites = { "provisional-rocketry", "basic-construction-robotics-gold" }
robots_speed_technology_1.unit = {
count = 100,
ingredients = { { "wood-science-pack", 1 }, { "steam-science-pack", 1 } },
time = 15
}
}
local robots_speed_technology_2 = data.raw.technology["worker-robots-speed-2"]
robots_speed_technology_2.prerequisites = {
local robots_speed_technology_2 = data.raw.technology["worker-robots-speed-2"]
robots_speed_technology_2.prerequisites = {
"worker-robots-speed-1",
"logistic-science-pack"
}
robots_speed_technology_2.unit = {
}
robots_speed_technology_2.unit = {
count = 100,
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } },
time = 30
}
}
local robots_speed_technology_3 = data.raw.technology["worker-robots-speed-3"]
robots_speed_technology_3.prerequisites = { "robotics", "chemical-science-pack" }
robots_speed_technology_3.unit = {
local robots_speed_technology_3 = data.raw.technology["worker-robots-speed-3"]
robots_speed_technology_3.prerequisites = { "robotics", "chemical-science-pack" }
robots_speed_technology_3.unit = {
count = 150,
ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 }, { "chemical-science-pack", 1 } },
time = 30
}
}
robots_speed_technology_3.upgrade = false
local robots_speed_technology_4 = data.raw.technology["worker-robots-speed-4"]
robots_speed_technology_4.prerequisites = { "worker-robots-speed-3", "utility-science-pack" }
robots_speed_technology_4.unit.ingredients = {
local robots_speed_technology_4 = data.raw.technology["worker-robots-speed-4"]
robots_speed_technology_4.prerequisites = { "worker-robots-speed-3", "utility-science-pack" }
robots_speed_technology_4.unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "utility-science-pack", 1 }
}
}
local physical_damage_technology_1 = data.raw.technology["physical-projectile-damage-1"]
physical_damage_technology_1.prerequisites = { "basic-gun-turret" }
physical_damage_technology_1.unit.ingredients = { { "wood-science-pack", 1 } }
table.insert(physical_damage_technology_1.effects, {
local physical_damage_technology_1 = data.raw.technology["physical-projectile-damage-1"]
physical_damage_technology_1.prerequisites = { "basic-gun-turret" }
physical_damage_technology_1.unit.ingredients = { { "wood-science-pack", 1 } }
table.insert(physical_damage_technology_1.effects, {
type = "turret-attack",
turret_id = "basic-gun-turret",
modifier = 0.2
})
})
local weapon_speed_technology_1 = data.raw.technology["weapon-shooting-speed-1"]
weapon_speed_technology_1.prerequisites = table.deepcopy(physical_damage_technology_1.prerequisites)
weapon_speed_technology_1.unit.ingredients = table.deepcopy(physical_damage_technology_1.unit.ingredients)
local weapon_speed_technology_1 = data.raw.technology["weapon-shooting-speed-1"]
weapon_speed_technology_1.prerequisites = table.deepcopy(physical_damage_technology_1.prerequisites)
weapon_speed_technology_1.unit.ingredients = table.deepcopy(physical_damage_technology_1.unit.ingredients)
local physical_damage_technology_2 = data.raw.technology["physical-projectile-damage-2"]
physical_damage_technology_2.prerequisites = { "physical-projectile-damage-1", "steam-science-pack" }
physical_damage_technology_2.unit.ingredients = { { "wood-science-pack", 1 }, { "steam-science-pack", 1 } }
table.insert(physical_damage_technology_2.effects, {
local physical_damage_technology_2 = data.raw.technology["physical-projectile-damage-2"]
physical_damage_technology_2.prerequisites = { "physical-projectile-damage-1", "steam-science-pack" }
physical_damage_technology_2.unit.ingredients = { { "wood-science-pack", 1 }, { "steam-science-pack", 1 } }
table.insert(physical_damage_technology_2.effects, {
type = "turret-attack",
turret_id = "basic-gun-turret",
modifier = 0.2
})
})
local weapon_speed_technology_2 = data.raw.technology["weapon-shooting-speed-2"]
weapon_speed_technology_2.prerequisites = { "weapon-shooting-speed-1", "steam-science-pack" }
weapon_speed_technology_2.unit.ingredients = table.deepcopy(physical_damage_technology_2.unit.ingredients)
local weapon_speed_technology_2 = data.raw.technology["weapon-shooting-speed-2"]
weapon_speed_technology_2.prerequisites = { "weapon-shooting-speed-1", "steam-science-pack" }
weapon_speed_technology_2.unit.ingredients = table.deepcopy(physical_damage_technology_2.unit.ingredients)
local physical_damage_technology_3 = data.raw.technology["physical-projectile-damage-3"]
physical_damage_technology_3.prerequisites = { "military-2", "logistic-science-pack" }
physical_damage_technology_3.unit.ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } }
physical_damage_technology_3.upgrade = false
table.insert(physical_damage_technology_3.effects, {
local physical_damage_technology_3 = data.raw.technology["physical-projectile-damage-3"]
physical_damage_technology_3.prerequisites = { "military-2", "logistic-science-pack" }
physical_damage_technology_3.unit.ingredients = { { "automation-science-pack", 1 }, { "logistic-science-pack", 1 } }
physical_damage_technology_3.upgrade = false
table.insert(physical_damage_technology_3.effects, {
type = "turret-attack",
turret_id = "basic-gun-turret",
modifier = 0.3
})
})
local weapon_speed_technology_3 = data.raw.technology["weapon-shooting-speed-3"]
weapon_speed_technology_3.prerequisites = { "military-2", "logistic-science-pack" }
weapon_speed_technology_3.unit.ingredients = table.deepcopy(physical_damage_technology_3.unit.ingredients)
weapon_speed_technology_3.upgrade = false
local weapon_speed_technology_3 = data.raw.technology["weapon-shooting-speed-3"]
weapon_speed_technology_3.prerequisites = { "military-2", "logistic-science-pack" }
weapon_speed_technology_3.unit.ingredients = table.deepcopy(physical_damage_technology_3.unit.ingredients)
weapon_speed_technology_3.upgrade = false
local physical_damage_technology_4 = data.raw.technology["physical-projectile-damage-4"]
physical_damage_technology_4.prerequisites = { "physical-projectile-damage-3", "military-science-pack" }
table.insert(physical_damage_technology_4.effects, {
local physical_damage_technology_4 = data.raw.technology["physical-projectile-damage-4"]
physical_damage_technology_4.prerequisites = { "physical-projectile-damage-3", "military-science-pack" }
table.insert(physical_damage_technology_4.effects, {
type = "turret-attack",
turret_id = "basic-gun-turret",
modifier = 0.3
})
})
local weapon_speed_technology_4 = data.raw.technology["weapon-shooting-speed-4"]
weapon_speed_technology_4.prerequisites = { "weapon-shooting-speed-3", "military-science-pack" }
local weapon_speed_technology_4 = data.raw.technology["weapon-shooting-speed-4"]
weapon_speed_technology_4.prerequisites = { "weapon-shooting-speed-3", "military-science-pack" }
if settings.startup["lignumis-technology-progression"].value then
local production_science_pack_technology = Technology:new("production-science-pack")
production_science_pack_technology:replacePrerequisite("advanced-material-processing-2", "space-platform-thruster")
production_science_pack_technology:addIngredients({ "space-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
production_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
end
local utility_science_pack_technology = Technology:new("utility-science-pack")
utility_science_pack_technology:setPrerequisites({ "space-platform-thruster" })
utility_science_pack_technology:addIngredients({ "space-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
utility_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
end
else
Technology:new("deep-miner")
:addPrerequisite("production-science-pack")
:addIngredient("production-science-pack")
end
if not mods["planet-muluna"] then -- Muluna does the same
Technology:new("logistic-robotics"):addRecipe("requester-chest")
Technology:new("logistic-system"):removeRecipe("requester-chest")
@ -317,3 +321,17 @@ data.raw["equipment-grid"]["medium-equipment-grid"].height = 8
local nauvis = data.raw.planet["nauvis"]
nauvis.flags = nauvis.flags or {}
table.insert(nauvis.flags, "always-show")
-- Fulgora changes
if settings.startup["lignumis-fulgora-wood"].value then
local recycling = data.raw.recipe["scrap-recycling"]
table.insert(recycling.results, { type = "item", name = "wooden-gear-wheel", amount = 1, probability = 0.2 })
local recycling_result_count = table.count(recycling.results)
local recycler = data.raw.furnace["recycler"]
if recycler.result_inventory_size < recycling_result_count then
recycler.result_inventory_size = recycling_result_count
end
end

View file

@ -6,6 +6,12 @@ local InitExisting = {}
InitExisting.on_init = function()
if game.tick == 0 then return end
storage.target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if script.active_mods["any-planet-start"] then
storage.target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or storage.target_planet
end
storage.init = {}
for _, player in pairs(game.players) do
storage.init[player.index] = true
@ -15,11 +21,11 @@ InitExisting.on_init = function()
end
for _, force in pairs(game.forces) do
force.technologies["iron-processing"].researched = true
force.technologies["copper-processing"].researched = true
if force.is_space_location_unlocked("nauvis") then
force.technologies["planet-discovery-nauvis"].researched = true
end
force.technologies["iron-processing"].researched = true
force.technologies["copper-processing"].researched = true
end
game.print { "", { "lignumis.start-new-game" } }

View file

@ -33,7 +33,7 @@ end
local function init_space_locations()
local force = game.forces.player
force.technologies["planet-discovery-lignumis"].researched = true
if not force.technologies["planet-discovery-nauvis"].researched then
if game.planets["nauvis"] and force.technologies["planet-discovery-nauvis"] and not force.technologies["planet-discovery-nauvis"].researched then
force.lock_space_location("nauvis")
end
end
@ -62,7 +62,13 @@ end
InitNew.on_init = function()
if game.tick > 0 then return end
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
storage.target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if script.active_mods["any-planet-start"] then
storage.target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or storage.target_planet
remote.call("APS", "override_planet", "lignumis")
end
init_intro()
init_space_locations()

View file

@ -7,27 +7,15 @@ local Init = {
events = {}
}
-- Migrate storage init as it was just a boolean before not supporting multiple players
local function migrate_0_9_6(event)
if storage.init and type(storage.init) == "boolean" then
storage.init = {
[event.player_index] = true
}
end
end
-- Initialize the player
-- Teleport to Lignumis and give some starting items
local function init_player(event)
local player = game.get_player(event.player_index)
if not player.character then return end
local surface = storage.surface or game.planets["lignumis"].surface
if not player.character or not surface then return end
player.teleport(surface.find_non_colliding_position("character", { 0, 0 }, 0, 1), "lignumis")
player.character.destructible = false
local main_inventory = player.character.get_main_inventory()
-- Add some starting items to player inventory
@ -37,7 +25,6 @@ end
-- Initialize the freeplay scenario
local function init_freeplay(event)
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
if storage.crashed_ship_lignumis then return end
local player = game.get_player(event.player_index)
@ -74,14 +61,20 @@ end
Init.events[defines.events.on_player_created] = function(event)
migrate_0_9_6(event)
storage.init = storage.init or {}
if storage.init[event.player_index] then return end
storage.init[event.player_index] = true
if not script.active_mods["Burner-Leech-Fork"] and not script.active_mods["Burner-Leech"] and not script.active_mods["InserterFuelLeech"] then
game.print("Lignumis: You are starting a new game without a burner leech mod. The intended experience is to use one of the available options. You can disable such a mod after the burner phase of the game. See the mod page for more details.")
end
if not script.active_mods["any-planet-start"] then
init_player(event)
init_freeplay(event)
end
end
@ -91,7 +84,7 @@ Init.events[defines.events.on_player_changed_surface] = function(event)
if player.controller_type ~= defines.controllers.character then return end
if player and player.surface.name == "nauvis" then
if player and player.surface.name == storage.target_planet then
storage.nauvis_visited = true
end
@ -145,10 +138,15 @@ Init.events[defines.events.on_cutscene_cancelled] = function(event)
if player.gui.screen.skip_cutscene_label then
player.gui.screen.skip_cutscene_label.destroy()
end
if player.character then
player.character.destructible = true
end
player.zoom = 1.5
end
Init.on_configuration_changed = function()
storage.target_planet = settings.startup["lignumis-second-planet"].value or "nauvis"
if script.active_mods["any-planet-start"] then
storage.target_planet = settings.startup["aps-planet"].value ~= "none" and settings.startup["aps-planet"].value or storage.target_planet
end
end
return Init

View file

@ -6,7 +6,6 @@ local ToNauvis = {
events = {}
}
-- Chart the starting area for the player
local function chart_starting_area(surface, player)
local r = 200
@ -19,21 +18,35 @@ end
-- Initialize Nauvis
local function init_nauvis()
if storage.nauvis_visited then return end
local nauvis = game.planets["nauvis"].create_surface()
local nauvis = game.planets[storage.target_planet].create_surface()
nauvis.request_to_generate_chunks({ 0, 0 }, 3)
nauvis.force_generate_chunk_requests()
nauvis.daytime = 0.7
end
-- Removes enemies around the crash site to not mess with the player start
local function clear_enemies()
local nauvis = game.planets[storage.target_planet].surface
local enemies = nauvis.find_entities_filtered({
position = { 0, 0 },
radius = 200,
force = "enemy"
})
for _, enemy in pairs(enemies) do
enemy.destroy()
end
end
-- Teleport player to Nauvis and show welcome message
local function teleport_player(player)
local nauvis = game.planets["nauvis"].surface
local nauvis = game.planets[storage.target_planet].surface
if player.surface.name == "lignumis" then
local position = nauvis.find_non_colliding_position("character", { 0, 0 }, 100, 1) or { 0, 0 }
player.teleport(position, "nauvis")
local position = nauvis.find_non_colliding_position("character", { 2, 2 }, 100, 1) or { 0, 0 }
player.teleport(position, storage.target_planet)
chart_starting_area(nauvis, player)
player.print("Oh no, not again. But... Welcome to Nauvis!")
end
end
@ -44,7 +57,7 @@ local function init_freeplay()
if not remote.interfaces.freeplay then return end
storage.crashed_ship_nauvis = true
local nauvis = game.planets["nauvis"].surface
local nauvis = game.planets[storage.target_planet].surface
local ship_items = {
["burner-mining-drill"] = 2,
["stone-furnace"] = 2,
@ -59,35 +72,136 @@ local function init_freeplay()
end
ToNauvis.events[defines.events.on_rocket_launched] = function(event)
if event.rocket_silo.name ~= "provisional-rocket-silo" then return end
local function transit_player(player_index)
local player = game.get_player(player_index)
local transition = storage.transitions[player_index]
local rocket_entry
local rocket_entry_index
local player
for i, entry in pairs(storage.rocket_silos) do
if entry.real_silo == event.rocket_silo then
rocket_entry = entry
rocket_entry_index = i
player = entry.player and game.get_player(entry.player) or game.players[1]
break
end
if transition.rocket_entry.cargo_pod then
transition.rocket_entry.cargo_pod.set_passenger(nil)
transition.rocket_entry.cargo_pod.destroy()
end
init_nauvis()
clear_enemies()
teleport_player(player)
init_freeplay()
-- Give the player the content of the rocket
if rocket_entry.rocket_content then
if transition.rocket_entry.rocket_content then
local inventory = player.get_main_inventory()
for _, item in pairs(rocket_entry.rocket_content) do
if inventory then
for _, item in pairs(transition.rocket_entry.rocket_content) do
inventory.insert(item)
end
inventory.sort_and_merge()
end
table.remove(storage.rocket_silos, rocket_entry_index)
end
table.remove(storage.rocket_silos, transition.rocket_entry_index)
end
local function explode_silo(silo)
silo.die()
end
local get_random_position = function(box, x_scale, y_scale)
x_scale = x_scale or 1
y_scale = y_scale or 1
local x1 = box.left_top.x
local y1 = box.left_top.y
local x2 = box.right_bottom.x
local y2 = box.right_bottom.y
local x = ((x2 - x1) * x_scale * (math.random() - 0.5)) + ((x1 + x2) / 2)
local y = ((y2 - y1) * y_scale * (math.random() - 0.5)) + ((y1 + y2) / 2)
return { x, y }
end
local function burn_silo(silo)
local surface = silo.surface
local box = silo.bounding_box
for k = 1, 6 do
local position = get_random_position(box, 0.8, 0.5)
surface.create_entity
{
name = "crash-site-fire-flame",
position = position
}
local fire = surface.create_entity
{
name = "crash-site-fire-smoke",
position = position
}
fire.time_to_live = math.random(59 * 9, 59 * 14 - 1)
fire.time_to_next_effect = math.random(59 * 2)
end
end
local function pre_explode_silo(silo)
local surface = silo.surface
local box = silo.bounding_box
for k = 1, 3 do
local explosions = surface.create_entity
{
name = "crash-site-explosion-smoke",
position = get_random_position(box, 0.8, 0.5)
}
explosions.time_to_live = math.random(59 * 6, 59 * 11 - 1)
explosions.time_to_next_effect = math.random(59 * 3)
end
end
ToNauvis.events[defines.events.on_rocket_launch_ordered] = function(event)
if not event.rocket_silo or event.rocket_silo.name ~= "provisional-rocket-silo" then return end
local player
for i, entry in pairs(storage.rocket_silos) do
if entry.real_silo == event.rocket_silo then
if not storage.transitions then
storage.transitions = {}
end
player = entry.player and game.get_player(entry.player) or game.players[1]
storage.transitions[player.index] = {
rocket_entry = entry,
rocket_entry_index = i
}
break
end
end
local burn_tick = game.tick + (14 * 59)
local pre_explode_tick = game.tick + (17 * 59)
local transit_tick = game.tick + (23 * 59)
local explode_tick = game.tick + (28 * 59)
script.on_nth_tick(burn_tick, function()
burn_silo(event.rocket_silo)
script.on_nth_tick(burn_tick, nil)
end)
script.on_nth_tick(pre_explode_tick, function()
pre_explode_silo(event.rocket_silo)
script.on_nth_tick(pre_explode_tick, nil)
end)
script.on_nth_tick(transit_tick, function()
transit_player(player.index)
script.on_nth_tick(transit_tick, nil)
end)
script.on_nth_tick(explode_tick, function()
explode_silo(event.rocket_silo)
script.on_nth_tick(explode_tick, nil)
end)
end
ToNauvis.events[defines.events.on_post_entity_died] = function(event)
if not event.ghost or event.prototype.name ~= "provisional-rocket-silo" then return end
event.ghost.destroy()
end
return ToNauvis

View file

@ -12,16 +12,17 @@ local function build_gui(player, rocket_silo)
position = defines.relative_gui_position.right
}
local launch_button = { type = "button", name = "provisional-rocket-silo-launch-button", caption = { "lignumis.provisional-rocket-silo-button" } }
local target_planet_name = { "space-location-name." .. storage.target_planet }
local launch_button = { type = "button", name = "provisional-rocket-silo-launch-button", caption = { "lignumis.provisional-rocket-silo-button", target_planet_name } }
local inventory = player.get_main_inventory()
local is_inventory_empty = inventory.is_empty()
local is_nauvis_researched = player.force.technologies["planet-discovery-nauvis"].researched
local is_nauvis_researched = player.force.technologies["planet-discovery-" .. storage.target_planet].researched
launch_button.enabled = is_inventory_empty and is_nauvis_researched
if not is_inventory_empty then
launch_button.tooltip = { "lignumis.provisional-rocket-silo-button-tooltip-inventory" }
elseif not is_nauvis_researched then
launch_button.tooltip = { "lignumis.provisional-rocket-silo-button-tooltip-nauvis" }
launch_button.tooltip = { "lignumis.provisional-rocket-silo-button-tooltip-target" }
end
@ -35,7 +36,7 @@ local function build_gui(player, rocket_silo)
direction = "vertical",
anchor = anchor,
children = {
{ type = "label", style = "frame_title", caption = { "lignumis.provisional-rocket-silo-button" }, ignored_by_interaction = true },
{ type = "label", style = "frame_title", caption = { "lignumis.provisional-rocket-silo-button", target_planet_name }, ignored_by_interaction = true },
{
type = "frame",
direction = "vertical",
@ -46,7 +47,7 @@ local function build_gui(player, rocket_silo)
direction = "vertical",
style = "inset_frame_container_vertical_flow",
children = {
{ type = "label", caption = { "lignumis.provisional-rocket-silo-description" } },
{ type = "label", caption = { "lignumis.provisional-rocket-silo-description", target_planet_name } },
launch_button
}
}
@ -64,12 +65,13 @@ local function on_gui_opened(event)
if not entity or not entity.valid then return end
if entity.name ~= "provisional-rocket-silo-ready" then return end
local player = game.get_player(event.player_index)
if player.controller_type ~= defines.controllers.character then return end
if player.gui.relative["provisional-rocket-silo-relative-frame"] then
player.gui.relative["provisional-rocket-silo-relative-frame"].destroy()
end
if player.controller_type ~= defines.controllers.character then return end
build_gui(player, entity)
end
@ -90,8 +92,10 @@ local function launch(event)
if entry.fake_silo == fake_silo then
entry.player = event.player_index
entry.rocket_content = rocket_content
entry.cargo_pod = entry.real_silo.rocket.attached_cargo_pod
fake_silo.destroy()
entry.real_silo.launch_rocket()
entry.cargo_pod.set_passenger(player)
break
end
end
@ -104,7 +108,9 @@ local function on_silo_mined(event)
local player = game.get_player(event.player_index)
for i, entry in pairs(storage.rocket_silos) do
if entry.fake_silo == fake_silo then
if entry.real_silo.valid then
player.mine_entity(entry.real_silo, true)
end
table.remove(storage.rocket_silos, i)
break
end

View file

@ -1,63 +1,134 @@
local Settings = require("__cf-lib__/settings/Settings")
local force = Settings.force
data:extend({
{
type = "bool-setting",
name = "lignumis-belt-progression",
name = "lignumis-restrict-sciences",
setting_type = "startup",
default_value = true,
order = "a"
},
{
type = "bool-setting",
name = "lignumis-inserter-progression",
name = "lignumis-basic-circuit-board",
setting_type = "startup",
default_value = true,
order = "b"
},
{
type = "bool-setting",
name = "lignumis-ammo-progression",
name = "lignumis-belt-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "c"
},
{
type = "bool-setting",
name = "lignumis-technology-progression",
name = "lignumis-inserter-progression",
setting_type = "startup",
default_value = true,
default_value = false,
order = "d"
},
{
type = "bool-setting",
name = "lignumis-basic-circuit-board",
name = "lignumis-ammo-progression",
setting_type = "startup",
default_value = false,
order = "e"
},
{
type = "bool-setting",
name = "lignumis-circuit-progression",
name = "lignumis-technology-progression",
setting_type = "startup",
default_value = false,
order = "f"
},
{
type = "bool-setting",
name = "lignumis-circuit-progression",
setting_type = "startup",
default_value = true,
order = "g"
},
{
type = "bool-setting",
name = "lignumis-assembler-progression",
setting_type = "startup",
default_value = false,
order = "h"
},
{
type = "bool-setting",
name = "lignumis-fulgora-wood",
setting_type = "startup",
default_value = false,
order = "i"
},
{
type = "bool-setting",
name = "lignumis-vanilla-lab",
setting_type = "startup",
default_value = true,
order = "j"
},
{
type = "bool-setting",
name = "lignumis-lumber-mill-more-recipes",
setting_type = "startup",
default_value = false,
order = "k"
},
{
type = "bool-setting",
name = "lignumis-early-robots",
setting_type = "startup",
default_value = false,
order = "l"
},
{
type = "bool-setting",
name = "lignumis-double-rocket",
setting_type = "startup",
default_value = false,
order = "m"
},
{
type = "bool-setting",
name = "lignumis-infinite-astroponics-productivity-research",
setting_type = "startup",
default_value = false,
order = "n"
},
{
type = "bool-setting",
name = "lignumis-electric-lumber-mill",
setting_type = "startup",
default_value = false,
order = "o"
},
{
type = "bool-setting",
name = "lignumis-sciences-spoil",
setting_type = "startup",
default_value = false,
order = "p"
},
{
type = "string-setting",
name = "lignumis-second-planet",
setting_type = "startup",
allowed_values = { "nauvis" },
default_value = "nauvis",
hidden = true
}
})
if mods["aai-industry"] then
data.raw["bool-setting"]["lignumis-inserter-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-inserter-progression"].hidden = true
force("lignumis-inserter-progression", false)
force("lignumis-assembler-progression", false)
end
if mods["wood-military"] then
data.raw["bool-setting"]["lignumis-ammo-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-ammo-progression"].hidden = true
end
if mods["planet-picker"] or mods["any-planet-start"] then
data.raw["bool-setting"]["lignumis-belt-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-belt-progression"].hidden = true
data.raw["bool-setting"]["lignumis-inserter-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-inserter-progression"].hidden = true
data.raw["bool-setting"]["lignumis-ammo-progression"].forced_value = false
data.raw["bool-setting"]["lignumis-ammo-progression"].hidden = true
force("lignumis-ammo-progression", false)
end

View file

@ -1 +1,2 @@
require("wood-logistics")
require("wood-military")

View file

@ -0,0 +1,8 @@
if not mods["wood-logistics"] then
return
end
local Settings = require("__cf-lib__/settings/Settings")
local force = Settings.force
force("wood-logistics-woodtronics", false)

View file

@ -2,10 +2,12 @@ if not mods["wood-military"] then
return
end
data.raw["bool-setting"]["wood-military-rockets"].default_value = false
data.raw["bool-setting"]["wood-military-artillery"].default_value = false
data.raw["bool-setting"]["wood-military-damage-buff"].default_value = false
data.raw["bool-setting"]["wood-military-armor"].hidden = true
data.raw["bool-setting"]["wood-military-armor"].forced_value = true
data.raw["bool-setting"]["wood-military-nerf-start"].hidden = true
data.raw["bool-setting"]["wood-military-nerf-start"].forced_value = true
local Settings = require("__cf-lib__/settings/Settings")
local force = Settings.force
local default = Settings.default
default("wood-military-rockets", false)
default("wood-military-artillery", false)
default("wood-military-damage-buff", false)
force("wood-military-armor", true)
force("wood-military-nerf-start", true)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before After
Before After