Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
-- Bob's mod electronics texture override : | ||
-- check if an icon is currenctly being used, if that's the case it is overriden. | ||
if settings.startup["replace-electronics"].value == true then | ||
|
||
if data.raw.item["wooden-board"] then data.raw.item["wooden-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/wooden-board.png" end | ||
if data.raw.item["phenolic-board"] then data.raw.item["phenolic-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/phenolic-board.png" end | ||
if data.raw.item["fibreglass-board"] then data.raw.item["fibreglass-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/fibreglass-board.png" end | ||
if data.raw.item["basic-circuit-board"] then data.raw.item["basic-circuit-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/basic-circuit-board.png" end | ||
if data.raw.item["circuit-board"] then data.raw.item["circuit-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/circuit-board.png" end | ||
if data.raw.item["superior-circuit-board"] then data.raw.item["superior-circuit-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/superior-circuit-board.png" end | ||
if data.raw.item["multi-layer-circuit-board"] then data.raw.item["multi-layer-circuit-board"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/multi-layer-circuit-board.png" end | ||
if data.raw.item["electronic-circuit"] then data.raw.item["electronic-circuit"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/basic-electronic-circuit-board.png" end | ||
if data.raw.item["advanced-circuit"] then data.raw.item["advanced-circuit"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/electronic-circuit-board.png" end | ||
if data.raw.item["processing-unit"] then data.raw.item["processing-unit"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/electronic-logic-board.png" end | ||
if data.raw.item["advanced-processing-unit"] then data.raw.item["advanced-processing-unit"].icon = "__bobmods_gfxtweak__/graphics/icons/electronics/electronic-processing-board.png" end | ||
|
||
end | ||
-- Bob's mod warfare texture override : | ||
if settings.startup["replace-warfare"].value == true then | ||
--items icon override | ||
if data.raw.item["acid-bullet"] then data.raw.item["acid-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/acid-bullet.png" end | ||
if data.raw.ammo["acid-bullet-magazine"] then data.raw.ammo["acid-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/acid-bullet-magazine.png" end | ||
if data.raw.item["acid-bullet-projectile"] then data.raw.item["acid-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/acid-bullet-projectile.png" end | ||
if data.raw.item["ap-bullet"] then data.raw.item["ap-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/ap-bullet.png" end | ||
if data.raw.ammo["ap-bullet-magazine"] then data.raw.ammo["ap-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/ap-bullet-magazine.png" end | ||
if data.raw.item["ap-bullet-projectile"] then data.raw.item["ap-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/ap-bullet-projectile.png" end | ||
if data.raw.item["bullet"] then data.raw.item["bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/bullet.png" end | ||
if data.raw.item["bullet-casing"] then data.raw.item["bullet-casing"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/bullet-casing.png" end | ||
if data.raw.ammo["bullet-magazine"] then data.raw.ammo["bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/bullet-magazine.png" end | ||
if data.raw.item["bullet-projectile"] then data.raw.item["bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/bullet-projectile.png" end | ||
if data.raw.item["electric-bullet"] then data.raw.item["electric-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/electric-bullet.png" end | ||
if data.raw.ammo["electric-bullet-magazine"] then data.raw.ammo["electric-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/electric-bullet-magazine.png" end | ||
if data.raw.item["electric-bullet-projectile"] then data.raw.item["electric-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/electric-bullet-projectile.png" end | ||
if data.raw.item["flame-bullet"] then data.raw.item["flame-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/flame-bullet.png" end | ||
if data.raw.ammo["flame-bullet-magazine"] then data.raw.ammo["flame-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/flame-bullet-magazine.png" end | ||
if data.raw.item["flame-bullet-projectile"] then data.raw.item["flame-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/flame-bullet-projectile.png" end | ||
if data.raw.item["he-bullet"] then data.raw.item["he-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/he-bullet.png" end | ||
if data.raw.ammo["he-bullet-magazine"] then data.raw.ammo["he-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/he-bullet-magazine.png" end | ||
if data.raw.item["he-bullet-projectile"] then data.raw.item["he-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/he-bullet-projectile.png" end | ||
if data.raw.item["poison-bullet"] then data.raw.item["poison-bullet"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/poison-bullet.png" end | ||
if data.raw.ammo["poison-bullet-magazine"] then data.raw.ammo["poison-bullet-magazine"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/poison-bullet-magazine.png" end | ||
if data.raw.item["poison-bullet-projectile"] then data.raw.item["poison-bullet-projectile"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/poison-bullet-projectile.png" end | ||
if data.raw.item["shotgun-shell-casing"] then data.raw.item["shotgun-shell-casing"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-shell-casing.png" end | ||
if data.raw.ammo["shotgun-acid-shell"] then data.raw.ammo["shotgun-acid-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-acid-shell.png" end | ||
if data.raw.ammo["shotgun-ap-shell"] then data.raw.ammo["shotgun-ap-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-ap-shell.png" end | ||
if data.raw.ammo["shotgun-electric-shell"] then data.raw.ammo["shotgun-electric-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-electric-shell.png" end | ||
if data.raw.ammo["shotgun-explosive-shell"] then data.raw.ammo["shotgun-explosive-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-explosive-shell.png" end | ||
if data.raw.ammo["shotgun-flame-shell"] then data.raw.ammo["shotgun-flame-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-flame-shell.png" end | ||
if data.raw.ammo["shotgun-poison-shell"] then data.raw.ammo["shotgun-poison-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-poison-shell.png" end | ||
if data.raw.ammo["better-shotgun-shell"] then data.raw.ammo["better-shotgun-shell"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-shell.png" end | ||
-- research icons override | ||
if data.raw.technology["bob-bullets"] then data.raw.technology["bob-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/bullet-magazine.png" end | ||
if data.raw.technology["bob-ap-bullets"] then data.raw.technology["bob-ap-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/ap-bullet-magazine.png" end | ||
if data.raw.technology["bob-electric-bullets"] then data.raw.technology["bob-electric-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/electric-bullet-magazine.png" end | ||
if data.raw.technology["bob-he-bullets"] then data.raw.technology["bob-he-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/he-bullet-magazine.png" end | ||
if data.raw.technology["bob-flame-bullets"] then data.raw.technology["bob-flame-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/flame-bullet-magazine.png" end | ||
if data.raw.technology["bob-acid-bullets"] then data.raw.technology["bob-acid-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/acid-bullet-magazine.png" end | ||
if data.raw.technology["bob-poison-bullets"] then data.raw.technology["bob-poison-bullets"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/poison-bullet-magazine.png" end | ||
if data.raw.technology["bob-shotgun-shells"] then data.raw.technology["bob-shotgun-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-shell.png" end | ||
if data.raw.technology["bob-shotgun-ap-shells"] then data.raw.technology["bob-shotgun-ap-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-ap-shell.png" end | ||
if data.raw.technology["bob-shotgun-electric-shells"] then data.raw.technology["bob-shotgun-electric-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-electric-shell.png" end | ||
if data.raw.technology["bob-shotgun-explosive-shells"] then data.raw.technology["bob-shotgun-explosive-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-explosive-shell.png" end | ||
if data.raw.technology["bob-shotgun-flame-shells"] then data.raw.technology["bob-shotgun-flame-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-flame-shell.png" end | ||
if data.raw.technology["bob-shotgun-acid-shells"] then data.raw.technology["bob-shotgun-acid-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-acid-shell.png" end | ||
if data.raw.technology["bob-shotgun-poison-shells"] then data.raw.technology["bob-shotgun-poison-shells"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-poison-shell.png" end | ||
|
||
end | ||
--if data.raw.item["tech-1"] then data.raw.item["tech-1"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/tech-1.png" end | ||
--if data.raw.item["tech-2"] then data.raw.item["tech-2"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/tech-2.png" end | ||
--if data.raw.item["tech-3"] then data.raw.item["tech-3"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/tech-3.png" end | ||
--if data.raw.item["shotgun-1"] then data.raw.item["shotgun-1"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-1.png" end | ||
--if data.raw.item["shotgun-2"] then data.raw.item["shotgun-2"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-2.png" end | ||
--if data.raw.item["shotgun-3"] then data.raw.item["shotgun-3"].icon = "__bobmods_gfxtweak__/graphics/icons/warfare/shotgun-3.png" end | ||
|
||
--[[ | ||
-- Simple and dirty JS for adding new icons : | ||
var items = [ | ||
"stuff-1", | ||
"stuff-2", | ||
"stuff-3" | ||
]; | ||
var text = ""; | ||
var icondirectory = "\"__bobmods_gfxtweak__/graphics/icons/mod/"; | ||
for (i = 0; i < items.length; i++) { | ||
text += "if data.raw.item[\"" + items[i] + "\"] then data.raw.item[\"" + items[i] + "\"].icon = " + icondirectory + items[i] + ".png\" end" + "<br>"; | ||
} | ||
document.write(text); | ||
--]] |
Binary file not shown.
Binary file added
BIN
+1.08 KB
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/basic-circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.22 KB
...s_gfxtweak_0.15.2/graphics/icons/electronics/basic-electronic-circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+750 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+734 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/electronic-circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.13 KB
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/electronic-logic-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.56 KB
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/electronic-processing-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+471 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/fibreglass-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.4 KB
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/multi-layer-circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+561 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/phenolic-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.07 KB
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/superior-circuit-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+484 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/electronics/wooden-board.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+1.49 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/acid-bullet-magazine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+997 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/acid-bullet-projectile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.62 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/ap-bullet-magazine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1005 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/ap-bullet-projectile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1003 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/bullet-projectile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.62 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/electric-bullet-magazine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1000 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/electric-bullet-projectile.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.51 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/flame-bullet-magazine.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+991 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/flame-bullet-projectile.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+1.52 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/he-bullet-magazine.png
Oops, something went wrong.
Binary file added
BIN
+971 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/he-bullet-projectile.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+1.61 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/poison-bullet-magazine.png
Oops, something went wrong.
Binary file added
BIN
+1005 Bytes
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/poison-bullet-projectile.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+2.57 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-acid-shell.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+2.55 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-electric-shell.png
Oops, something went wrong.
Binary file added
BIN
+2.47 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-explosive-shell.png
Oops, something went wrong.
Binary file added
BIN
+2.53 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-flame-shell.png
Oops, something went wrong.
Binary file added
BIN
+2.59 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-poison-shell.png
Oops, something went wrong.
Binary file added
BIN
+1.96 KB
bobmods_gfxtweak_0.15.2/graphics/icons/warfare/shotgun-shell-casing.png
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "bobmods_gfxtweak", | ||
"version": "0.15.2", | ||
"factorio_version": "0.15", | ||
"title": "Bob's Mods : Alternate Textures", | ||
"author": "Necriptos & CitizenJoe", | ||
"contact": "necriptos@gmail.com", | ||
"homepage": "https://forums.factorio.com/viewtopic.php?f=51&t=46948", | ||
"description": "Some alternate textures for bob's mods (Warfare icons made by CitizenJoe), gives a more vanilla friendly look to bob's mods", | ||
"dependencies": ["base >= 0.15.0", "boblibrary >= 0.15.0", "? bobelectronics >= 0.15.0", "? bobwarfare >= 0.15.0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[mod-setting-name] | ||
replace-electronics=Replace Bob's Electronics textures | ||
replace-warfare=Replace Bob's Warfare textures | ||
|
||
[mod-setting-description] | ||
replace-electronics=This replace some of Bob's Electronics default textures with those from bobmods_gfxtweak | ||
replace-warfare=This replace some of Bob's Warfare default textures with those from bobmods_gfxtweak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
data:extend( | ||
{ | ||
{ | ||
type = "bool-setting", | ||
name = "replace-electronics", | ||
setting_type = "startup", | ||
default_value = true, | ||
}, | ||
{ | ||
type = "bool-setting", | ||
name = "replace-warfare", | ||
setting_type = "startup", | ||
default_value = true, | ||
}, | ||
} | ||
) | ||
|
||
|