Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiplacon authored Sep 14, 2022
1 parent a208af3 commit 6ee0fd6
Show file tree
Hide file tree
Showing 13 changed files with 540 additions and 73 deletions.
15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.4
Date: 9/13/2022
Bugfixes:
- Fixed a crash with the 1.1.0 migration file if you were playing a scenario where you didn't have a character. Reported by GeneralTank, modo_lv, and Kocou
- Fixed a crash that would happen if you pressed Interact whith the Player Launcher disabled. Reported by Roy192
---------------------------------------------------------------------------------------------------
Version: 1.1.3
Date: 9/10/2022
Additions:
- Faster tiers of Zipline Trolley
Changes:
- Destroying a Zipline Terminal now removes its respective tag on the minimap
Bugfixes:
- Fixed crash when trying to rename a Zipline Terminal if it happened to be destroyed while you had its GUI window up
---------------------------------------------------------------------------------------------------
Version: 1.1.2
Date: 9/7/2022
Changes:
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RenaiTransportation",
"version": "1.1.2",
"version": "1.1.4",
"title": "Renai Transportation",
"author": "Kiplacon",
"factorio_version": "1.1",
Expand Down
12 changes: 12 additions & 0 deletions locale/en/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ RTFocusedFlinging=Focused Flinging
RTFlyingFreight=Flying Freight Trains
RTFreightPlates=Train Bounce Pads
RTZiplineTech=Electric Zipline
RTZiplineTech2=Quick Zipline Trolley
RTZiplineTech3=Fast Zipline Trolley
RTZiplineTech4=Express Zipline Trolley
RTZiplineTech5=Nuclear Rocket-Powered Cyber Flux MechaTurboTron Vroom Vroom "Gotta Go Fast" Zipline Trolley
RTZiplineControlTech1=Zipline Crank Controller
RTProgrammableZiplineControlTech=Self-driving Zipline
RTMagnetTrainRamps=Magnet Train Ramps
Expand Down Expand Up @@ -121,6 +125,10 @@ RTClick=Wube pls let me detect clicks without having to make a custom "hotkey" f

[item-name]
RTZiplineItem=Electric Zipline Trolley
RTZiplineItem2=Quick Zipline Trolley
RTZiplineItem3=Fast Zipline Trolley
RTZiplineItem4=Express Zipline Trolley
RTZiplineItem5=Nuclear Rocket-Powered Cyber Flux MechaTurboTron Vroom Vroom "Gotta Go Fast" Zipline Trolley
RTZiplineControlsItem=Electric Zipline Controller
RTZiplineCrankControlsItem=Electric Zipline Crank Controller
RTProgrammableZiplineControlsItem=Programmable Zipline Controller
Expand All @@ -130,6 +138,10 @@ RTMagnetTrainRampItem=Magnet Train Ramp

[item-description]
RTZiplineItem=This motorized zipline trolley runs off the electricity flowing through the cable it rides on. Equip this with a controller, select it, and press Interact (default F) on a power pole to start riding, and Interact again to jump off. Automatically dismounts at dead ends.\nConsumes 450kW of power.
RTZiplineItem2=Twice as fast as the normal Zipline Trolley! Uses 1MW of power. Graphic design is my passion :)
RTZiplineItem3=Twice as fast as the Quick Zipline Trolley! Uses 5MW of power.
RTZiplineItem4=Twice as fast as the Fast Zipline Trolley! Uses 10MW of power.
RTZiplineItem5=Way faster than the Express Zipline Trolley! Can you even steer this fast? Uses 50MW of power.
RTZiplineControlsItem=Equip a pair of these in the ammo slot of the Electric Zipline Trolley to control its movement.
RTZiplineCrankControlsItem=Hold the shoot key while ziplining for an extra boost of speed. Needs replacing after a while.
RTProgrammableZiplineControlsItem=These controllers can be programmed to drive you between any two Zipline Terminals automatically without you having to steer.
Expand Down
2 changes: 1 addition & 1 deletion migrations/RT-1.1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ for ThePlayer, TheirProperties in pairs(global.AllPlayers) do
local player = game.players[ThePlayer]
if (player.character and string.find(player.character.name, "RTGhost")) then
SwapBackFromGhost(player)
player.character_running_speed_modifier = 0
end
player.character_running_speed_modifier = 0
player.teleport(player.surface.find_non_colliding_position("character", {player.position.x, player.position.y+2}, 0, 0.01))
global.AllPlayers[ThePlayer] = {state="default", PlayerLauncher={}, zipline={}, RangeAdjusting=false, SettingRampRange={SettingRange=false}, GUI={}}
end
Expand Down
7 changes: 7 additions & 0 deletions migrations/RT-1.1.3.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
for each, surfacez in pairs(game.surfaces) do
for every, thing in pairs(surfacez.find_entities()) do
if (thing.name == "RTZiplineTerminal") then
script.register_on_entity_destroyed(thing)
end
end
end
227 changes: 176 additions & 51 deletions prototypes/technology.lua
Original file line number Diff line number Diff line change
Expand Up @@ -367,59 +367,59 @@ end

if (settings.startup["RTZiplineSetting"].value == true) then
data:extend({
{
type = "technology",
name = "RTZiplineTech",
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe"
},
{
type = "unlock-recipe",
recipe = "RTZiplineControlsRecipe"
}
},
prerequisites = {"se~no", "steel-processing"},
unit =
{
count = 100,
ingredients =
{
{"automation-science-pack", 1}
},
time = 30
}
},
{
type = "technology",
name = "RTZiplineTech",
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe"
},
{
type = "unlock-recipe",
recipe = "RTZiplineControlsRecipe"
}
},
prerequisites = {"se~no", "steel-processing"},
unit =
{
count = 100,
ingredients =
{
{"automation-science-pack", 1}
},
time = 30
}
},

{
type = "technology",
name = "RTZiplineControlTech1",
icon = "__RenaiTransportation__/graphics/zipline/crankcontrols.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineCrankControlsRecipe"
}
},
prerequisites = {"RTZiplineTech"},
unit =
{
count = 50,
ingredients =
{
{"automation-science-pack", 1}
},
time = 30
}
{
type = "technology",
name = "RTZiplineControlTech1",
icon = "__RenaiTransportation__/graphics/zipline/crankcontrols.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineCrankControlsRecipe"
}
},
prerequisites = {"RTZiplineTech"},
unit =
{
count = 50,
ingredients =
{
{"automation-science-pack", 1}
},
time = 30
}
},

{
{
type = "technology",
name = "RTProgrammableZiplineControlTech",
icon = "__RenaiTransportation__/graphics/zipline/terminaltech.png",
Expand All @@ -446,7 +446,132 @@ if (settings.startup["RTZiplineSetting"].value == true) then
},
time = 30
}
}
},

{
type = "technology",
name = "RTZiplineTech2",
icons = {
{
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
tint = {1,0.9,0},
}
},
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe2"
}
},
prerequisites = {"RTZiplineTech", "engine"},
unit =
{
count = 100,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1}
},
time = 15
}
},

{
type = "technology",
name = "RTZiplineTech3",
icons = {
{
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
tint = {255,35,35},
}
},
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe3"
}
},
prerequisites = {"RTZiplineTech2", "electric-engine"},
unit =
{
count = 100,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
},
time = 30
}
},

{
type = "technology",
name = "RTZiplineTech4",
icons = {
{
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
tint = {18,201,233},
}
},
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe4"
}
},
prerequisites = {"RTZiplineTech3", "rocket-fuel", "advanced-electronics-2"},
unit =
{
count = 150,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1}
},
time = 30
}
},

{
type = "technology",
name = "RTZiplineTech5",
icons = {
{
icon = "__RenaiTransportation__/graphics/zipline/icon.png",
icon_size = 64,
tint = {83,255,26},
}
},
effects =
{
{
type = "unlock-recipe",
recipe = "RTZiplineRecipe5"
}
},
prerequisites = {"RTZiplineTech4", "kovarex-enrichment-process", "fusion-reactor-equipment"},
unit =
{
count = 200,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1},
{"production-science-pack", 1},
{"utility-science-pack", 1},
},
time = 30
}
},
})
end

Expand Down
Loading

0 comments on commit 6ee0fd6

Please sign in to comment.