Return from the dead update!

This commit is contained in:
Crisenpuer
2024-10-21 17:15:16 +02:00
parent d5f21e0575
commit 10808b100e
14 changed files with 89 additions and 22 deletions

13
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "factoriomod",
"request": "launch",
"name": "Factorio Mod Debug"
}
]
}

16
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"factorio.versions": [
{
"name": "Factorio_ModDev",
"factorioPath": "c:\\BARTL\\Factorio_ModDev\\bin\\x64\\factorio.exe",
"active": true
}
],
"Lua.workspace.library": [
"c:\\BARTL\\Factorio_1.1.107\\data"
],
"Lua.workspace.userThirdParty": [
"c:\\Users\\bartl\\AppData\\Roaming\\Code\\User\\workspaceStorage\\7b372f3bc38d2196850595c27863ee9c\\justarandomgeek.factoriomod-debug\\sumneko-3rd"
],
"Lua.workspace.checkThirdParty": "ApplyInMemory"
}

View File

@ -1,8 +1,8 @@
# Bigger concrete stack
This mod makes cocrete stacks bigger.
You can find mod on factorio mod portal:
https://mods.factorio.com/mod/bigger-concrete-stack
Don't have factorio? No problem! Go here:
https://re146.dev/factorio/mods/en#https://mods.factorio.com/mod/bigger-concrete-stack
# Bigger concrete stack
This mod makes cocrete stacks bigger.
You can find mod on factorio mod portal:
https://mods.factorio.com/mod/bigger-concrete-stack
Don't have factorio? No problem! Go here:
https://re146.dev/factorio/mods/en#https://mods.factorio.com/mod/bigger-concrete-stack

View File

@ -0,0 +1,4 @@
-- Vanilla
if mods['base'] then
require('vanilla.data')
end

View File

@ -5,8 +5,6 @@
"author":"GamBar1709",
"contact": "gambar1709@gmail.com",
"description":"This mod makes cocrete stacks bigger",
"factorio_version":"1.1",
"dependencies":[
"base"
]
"factorio_version":"2.0",
"dependencies":[ "base" ]
}

View File

@ -0,0 +1,5 @@
[mod-setting-name]
bcs-concrete-stack-size=[VANILLA] Concrete stack size
bcs-hazard-concrete-stack-size=[VANILLA] Hazard concrete stack size
bcs-refined-concrete-stack-size=[VANILLA] Refined concrete stack size
bcs-refined-hazard-concrete-stack-size=[VANILLA] Refined hazard concrete stack size

View File

@ -0,0 +1,5 @@
[mod-setting-name]
bcs-concrete-stack-size=[VANILLA] Rozmiar stosu betonu
bcs-hazard-concrete-stack-size=[VANILLA] Rozmiar stosu betonu ostrzegawczego
bcs-refined-concrete-stack-size=[VANILLA] Rozmiar stosu żelazobetonu
bcs-refined-hazard-concrete-stack-size=[VANILLA] Rozmiar stosu żelazobetonu ostrzegawczego

View File

@ -0,0 +1,4 @@
-- Vanilla
if mods['base'] then
require('vanilla.settings')
end

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -1,3 +1,14 @@
local concreteItem = data.raw["item"]["concrete"]
concreteItem.stack_size = settings.startup["bcs-concrete-stack-size"].value
local hazardConcreteItem = data.raw["item"]["hazard-concrete"]
hazardConcreteItem.stack_size = settings.startup["bcs-hazard-concrete-stack-size"].value
data:extend({hazardConcreteItem})
data:extend({concreteItem})
local refinedConcreteItem = data.raw["item"]["refined-concrete"]
refinedConcreteItem.stack_size = settings.startup["bcs-refined-concrete-stack-size"].value

View File

@ -1,8 +0,0 @@
local concreteItem = data.raw["item"]["concrete"]
concreteItem.stack_size = settings.startup["bcs-concrete-stack-size"].value
local hazardConcreteItem = data.raw["item"]["hazard-concrete"]
hazardConcreteItem.stack_size = settings.startup["bcs-hazard-concrete-stack-size"].value
data:extend({hazardConcreteItem})
data:extend({concreteItem})

View File

@ -1,2 +0,0 @@
require("concrete")
require("refined-concrete")

21
mklink.ps1 Normal file
View File

@ -0,0 +1,21 @@
#Paths
$factorio_path = "C:\BARTL\Factorio_ModDev\"
$mods_folder = "$factorio_path\mods"
$curr_path = Get-Location
#Mods
$mod1 = "bigger-concrete-stack"
# Wiązania
$link1 = "$mods_folder\$mod1"
# Ścieżki źródłowe
$src1 = "$curr_path\$mod1"
# Tworzenie linków (jeśli jeszcze nie istnieją)
if (-not (Test-Path $link1)) {
New-Item -ItemType SymbolicLink -Path $link1 -Target $src1
Write-Output "Symlink dla $mod1 został utworzony."
} else {
Write-Output "Symlink dla $mod1 już istnieje."
}