Skip to content

Commit

Permalink
Added the achievements I came up with yesterday
Browse files Browse the repository at this point in the history
  • Loading branch information
Septiple committed Feb 4, 2024
1 parent d1eeec3 commit c85b682
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 6 deletions.
12 changes: 12 additions & 0 deletions locale/en/locale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,12 @@ dust-to-dust=Dust to dust
what-do-you-mean-i-didnt-win-the-game=What do you mean I didn't win the game?
training-regimen=Training regimen
animal-labor=Animal labor
is-it-a-bird=Is it a bird?
health-and-safety=Health and safety
cthulhu-fhtagn=Cthulhu-fhtagn
polished-turd=Polished T.U.R.D.
taste-the-rainbow=Taste the rainbow
now-i-am-become-death=Now I am become death

[achievement-description]
smoke-me-a-kipper-i-will-be-back-for-breakfast="Did you do it?"\n"Yes."\n"What did it cost?"\n"...Everything."
Expand All @@ -780,6 +786,12 @@ dust-to-dust=Produce 1 million ash.
what-do-you-mean-i-didnt-win-the-game=Launch a tholins capsule into space.
training-regimen=Produce 1TJ in one hour with auog generators.
animal-labor=Place down a caravan.
is-it-a-bird=Place down an aerial caravan.
health-and-safety=Place down a nuclear caravan.
cthulhu-fhtagn=Place down an ocula.
polished-turd=Choose your first T.U.R.D option.
taste-the-rainbow=Produce plutonium-238.
now-i-am-become-death=Produce spent reactor fuel.

[mod-setting-name]
rpm_entity=Requester paste multiplier for enitities
Expand Down
69 changes: 63 additions & 6 deletions prototypes/achievements.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ data.raw["finish-the-game-achievement"]["there-is-no-spoon"] = nil

data.raw["finish-the-game-achievement"]["smoke-me-a-kipper-i-will-be-back-for-breakfast"].icon="__pycoalprocessinggraphics__/graphics/achievement/smoke-me-a-kipper-i-will-be-back-for-breakfast.png"

-- ordering: 0, then a letter per mod, then a letter within the mod
-- PyCP: a, PyIN: b, PyFE: c, PyPH: d, PyRO: e, PyHT: f, PyAL: g, PyAE: h
data:extend(
{
{
type = "produce-achievement",
name = "empire-of-dirt",
order = "0a",
order = "0aa",
item_product = "soil",
amount = 1000000,
icon = "__base__/graphics/achievement/mass-production-1.png",
Expand All @@ -39,7 +41,7 @@ data:extend(
{
type = "produce-achievement",
name = "dust-to-dust",
order = "0b",
order = "0ab",
item_product = "ash",
amount = 1000000,
icon = "__base__/graphics/achievement/mass-production-1.png",
Expand All @@ -52,7 +54,7 @@ if mods.pypetroleumhandling then
{
type = "produce-achievement",
name = "what-do-you-mean-i-didnt-win-the-game",
order = "0c",
order = "0da",
item_product = "filled-proto-tholins-vessel",
amount = 1,
icon = "__pycoalprocessinggraphics__/graphics/achievement/what-do-you-mean-i-didnt-win-the-game.png",
Expand All @@ -66,7 +68,7 @@ if mods.pyalienlife then
{
type = "dont-use-entity-in-energy-production-achievement",
name = "training-regimen",
order = "0e",
order = "0ga",
last_hour_only = true,
excluded = "electric-energy-interface", -- this is NOT optional, so fill in something you can't build anyway
included = "generator-1",
Expand All @@ -77,10 +79,65 @@ if mods.pyalienlife then
{
type = "build-entity-achievement",
name = "animal-labor",
order = "0f",
order = "0gb",
to_build = "caravan",
icon = "__pycoalprocessinggraphics__/graphics/achievement/animal-labor.png",
icon_size = 128
},
{
type = "build-entity-achievement",
name = "is-it-a-bird",
order = "0gc",
to_build = "nukavan",
icon = "__pycoalprocessinggraphics__/graphics/achievement/animal-labor.png",
icon_size = 128
},
{
type = "build-entity-achievement",
name = "health-and-safety",
order = "0gd",
to_build = "nukavan",
icon = "__pycoalprocessinggraphics__/graphics/achievement/animal-labor.png",
icon_size = 128
},
{
type = "build-entity-achievement",
name = "cthulhu-fhtagn",
order = "0ge",
to_build = "ocula",
icon = "__pycoalprocessinggraphics__/graphics/achievement/animal-labor.png",
icon_size = 128
},
{
type = "achievement",
name = "polished-turd",
order = "0gf",
icon = "__pycoalprocessinggraphics__/graphics/achievement/animal-labor.png",
icon_size = 128
},
})
end
end
if mods.pyalternativeenergy then
data:extend({
{
type = "produce-achievement",
name = "taste-the-rainbow",
order = "0ha",
item_product = "pu-238",
amount = 1,
icon = "__pycoalprocessinggraphics__/graphics/achievement/what-do-you-mean-i-didnt-win-the-game.png",
icon_size = 128,
limited_to_one_game = true
},
{
type = "produce-achievement",
name = "now-i-am-become-death",
order = "0hb",
fluid_product = "reactor-waste-1",
amount = 1,
icon = "__pycoalprocessinggraphics__/graphics/achievement/what-do-you-mean-i-didnt-win-the-game.png",
icon_size = 128,
limited_to_one_game = true
},
})
end

0 comments on commit c85b682

Please sign in to comment.