Improves belt item overlay code, Adds new belt item overlay sprites (#17568)

* belt-improvements-and-sprites

* fixes my fix of botany belt allowed contents
This commit is contained in:
atteria
2022-04-12 15:57:21 +01:00
committed by GitHub
parent ae600a7d40
commit bcf90593ed
34 changed files with 67 additions and 7 deletions
+2
View File
@@ -4,6 +4,7 @@
icon = 'icons/obj/tools.dmi'
icon_state = "crowbar"
item_state = "crowbar"
belt_icon = "crowbar"
usesound = 'sound/items/crowbar.ogg'
flags = CONDUCT
slot_flags = SLOT_BELT
@@ -66,6 +67,7 @@
desc = "A set of jaws of life, the magic of science has managed to fit it down into a device small enough to fit in a tool belt. It's fitted with a prying head."
icon_state = "jaws_pry"
item_state = "jawsoflife"
belt_icon = "jaws"
materials = list(MAT_METAL=150,MAT_SILVER=50,MAT_TITANIUM=25)
origin_tech = "materials=2;engineering=2"
usesound = 'sound/items/jaws_pry.ogg'
@@ -11,6 +11,7 @@
desc = "Used for pulsing wires to test which to cut. Not recommended by doctors."
icon = 'icons/obj/device.dmi'
icon_state = "multitool"
belt_icon = "multitool"
flags = CONDUCT
force = 0
w_class = WEIGHT_CLASS_SMALL
@@ -4,6 +4,7 @@
desc = "You can be totally screwy with this."
icon = 'icons/obj/tools.dmi'
icon_state = "screwdriver_map"
belt_icon = "screwdriver"
flags = CONDUCT
slot_flags = SLOT_BELT
force = 5
@@ -74,6 +75,7 @@
desc = "A simple hand drill with a screwdriver bit attached."
icon_state = "drill_screw"
item_state = "drill"
belt_icon = "hand_drill"
materials = list(MAT_METAL=150,MAT_SILVER=50,MAT_TITANIUM=25)
origin_tech = "materials=2;engineering=2" //done for balance reasons, making them high value for research, but harder to get
force = 8 //might or might not be too high, subject to change
+4
View File
@@ -6,6 +6,7 @@
icon = 'icons/obj/tools.dmi'
icon_state = "welder"
item_state = "welder"
belt_icon = "welder"
flags = CONDUCT
slot_flags = SLOT_BELT
force = 3
@@ -192,6 +193,7 @@
name = "industrial welding tool"
desc = "A slightly larger welder with a larger tank."
icon_state = "indwelder"
belt_icon = "welder_ind"
maximum_fuel = 40
materials = list(MAT_METAL=70, MAT_GLASS=60)
origin_tech = "engineering=2;plasmatech=2"
@@ -227,6 +229,7 @@
desc = "An upgraded welder based off the industrial welder."
icon_state = "upindwelder"
item_state = "upindwelder"
belt_icon = "welder_upg"
maximum_fuel = 80
materials = list(MAT_METAL=70, MAT_GLASS=120)
origin_tech = "engineering=3;plasmatech=2"
@@ -236,6 +239,7 @@
desc = "An experimental welder capable of self-fuel generation and less harmful to the eyes."
icon_state = "exwelder"
item_state = "exwelder"
belt_icon = "welder_exp"
maximum_fuel = 40
materials = list(MAT_METAL=70, MAT_GLASS=120)
origin_tech = "materials=4;engineering=4;bluespace=3;plasmatech=4"
@@ -3,6 +3,7 @@
desc = "This cuts wires."
icon = 'icons/obj/tools.dmi'
icon_state = "cutters"
belt_icon = "wirecutters"
flags = CONDUCT
slot_flags = SLOT_BELT
force = 6
@@ -82,6 +83,7 @@
desc = "A set of jaws of life, the magic of science has managed to fit it down into a device small enough to fit in a tool belt. It's fitted with a cutting head."
icon_state = "jaws_cutter"
item_state = "jawsoflife"
belt_icon = "jaws"
origin_tech = "materials=2;engineering=2"
materials = list(MAT_METAL=150,MAT_SILVER=50,MAT_TITANIUM=25)
usesound = 'sound/items/jaws_cut.ogg'
+2
View File
@@ -4,6 +4,7 @@
desc = "A wrench with common uses. Can be found in your hand."
icon = 'icons/obj/tools.dmi'
icon_state = "wrench"
belt_icon = "wrench"
flags = CONDUCT
slot_flags = SLOT_BELT
force = 5
@@ -50,6 +51,7 @@
desc = "A simple powered drill with a bolt bit."
icon_state = "drill_bolt"
item_state = "drill"
belt_icon = "hand_drill"
usesound = 'sound/items/drill_use.ogg'
materials = list(MAT_METAL=150,MAT_SILVER=50,MAT_TITANIUM=25)
origin_tech = "materials=2;engineering=2" //done for balance reasons, making them high value for research, but harder to get