Skip to content

Commit

Permalink
Fixing missing icons on exodus.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 authored and comma committed Nov 19, 2023
1 parent 9da3e57 commit 65a5118
Show file tree
Hide file tree
Showing 9 changed files with 166 additions and 161 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/effects/step_triggers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
var/stopper = 1 // stops throwers
invisibility = INVISIBILITY_ABSTRACT // nope cant see this shit
anchored = TRUE
icon = 'icons/misc/mark.dmi'
icon_state = "X"

/obj/effect/step_trigger/proc/Trigger(var/atom/movable/A)
return 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/storage/fancy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
*/
/obj/item/storage/fancy/vials
icon = 'icons/obj/vialbox.dmi'
icon_state = "vialbox"
icon_state = "vialbox0"
name = "vial storage box"
w_class = ITEM_SIZE_NORMAL
max_w_class = ITEM_SIZE_TINY
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/random/random_multi.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
desc = "This item type is used to spawn random objects at round-start. Only one spawn point for a given group id is selected."
icon = 'icons/misc/mark.dmi'
icon_state = "x3"
invisibility = INVISIBILITY_MAXIMUM
invisibility = INVISIBILITY_ABSTRACT
var/id // Group id
var/weight // Probability weight for this spawn point

Expand Down
13 changes: 13 additions & 0 deletions code/modules/mechs/premade/_premade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@
name = "impossible exosuit"
desc = "It seems to be saying 'please let me die'."
abstract_type = /mob/living/exosuit/premade
icon = 'icons/mecha/mecha_preview.dmi'
icon_state = "preview"
pixel_x = 0
pixel_y = 0
var/decal

/mob/living/exosuit/premade/Initialize()

// Reset our mapping helpers.
default_pixel_x = -8
default_pixel_y = 0
pixel_x = default_pixel_x
pixel_y = default_pixel_y
icon = null
icon_state = null

if(arms)
arms.decal = decal
arms.prebuild()
Expand Down
2 changes: 2 additions & 0 deletions code/unit_tests/icon_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
var/list/except_types = list(
/turf/unsimulated/mimic_edge,
/turf/exterior/mimic_edge,
/turf/simulated/mimic_edge,
/turf/exterior/open,
/turf/simulated/open
)

/datum/unit_test/icon_test/turfs_shall_have_icon_states/start_test()
var/list/failures = list()
for(var/turf_type in subtypesof(/turf))
Expand Down
Binary file added icons/mecha/mecha_preview.dmi
Binary file not shown.
Loading

0 comments on commit 65a5118

Please sign in to comment.