Compare commits
13 Commits
0.7.7
...
d3f90d9d62
| Author | SHA1 | Date | |
|---|---|---|---|
| d3f90d9d62 | |||
| 5e01504683 | |||
| a831ec65fe | |||
| 2cbc48b0ce | |||
| 0836a5566c | |||
| db66713705 | |||
| 0a274afc38 | |||
| 143cb6712b | |||
| 12f1304009 | |||
| 1232714c12 | |||
| 90157c3535 | |||
| ba42b69dfa | |||
| a75b97e785 |
58
control.lua
Normal file
58
control.lua
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
--Refactored by Gemini (thx i suck at lua)
|
||||||
|
local welcome_messages = {
|
||||||
|
"welcome to capitalism 2, you're in for it",
|
||||||
|
"The factory must grow.",
|
||||||
|
"Efficiency is key.",
|
||||||
|
"I subject you to the ultimate torture: no more linked belts",
|
||||||
|
"If you die on cap 2, I will laugh.",
|
||||||
|
"Cap 0 never existed and can't hurt you",
|
||||||
|
"The game is not broken, you are.",
|
||||||
|
"RATIO FAILED! (To ratio, get more likes than someone)",
|
||||||
|
"LIVE THE DREAM WITH A TIME MACHINE, YOU'VE BEEN WAITING FOREVER!",
|
||||||
|
"ALOONE AT THE EDGE OF THE UNIVERSE, HUMMING A TUNE... FOR MEERLY DREAMING WE WERE SNOW",
|
||||||
|
"here at capitalism game 2 where we pride ourselves on shenanigans",
|
||||||
|
"we got the entire continent to ourselves",
|
||||||
|
"we got the entire world to ourselves",
|
||||||
|
"DIE TERMINID SCUM",
|
||||||
|
"see exotic new lifeforms"
|
||||||
|
}
|
||||||
|
|
||||||
|
local death_messages = {
|
||||||
|
"forgot how to factory.",
|
||||||
|
"was deemed inefficient.",
|
||||||
|
"has been terminated.",
|
||||||
|
"didn't check for trains.",
|
||||||
|
"is sleeping with the biters.",
|
||||||
|
"encountered a fatal exception.",
|
||||||
|
"tried reconstructing v2",
|
||||||
|
"got returned to sender.",
|
||||||
|
"is now part of the ecosystem.",
|
||||||
|
"went insane.",
|
||||||
|
"desynced.. nah just kidding you got pwned",
|
||||||
|
"died on cap 2, which 9/10 doctors say is a skill issue.",
|
||||||
|
": The system files are corrupeted. Please refer to the Wii Operations Manual for help troubleshooting.",
|
||||||
|
"was terminid scum",
|
||||||
|
"was a socialist automaton",
|
||||||
|
"was a terrorist illuminate",
|
||||||
|
"did not hop on helldivers",
|
||||||
|
"betrayed the cause of Managed Democracy",
|
||||||
|
"betrayed the cause of capitalism",
|
||||||
|
"missed the MLG",
|
||||||
|
"HAD ZERO SWAG",
|
||||||
|
"thought they were him",
|
||||||
|
"blamed Microsoft",
|
||||||
|
"Faced a Hive Lord and lost"
|
||||||
|
}
|
||||||
|
|
||||||
|
--Add random welcome messages! If we're modifying the game we might as well do it in STYLE
|
||||||
|
script.on_event(defines.events.on_player_joined_game, function(event)
|
||||||
|
local player = game.players[event.player_index]
|
||||||
|
if player then
|
||||||
|
player.print(welcome_messages[math.random(#welcome_messages)])
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
--Courtesy of Gemini
|
||||||
|
script.on_event(defines.events.on_player_died, function(event)
|
||||||
|
local player = game.players[event.player_index]
|
||||||
|
game.print(player.name .. " " .. death_messages[math.random(#death_messages)])
|
||||||
|
end)
|
||||||
77
data.lua
77
data.lua
@@ -42,13 +42,16 @@ data.raw["recipe"]["fast-transport-belt"].ingredients = {
|
|||||||
data.raw["recipe"]["solar-panel"].ingredients = {
|
data.raw["recipe"]["solar-panel"].ingredients = {
|
||||||
{type="item", name="iron-gear-wheel", amount=5}
|
{type="item", name="iron-gear-wheel", amount=5}
|
||||||
}
|
}
|
||||||
|
data.raw["recipe"]["solar-panel-equipment"].ingredients = {
|
||||||
|
{type="item", name="iron-gear-wheel", amount=5}
|
||||||
|
}
|
||||||
|
|
||||||
--Change electric poles
|
--Change electric poles
|
||||||
--realistically this would short circut
|
--realistically this would short circut
|
||||||
--i'm not realistic
|
--i'm not realistic
|
||||||
data.raw["recipe"]["small-electric-pole"].ingredients = {
|
data.raw["recipe"]["small-electric-pole"].ingredients = {
|
||||||
{type="item", name="iron-stick", amount=1},
|
{type="item", name="iron-stick", amount=1},
|
||||||
{type="item", name="copper-wire", amount=3}
|
{type="item", name="copper-cable", amount=3}
|
||||||
}
|
}
|
||||||
|
|
||||||
--Make assembly machine 1's cheaper for balance
|
--Make assembly machine 1's cheaper for balance
|
||||||
@@ -65,9 +68,79 @@ data.raw["recipe"]["assembling-machine-1"].ingredients = {
|
|||||||
{type="item", name="iron-plate", amount=5},
|
{type="item", name="iron-plate", amount=5},
|
||||||
{type="item", name="electronic-circuit", amount=3}
|
{type="item", name="electronic-circuit", amount=3}
|
||||||
}
|
}
|
||||||
|
--better defence early game is always a plus on easy mode
|
||||||
data.raw["recipe"]["military-science-pack"].ingredients = {
|
data.raw["recipe"]["military-science-pack"].ingredients = {
|
||||||
{type="item", name="grenade", amount=1},
|
{type="item", name="grenade", amount=1},
|
||||||
{type="item", name="firearm-magazine", amount=2},
|
{type="item", name="firearm-magazine", amount=2},
|
||||||
{type="item", name="stone-wall", amount=2}
|
{type="item", name="stone-wall", amount=2}
|
||||||
}
|
}
|
||||||
|
--MUCH cheaper than vanilla, MUCH more expensive than this mod
|
||||||
|
data.raw["recipe"]["bulk-inserter"].ingredients = {
|
||||||
|
{type="item", name="electronic-circuit", amount=10},
|
||||||
|
{type="item", name="iron-gear-wheel", amount=5}
|
||||||
|
}
|
||||||
|
|
||||||
|
data.raw["recipe"]["speed-module"].ingredients = {
|
||||||
|
{type="item", name="electronic-circuit", amount=10},
|
||||||
|
}
|
||||||
|
data.raw["module"]["speed-module"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["speed-module-2"].ingredients = {
|
||||||
|
{type="item", name="electronic-circuit", amount=20},
|
||||||
|
}
|
||||||
|
data.raw["module"]["speed-module-2"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["speed-module-3"].ingredients = {
|
||||||
|
{type="item", name="electronic-circuit", amount=40},
|
||||||
|
}
|
||||||
|
data.raw["module"]["speed-module-3"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["effectivity-module"].ingredients = {
|
||||||
|
{type="item", name="advanced-circuit", amount=10},
|
||||||
|
}
|
||||||
|
data.raw["module"]["effectivity-module"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["effectivity-module-2"].ingredients = {
|
||||||
|
{type="item", name="advanced-circuit", amount=20},
|
||||||
|
}
|
||||||
|
data.raw["module"]["effectivity-module-2"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["effectivity-module-3"].ingredients = {
|
||||||
|
{type="item", name="advanced-circuit", amount=40},
|
||||||
|
}
|
||||||
|
data.raw["module"]["effectivity-module-3"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["productivity-module"].ingredients = {
|
||||||
|
{type="item", name="processing-unit", amount=10},
|
||||||
|
}
|
||||||
|
data.raw["module"]["productivity-module"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["productivity-module-2"].ingredients = {
|
||||||
|
{type="item", name="processing-unit", amount=20},
|
||||||
|
}
|
||||||
|
data.raw["module"]["productivity-module-2"].stack_size = 5
|
||||||
|
|
||||||
|
data.raw["recipe"]["productivity-module-3"].ingredients = {
|
||||||
|
{type="item", name="processing-unit", amount=40},
|
||||||
|
}
|
||||||
|
data.raw["module"]["productivity-module-3"].stack_size = 5
|
||||||
|
|
||||||
|
--balance landfills since Cap2 uses a watery map with lots of water tiles
|
||||||
|
data.raw["recipe"]["landfill"].ingredients = {
|
||||||
|
{type="item", name="stone", amount=25}
|
||||||
|
}
|
||||||
|
--make personal roboport cheaper
|
||||||
|
data.raw["recipe"]["personal-roboport-equipment"].ingredients = {
|
||||||
|
{type="item", name="advanced-circuit", amount=5},
|
||||||
|
{type="item", name="battery", amount=20},
|
||||||
|
{type="item", name="iron-gear-wheel", amount=20}
|
||||||
|
}
|
||||||
|
--mk.2
|
||||||
|
data.raw["recipe"]["personal-mk2-equipment"].ingredients = {
|
||||||
|
{type="item", name="advanced-circuit", amount=10},
|
||||||
|
{type="item", name="battery", amount=40},
|
||||||
|
{type="item", name="iron-gear-wheel", amount=40}
|
||||||
|
}
|
||||||
|
data.raw["recipe"]["battery-equipment"].ingredients = {
|
||||||
|
{type = "item", name = "iron-plate", amount = 10}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cap2-easymod",
|
"name": "cap2-easymod",
|
||||||
"version": "0.7.7",
|
"version": "0.8.1",
|
||||||
"title": "Capitalism Game 2 Recipes",
|
"title": "Capitalism Game 2 Recipes",
|
||||||
"author": "unfunny",
|
"author": "unfunny",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user