-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4598 from MistakeNot4892/tweak/sprite_setting
Cleaning up a lot of sprite_sheets setting.
- Loading branch information
Showing
25 changed files
with
180 additions
and
189 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
/obj/item/bag/sack/Initialize() | ||
. = ..() | ||
if(!(BODYTYPE_KOBALOI in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_KOBALOI, 'mods/content/fantasy/icons/clothing/sack_kobaloi.dmi') | ||
/obj/item/bag/sack | ||
_kobaloi_onmob_icon = 'mods/content/fantasy/icons/clothing/sack_kobaloi.dmi' |
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,15 @@ | ||
/obj/item | ||
var/_kobaloi_onmob_icon | ||
var/_hnoll_onmob_icon | ||
|
||
/obj/item/setup_sprite_sheets() | ||
. = ..() | ||
if(_kobaloi_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_KOBALOI, _kobaloi_onmob_icon) | ||
if(_hnoll_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_HNOLL, _hnoll_onmob_icon) | ||
|
||
/obj/item/clothing/gloves/setup_equip_flags() | ||
. = ..() | ||
if(!isnull(bodytype_equip_flags) && !(bodytype_equip_flags & BODY_EQUIP_FLAG_EXCLUDE)) | ||
bodytype_equip_flags |= BODY_EQUIP_FLAG_HNOLL |
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
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
This file was deleted.
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
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
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,10 @@ | ||
/obj/item | ||
var/_alate_onmob_icon | ||
var/_gyne_onmob_icon | ||
|
||
/obj/item/setup_sprite_sheets() | ||
. = ..() | ||
if(_alate_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_MANTID_SMALL, _alate_onmob_icon) | ||
if(_gyne_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_MANTID_LARGE, _gyne_onmob_icon) |
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
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
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
13 changes: 9 additions & 4 deletions
13
mods/species/bayliens/bayliens.dm → mods/species/bayliens/_bayliens.dm
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
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
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 @@ | ||
/obj/item | ||
var/_feline_onmob_icon | ||
|
||
/obj/item/setup_sprite_sheets() | ||
. = ..() | ||
if(_feline_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_FELINE, _feline_onmob_icon) |
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
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
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
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
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,10 @@ | ||
/obj/item | ||
var/_drake_onmob_icon | ||
var/_drake_hatchling_onmob_icon | ||
|
||
/obj/item/backpack/setup_sprite_sheets() | ||
. = ..() | ||
if(_drake_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA, _drake_onmob_icon) | ||
if(_drake_hatchling_onmob_icon) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA_HATCHLING, _drake_hatchling_onmob_icon) |
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 |
---|---|---|
@@ -1,21 +1,11 @@ | ||
/obj/item/backpack | ||
_drake_onmob_icon = 'mods/species/drakes/icons/clothing/backpack.dmi' | ||
_drake_hatchling_onmob_icon = 'mods/species/drakes/icons/clothing/hatchling_backpack.dmi' | ||
|
||
/obj/item/backpack/setup_sprite_sheets() | ||
. = ..() | ||
if(!(BODYTYPE_GRAFADREKA in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA, 'mods/species/drakes/icons/clothing/backpack.dmi') | ||
if(!(BODYTYPE_GRAFADREKA_HATCHLING in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA_HATCHLING, 'mods/species/drakes/icons/clothing/hatchling_backpack.dmi') | ||
/obj/item/card/id | ||
_drake_onmob_icon = 'mods/species/drakes/icons/clothing/id.dmi' | ||
_drake_hatchling_onmob_icon = 'mods/species/drakes/icons/clothing/hatchling_id.dmi' | ||
|
||
/obj/item/card/id/setup_sprite_sheets() | ||
. = ..() | ||
if(!(BODYTYPE_GRAFADREKA in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA, 'mods/species/drakes/icons/clothing/id.dmi') | ||
if(!(BODYTYPE_GRAFADREKA_HATCHLING in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA_HATCHLING, 'mods/species/drakes/icons/clothing/hatchling_id.dmi') | ||
|
||
/obj/item/bag/setup_sprite_sheets() | ||
. = ..() | ||
if(!(BODYTYPE_GRAFADREKA in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA, 'mods/species/drakes/icons/clothing/sack.dmi') | ||
if(!(BODYTYPE_GRAFADREKA_HATCHLING in sprite_sheets)) | ||
LAZYSET(sprite_sheets, BODYTYPE_GRAFADREKA_HATCHLING, 'mods/species/drakes/icons/clothing/hatchling_backpack.dmi') | ||
/obj/item/bag | ||
_drake_onmob_icon = 'mods/species/drakes/icons/clothing/sack.dmi' | ||
_drake_hatchling_onmob_icon = 'mods/species/drakes/icons/clothing/hatchling_backpack.dmi' |
Oops, something went wrong.