5 Commits

Author SHA1 Message Date
12f1304009 increment version 2025-12-22 16:24:11 -05:00
1232714c12 Add death messages and welcome messages 2025-12-22 16:22:57 -05:00
90157c3535 Fixes a bug 2025-12-22 16:08:00 -05:00
ba42b69dfa Increment version 2025-12-22 16:05:12 -05:00
a75b97e785 Make bulk inserters cheaper, for flame 2025-12-22 16:04:24 -05:00
3 changed files with 62 additions and 2 deletions

55
control.lua Normal file
View File

@@ -0,0 +1,55 @@
--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"
}
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"
}
--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)

View File

@@ -65,9 +65,14 @@ 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}
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "cap2-easymod", "name": "cap2-easymod",
"version": "0.7.7", "version": "0.8.0",
"title": "Capitalism Game 2 Recipes", "title": "Capitalism Game 2 Recipes",
"author": "unfunny", "author": "unfunny",
"factorio_version": "2.0", "factorio_version": "2.0",