1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00
2020-01-10 17:39:44 +01:00

557 lines
12 KiB
Lua

local public = {}
public.player_ship_loot = {
{
name = "firearm-magazine",
count = 60,
},
{
name = "submachine-gun",
count = 1,
},
{
name = "light-armor",
count = 1,
},
{
name = "iron-plate",
count = 30,
},
{
name = "copper-plate",
count = 10,
},
{
name = "raw-fish",
count = 2,
},
{
name = "small-lamp",
count = 1
}
}
public.wreck_loot = {
["iron-plate"] = {
rare = 0.1,
count = { 20, 40 },
},
["copper-plate"] = {
rare = 0.1,
count = { 10, 30 },
},
["empty-barrel"] = {
rare = 0.4,
count = { 1, 1},
},
["copper-cable"] = {
rare = 0.5,
count = { 5, 20 },
},
["electronic-circuit"] = {
rare = 0.6,
count = { 5, 20 },
},
["firearm-magazine"] = {
rare = 0.4,
count = { 1, 2 },
},
["steel-plate"] = {
rare = 0.8,
count = { 1, 5 },
},
["explosives"] = {
rare = 0.85,
count = { 1, 5 },
},
["advanced-circuit"] = {
rare = 0.9,
count = { 1, 5 },
},
["processing-unit"] = {
rare = 0.95,
count = { 1, 2 },
},
["electric-engine-unit"] = {
rare = 0.95,
count = { 1, 1 },
},
["battery"] = {
rare = 0.95,
count = { 1, 2 },
},
["piercing-rounds-magazine"] = {
rare = 0.99,
count = { 1, 2 },
},
}
public.technologies = {
["military"] = true,
["artillery"] = false,
["artillery-shell-range-1"] = false,
["artillery-shell-speed-1"] = false,
["automation-3"] = false,
["battery-equipment"] = false,
["battery-mk2-equipment"] = false,
["belt-immunity-equipment"] = false,
["combat-robotics-2"] = false,
["combat-robotics-3"] = false,
["discharge-defense-equipment"] = false,
["energy-shield-equipment"] = false,
["energy-shield-mk2-equipment"] = false,
["exoskeleton-equipment"] = false,
["explosive-rocketry"] = false,
["fast-inserter"] = false,
["flamethrower"] = false,
["fusion-reactor-equipment"] = false,
["inserter-capacity-bonus-1"] = false,
["inserter-capacity-bonus-2"] = false,
["inserter-capacity-bonus-3"] = false,
["inserter-capacity-bonus-4"] = false,
["inserter-capacity-bonus-5"] = false,
["inserter-capacity-bonus-6"] = false,
["inserter-capacity-bonus-7"] = false,
["kovarex-enrichment-process"] = false,
["land-mine"] = false,
["logistics-2"] = false,
["logistics-3"] = false,
["military-3"] = false,
["military-4"] = false,
["mining-productivity-2"] = false,
["mining-productivity-3"] = false,
["mining-productivity-4"] = false,
["modular-armor"] = false,
["night-vision-equipment"] = false,
["nuclear-fuel-reprocessing"] = false,
["nuclear-power"] = false,
["personal-laser-defense-equipment"] = false,
["personal-roboport-equipment"] = false,
["personal-roboport-mk2-equipment"] = false,
["power-armor"] = false,
["power-armor-mk2"] = false,
["refined-flammables-1"] = false,
["refined-flammables-2"] = false,
["refined-flammables-3"] = false,
["refined-flammables-4"] = false,
["refined-flammables-5"] = false,
["refined-flammables-6"] = false,
["refined-flammables-7"] = false,
["rocketry"] = false,
["solar-panel-equipment"] = false,
["stack-inserter"] = false,
["stronger-explosives-2"] = false,
["stronger-explosives-3"] = false,
["stronger-explosives-4"] = false,
["stronger-explosives-5"] = false,
["stronger-explosives-6"] = false,
["stronger-explosives-7"] = false,
["tanks"] = false,
["uranium-ammo"] = false,
["uranium-processing"] = false,
["atomic-bomb"] = false,
}
public.merchant_offer = {
{
price = {
{
type = "item",
name = "iron-plate",
amount = 5
},
{
type = "item",
name = "copper-cable",
amount = 2
},
{
type = "item",
name = "electronic-circuit",
amount = 1
},
{
type = "item",
name = "small-lamp",
amount = 1
}
},
offer = {
type = "nothing",
effect_description = "Construct a flashlight",
},
},
{
price = {
{
type = "item",
name = "iron-plate",
amount = 10
},
{
type = "item",
name = "advanced-circuit",
amount = 2
},
{
type = "item",
name = "battery",
amount = 2
},
{
type = "item",
name = "small-lamp",
amount = 2
},
{
type = "item",
name = "copper-cable",
amount = 5
},
{
type = "item",
name = "steel-plate",
amount = 1
},
},
offer = {
type = "nothing",
effect_description = "Construct a GPS receiver"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 500
}
},
offer = {
type = "unlock-recipe",
recipe = "modular-armor"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 5000
}
},
offer = {
type = "give-item",
item = "power-armor"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 10000
}
},
offer = {
type = "give-item",
item = "power-armor-mk2"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 100
}
},
offer = {
type = "give-item",
item = "night-vision-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 70
}
},
offer = {
type = "give-item",
item = "battery-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 300
}
},
offer = {
type = "give-item",
item = "battery-mk2-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 300
}
},
offer = {
type = "give-item",
item = "exoskeleton-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 2500
}
},
offer = {
type = "give-item",
item = "fusion-reactor-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 1000
}
},
offer = {
type = "give-item",
item = "personal-laser-defense-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 200
}
},
offer = {
type = "give-item",
item = "personal-roboport-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 400
}
},
offer = {
type = "give-item",
item = "personal-roboport-mk2-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 90
}
},
offer = {
type = "give-item",
item = "solar-panel-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 100
}
},
offer = {
type = "give-item",
item = "energy-shield-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 400
}
},
offer = {
type = "give-item",
item = "energy-shield-mk2-equipment"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 20
}
},
offer = {
type = "give-item",
item = "flamethrower-ammo"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 1000
}
},
offer = {
type = "unlock-recipe",
recipe = "flamethrower"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 100
}
},
offer = {
type = "give-item",
item = "defender-capsule"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 200
}
},
offer = {
type = "give-item",
item = "distractor-capsule"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 250
}
},
offer = {
type = "give-item",
item = "destroyer-capsule"
}
},
{
price = {
{
type = "item",
name = "coin",
amount = 50
}
},
offer = {
type = "unlock-recipe",
recipe = "fast-inserter"
},
},
{
price = {
{
type = "item",
name = "coin",
amount = 70
}
},
offer = {
type = "unlock-recipe",
recipe = "filter-inserter"
},
},
{
price = {
{
type = "item",
name = "coin",
amount = 100
}
},
offer = {
type = "unlock-recipe",
recipe = "stack-inserter"
},
},
{
price = {
{
type = "item",
name = "coin",
amount = 170
}
},
offer = {
type = "unlock-recipe",
recipe = "stack-filter-inserter"
},
},
{
price = {
{
type = "item",
name = "coin",
amount = 65000
}
},
offer = {
type = "give-item",
item = "computer"
}
},
}
public.manual = [[
[font=heading-1]Planet Prison (1.0.2) - Manual[/font]
[font=default-bold]You did naughty things and was sent to this planet with a one way ticket. Once an industrial site, turned into non-hospitable planet due to pollution and war. Among other inmates, there are still bandits scavenging through the junk looking for rare items.
This is an ultimate survival scenario with very hostile environment.
- You die, you lose everything.
- You leave, you lose everything.
- Technology cost is 10x lower.
- The merchant is a gateway to PvP.
- Flee by a rocket is a win. (Put a car into a rocket and enter the rocket).
- The light is your best friend.
[/font]
[font=heading-1]Buddies[/font]
[font=default-bold]Grab a raw fish [img=item/raw-fish] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you request an inmate to become your buddy.[/font]
[font=default-bold]Grab a coal piece [img=item/coal] and drop it on someone with [virtual-signal=signal-Z] button (in default setting). This way you discard buddy status with an inname.[/font]
[font=heading-1]Other[/font]
[font=default-bold]This scenario was made by cogito123. If you find any bugs/balancing issues, report it to getcomfy.eu/discord. Thanks for playing this map.[/font]
]]
return public