Update for 1.1

This commit is contained in:
David Skrundz 2021-01-16 16:02:04 -07:00
parent 8786ce9f00
commit 1acc7a749b
No known key found for this signature in database
GPG Key ID: 9A0FA0614CE9422E
13 changed files with 42 additions and 3 deletions

View File

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Date: 16.01.2021
Features:
- Update for 1.1
---------------------------------------------------------------------------------------------------
Version: 1.0.0
Date: 14.08.2020
Features:

View File

@ -1,11 +1,11 @@
{
"name": "Baseless",
"version": "1.0.0",
"version": "1.1.0",
"title": "Baseless",
"description": "Defines missing prototypes required to launch the game.",
"author": "David Skrundz",
"contact": "david@skrundz.ca",
"homepage": "https://github.com/DavidSkrundz/Baseless",
"factorio_version": "1.0",
"factorio_version": "1.1",
"dependencies": []
}

View File

@ -66,6 +66,7 @@ require("prototypes.constructors.Entity.EntityWithHealth.Inserter")
require("prototypes.constructors.Entity.EntityWithHealth.Lab")
require("prototypes.constructors.Entity.EntityWithHealth.Lamp")
require("prototypes.constructors.Entity.EntityWithHealth.LandMine")
require("prototypes.constructors.Entity.EntityWithHealth.LinkedContainer")
require("prototypes.constructors.Entity.EntityWithHealth.Market")
require("prototypes.constructors.Entity.EntityWithHealth.MiningDrill")
require("prototypes.constructors.Entity.EntityWithHealth.OffshorePump")
@ -109,6 +110,7 @@ require("prototypes.constructors.Entity.EntityWithHealth.Rail.CurvedRail")
require("prototypes.constructors.Entity.EntityWithHealth.Rail.StraightRail")
require("prototypes.constructors.Entity.EntityWithHealth.RailSignalBase.RailChainSignal")
require("prototypes.constructors.Entity.EntityWithHealth.RailSignalBase.RailSignal")
require("prototypes.constructors.Entity.EntityWithHealth.TransportBeltConnectable.LinkedBelt")
require("prototypes.constructors.Entity.EntityWithHealth.TransportBeltConnectable.Loader1x1")
require("prototypes.constructors.Entity.EntityWithHealth.TransportBeltConnectable.Loader1x2")
require("prototypes.constructors.Entity.EntityWithHealth.TransportBeltConnectable.Splitter")

View File

@ -2,6 +2,7 @@ Baseless.Make.LogisticContainer = function (type, name, prototype, conditions)
return Baseless.Make.Container(type or "logistic-container", name, Merge(
{
logistic_mode = "storage",
max_logistic_slots = 1,
},
prototype
), conditions)

View File

@ -0,0 +1,8 @@
Baseless.Make.LinkedContainer = function (type, name, prototype, conditions)
return Baseless.Make.EntityWithHealth(type or "linked-container", name, Merge(
{
inventory_size = 1,
},
prototype
), conditions)
end

View File

@ -3,9 +3,11 @@ Baseless.Make.SpiderLeg = function (name, prototype)
{
graphics_set = {},
initial_movement_speed = 0,
minimal_step_size = 0,
movement_acceleration = 0,
movement_based_position_selection_distance = 0,
part_length = 1,
target_position_randomisation_distance = 0,
},
prototype
))

View File

@ -31,6 +31,8 @@ Baseless.Make.TransportBeltConnectable = function (type, name, prototype, condit
speed = 0,
belt_animation_set = AnimationSet,
collision_box = Baseless.Data.BoundingBox,
tile_width = 1,
tile_height = 1,
},
prototype
), conditions)

View File

@ -0,0 +1,12 @@
Baseless.Make.LinkedBelt = function (name, prototype)
return Baseless.Make.TransportBeltConnectable("linked-belt", name, Merge(
{
structure =
{
direction_in = Baseless.Graphics.Sprite4Way,
direction_out = Baseless.Graphics.Sprite4Way,
},
},
prototype
))
end

View File

@ -7,6 +7,7 @@ Baseless.Make.Loader1x2 = function (name, prototype)
direction_in = Baseless.Graphics.Sprite4Way,
direction_out = Baseless.Graphics.Sprite4Way,
},
tile_height = 2,
},
prototype
))

View File

@ -2,6 +2,7 @@ Baseless.Make.Splitter = function (name, prototype)
return Baseless.Make.TransportBeltConnectable("splitter", name, Merge(
{
structure = Baseless.Graphics.Animation4Way,
tile_width = 2,
},
prototype
))

View File

@ -15,7 +15,7 @@ Baseless.Make.SpiderVehicle = function (name, prototype)
leg = Baseless.Data.SpiderLeg,
mount_position = Baseless.Data.Vector.Zero,
ground_position = Baseless.Data.Vector.Zero,
blocking_legs = Baseless.Data.Vector.Zero,
blocking_legs = {},
},
},
},

View File

@ -50,6 +50,8 @@ Baseless.RegisterIfUnique {
Baseless.Make.Lab(),
Baseless.Make.Lamp(),
Baseless.Make.LandMine(),
Baseless.Make.LinkedBelt(),
Baseless.Make.LinkedContainer(),
Baseless.Make.Loader1x1(),
Baseless.Make.Loader1x2(),
Baseless.Make.Locomotive(),

View File

@ -108,12 +108,15 @@ Baseless.RegisterIfUnique {
start_to_goal_cost_multiplier_to_terminate_path_find = 2000.0,
overload_levels = {0, 100, 500},
overload_multipliers = {2, 3, 4},
negative_path_cache_delay_interval = 20,
},
max_failed_behavior_count = 3,
difficulty_settings =
{
recipe_difficulty = defines.difficulty_settings.recipe_difficulty.normal,
technology_difficulty = defines.difficulty_settings.technology_difficulty.normal,
technology_price_multiplier = 1,
research_queue_setting = "after-victory",
},
},
}