Randoms Part 1 and also Corn - Random object sprites and corn tank changes. (#19975)

Added new sprites for random objects for everything in random/clothing,
/food, /loot, /medical, and /misc.
Also got distracted and changed how the corn oil/cooking oil tank looks
and how much reagent it holds. Now looks like the rest of the reagent
tanks and holds the same amount of liquid, 1000u.
This commit is contained in:
courierbravo
2024-10-05 01:02:16 +00:00
committed by GitHub
parent a4b0d019bd
commit ea56fbffc3
11 changed files with 122 additions and 86 deletions
+22 -18
View File
@@ -1,8 +1,7 @@
/obj/random/loot
name = "random maintenance loot"
desc = "Stuff for the maint-dwellers."
icon = 'icons/holidays/christmas/presents.dmi'
icon_state = "gift1"
icon_state = "gasmask"
problist = list(
/obj/item/bluespace_crystal/artificial = 0.1,
/obj/item/bodybag = 0.7,
@@ -169,8 +168,7 @@
/obj/random/highvalue
name = "random high value item"
desc = "This is a random high value item."
icon = 'icons/obj/coins.dmi'
icon_state = "coin_diamond_heads"
icon_state = "coin"
problist = list(
/obj/random/telecrystals = 0.1,
/obj/item/gun/projectile/automatic/rifle/shotgun = 0.1,
@@ -229,8 +227,7 @@
/obj/random/highvalue/safe
name = "random corporate safe high value item"
desc = "This is a random corporate safe high value item."
icon = 'icons/obj/coins.dmi'
icon_state = "coin_diamond_heads"
icon_state = "coin"
problist = list(
/obj/item/device/personal_shield = 0.4,
/obj/random/safe_rig = 0.4,
@@ -247,8 +244,7 @@
/obj/random/custom_ka
name = "random custom kinetic accelerator"
desc = "Contains random assemblies. The parts may not always be compatible with eachother."
icon = 'icons/obj/kinetic_accelerators.dmi'
icon_state = "frame01"
icon_state = "kinetic"
spawnlist = list(
/obj/item/toy/mech/honk
)
@@ -298,8 +294,7 @@
/obj/random/prebuilt_ka
name = "random prebuilt kinetic accelerator"
desc = "Contains working kinetic accelerators that were prebuilt in code."
icon = 'icons/obj/kinetic_accelerators.dmi'
icon_state = "frameA"
icon_state = "kinetic"
spawnlist = list(
/obj/item/gun/custom_ka/frame01/prebuilt = 2.5,
/obj/item/gun/custom_ka/frame02/prebuilt = 5,
@@ -317,8 +312,7 @@
/obj/random/telecrystals
name = "random telecrystals"
desc = "Contains a random amount of telecrystals."
icon = 'icons/obj/telescience.dmi'
icon_state = "telecrystal"
icon_state = "crystal"
spawnlist = list(
/obj/item/stack/telecrystal{amount = 10} = 0.5,
/obj/item/stack/telecrystal{amount = 15} = 0.4,
@@ -329,8 +323,7 @@
/obj/random/contraband
name = "random contraband"
desc = "This is some random contraband."
icon = 'icons/obj/cosmetics.dmi'
icon_state = "purplecomb"
icon_state = "knife"
problist = list(
/obj/item/storage/pill_bottle/mortaphenyl = 3,
/obj/item/storage/pill_bottle/happy = 2,
@@ -369,8 +362,7 @@
/obj/random/coin
name = "random coin"
desc = "This is a random coin."
icon = 'icons/obj/coins.dmi'
icon_state = "coin__heads"
icon_state = "coin"
problist = list(
/obj/item/coin/iron = 5,
/obj/item/coin/silver = 3,
@@ -384,8 +376,7 @@
/obj/random/spacecash
name = "random credit chips"
desc = "This is a random credit chip."
icon = 'icons/obj/cash.dmi'
icon_state = "spacecash1"
icon_state = "cash"
problist = list(
/obj/item/spacecash/c1 = 6,
/obj/item/spacecash/c10 = 3,
@@ -399,6 +390,7 @@
/obj/random/finances
name = "random valued item"
desc = "Contains raw valued items like phoron, gold, and money."
icon_state = "valuable"
spawnlist = list(
/obj/item/spacecash/bundle{worth = 5000} = 0.25,
/obj/item/spacecash/bundle{worth = 10000} = 0.5,
@@ -414,6 +406,7 @@
/obj/random/barricade_materials
name = "random barricade materials"
icon_state = "barricade"
spawnlist = list(
/obj/item/stack/material/steel = 0.75,
/obj/item/stack/material/plasteel = 0.25,
@@ -428,6 +421,7 @@
/obj/random/barbed_wire
name = "barbed wire"
icon_state = "barbed_wire"
spawnlist = list(
/obj/item/stack/barbed_wire = 1
)
@@ -440,6 +434,7 @@
/obj/random/tool_konyang
name = "tool"
icon_state = "tool"
spawnlist = list(
/obj/item/screwdriver = 1,
/obj/item/crowbar = 1,
@@ -451,6 +446,7 @@
/obj/random/survival_weapon
name = "survival weapon"
icon_state = "melee"
problist = list(
/obj/item/crowbar = 1,
/obj/item/shovel = 1,
@@ -472,6 +468,7 @@
/obj/random/high_grade_weapon
name = "high grade weapon"
icon_state = "melee"
problist = list(
/obj/item/material/sword/axe = 0.5,
/obj/item/material/sword/longsword = 0.25,
@@ -484,6 +481,7 @@
/obj/random/light
name = "random light"
icon_state = "flashlight"
problist = list(
/obj/item/device/flashlight = 1,
/obj/item/device/flashlight/flare = 2,
@@ -497,6 +495,7 @@
/obj/random/med_stack
name = "medical supplies"
icon_state = "med"
problist = list(
/obj/item/stack/medical/bruise_pack = 2,
/obj/item/stack/medical/ointment = 2,
@@ -512,6 +511,7 @@
/obj/random/splints
name = "splints"
icon_state = "med"
problist = list(
/obj/item/stack/medical/splint = 1
)
@@ -523,6 +523,7 @@
M.update_icon()
/obj/random/gun_with_ammo
icon_state = "blast_carbine"
has_postspawn = TRUE
/obj/random/gun_with_ammo/post_spawn(obj/thing)
@@ -575,6 +576,7 @@
/obj/random/shotgun
name = "shotgun"
icon_state = "shotgun"
problist = list(
/obj/item/gun/projectile/shotgun/foldable = 1,
/obj/item/gun/projectile/shotgun/doublebarrel = 1,
@@ -596,6 +598,7 @@
/obj/random/semiautos
name = "semiautos"
icon_state = "shotgun"
problist = list(
/obj/item/gun/projectile/shotgun/pump/rifle/scope = 0.05,
/obj/item/gun/projectile/shotgun/pump/rifle/obrez = 1,
@@ -612,6 +615,7 @@
/obj/random/barricade_kit
name = "barricade kits"
icon_state = "barricade"
problist = list(
/obj/item/stack/barricade/random = 1,
/obj/item/stack/barricade/wood/random = 0.5,