2
0
forked from Retro/cap1-mod

19 Commits

6 changed files with 70 additions and 90 deletions

View File

@@ -1,13 +1,7 @@
![Factorio logo but made out of glass and GREEN](/thumbnail.png)
# capgame2-Easy-Mod
![Factorio logo but made out of glass and BLUE](/thumbnail.png)
# cap1-mod
A small factorio mod for Capitalism Game 2 to make things even easier.
A small Factorio mod for Capgame 1 to add some managment and QoL improvments
## Changes
Electric furnaces now only cost 1 steel plate and 10 stone brick\
Advanced Circuts now only cost one normal circut and one plastic.\
Fast splitters now only cost 1 normal splitter, 10 electronic circuts, and 5 iron gears.\
Fast underground belts now only take 20 gears instead of 40.\
Fast Transport belts only take 1 normal belt and 1 gear\
Solar Panels now only take 5 gears\
inserters only take *a singular* iron plate. Fast inserters take 2.\
Welcome messages and death quotes

59
control.lua Normal file
View File

@@ -0,0 +1,59 @@
--Refactored by Gemini (thx i suck at lua)
local welcome_messages = {
"welcome to capitalism 3, you're in for it",
"The factory must grow.",
"Efficiency is key.",
"I subject you to the ultimate torture: no more linked belts",
"i will make you experience caffine withdrawal",
"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 3 where we pride ourselves on.... `fun`.",
"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 3, and thankfully not cap 2.",
": 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",
"was not arcing it",
"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)

View File

@@ -1,73 +0,0 @@
-- Change Electric Furnace
data.raw["recipe"]["electric-furnace"].ingredients = {
{type = "item", name = "steel-plate", amount = 1},
{type = "item", name = "stone-brick", amount = 10}
}
-- Change Fast Inserter
-- Because we can somehow wrangle one plate into an inserter lol. anyway
data.raw["recipe"]["fast-inserter"].ingredients = {
{type = "item", name = "iron-plate", amount = 2}
}
data.raw["recipe"]["inserter"].ingredients = {
{type = "item", name = "iron-plate", amount = 1}
}
-- Change Advanced Circuit
data.raw["recipe"]["advanced-circuit"].ingredients = {
{type="item", name="electronic-circuit", amount=1},
{type="item", name="plastic-bar", amount=1}
}
-- Change Fast Splitter
data.raw["recipe"]["fast-splitter"].ingredients = {
{type="item", name="splitter", amount=1},
{type="item", name="electronic-circuit", amount=10},
{type="item", name="iron-gear-wheel", amount=5}
}
-- Change Fast Underground Belt
data.raw["recipe"]["fast-underground-belt"].ingredients = {
{type="item", name="underground-belt", amount=5},
{type="item", name="iron-gear-wheel", amount=20}
}
-- Change Fast Transport Belt
data.raw["recipe"]["fast-transport-belt"].ingredients = {
{type="item", name="transport-belt", amount=1},
{type="item", name="iron-gear-wheel", amount=1}
}
-- Change Solar Panel
data.raw["recipe"]["solar-panel"].ingredients = {
{type="item", name="iron-gear-wheel", amount=5}
}
--Change electric poles
--realistically this would short circut
--i'm not realistic
data.raw["recipe"]["small-electric-pole"].ingredients = {
{type="item", name="iron-stick", amount=1},
{type="item", name="copper-wire", amount=3}
}
--Make assembly machine 1's cheaper for balance
--THE FACTORY MUST GROW
data.raw["recipe"]["assembling-machine-2"].ingredients = {
{type="item", name="iron-gear-wheel", amount=3},
{type="item", name="iron-plate", amount=5},
{type="item", name="electronic-circuit", amount=1}
}
--Make assembly machine 2's cheaper
--THE FACTORY MUST GROW
data.raw["recipe"]["assembling-machine-1"].ingredients = {
{type="item", name="iron-gear-wheel", amount=5},
{type="item", name="iron-plate", amount=5},
{type="item", name="electronic-circuit", amount=3}
}
data.raw["recipe"]["military-science-pack"].ingredients = {
{type="item", name="grenade", amount=1},
{type="item", name="firearm-magazine", amount=2},
{type="item", name="stone-wall", amount=2}
}

View File

@@ -1,8 +1,8 @@
{
"name": "cap2-easymod",
"version": "0.7.7",
"title": "Capitalism Game 2 Recipes",
"name": "cap3-mod",
"version": "0.1.0",
"title": "Capitalism Game 3 Mod",
"author": "unfunny",
"factorio_version": "2.0",
"description": "Why? For science of course!"
"description": "LIVE THE DREAM WITH A TIME MACHINE, YOU'VE BEEN WAITING FOREVER! Adds some QoL improvments, but now in red instead of blue!"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 45 KiB

BIN
thumbnail_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 KiB