New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
World Icons #2279
base: master
Are you sure you want to change the base?
World Icons #2279
Conversation
world icons
fuck you linters |
: D |
I mean it works! -Spritainers want more sprites done before it's formally implemented in -Tmt had some issues with the implementation, which is a little odd because it comes from a server trying to have code parity with /TG/ |
I was so high when I wrote this :)))
haha oops
sorry for not looking at this in very long. the reason i have issues with the implementation is that it looks like it's implemented to minimize the # of lines you have to modify in an item's original file to add world sprites (why make it an element attached to the item instead of just base behavior on /obj/item?). that makes sense for a server that's trying to maintain parity with an upstream, but less so for us. regardless, so long as it's functional (and doesn't break when things get blood on them), i'm fine with it |
ouaagh(mojave why.. .) |
Any luck with the overlay stuff? |
bad signal...
overlays now working, but at what cost? (don't look at the bottom of blood.dm) |
Pretty sure this just caused a bunch of items to randomly have no lighting and be on a really high sprite layer |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Signed-off-by: Sun-Soaked <45698967+Sun-Soaked@users.noreply.github.com>
About The Pull Request
Ports world icons from Mojave 13.
This is an element that allows for tiny, size-accurate versions of object sprites in a roundabout way.
Drafted since spritainers want more coverage before mergingUNDRAFTED by request of a spritainer. God weeps
//MAKING A SUPER BASIC WORLD ICON IMPLEMENTATION GUIDE: FOR REAL. NO VIRUS. 100% ORGANIC//
/obj/item/Initialize()
. = ..()
AddElement(/datum/element/world_icon, null, icon, 'icon')
'icon'
slot(yeah, this element layers the "original" sprite on top of the worldicon one, using it as the default. It just be like that sometimes)
/obj/item/kitchen/knife/combat/Initialize()
. = ..()
AddElement(/datum/element/world_icon, null, icon, 'icons/obj/kitchen.dmi')
icon = 'icons/obj/world/melee.dmi'
The world icon and icon adjustment vars on obj/item should allow for implementation in places where an object's Icon has to frequently change.
Why It's Good For The Game
Just a little guy
Changelog
🆑
add: World icon element.
add: World icons for combat knives.
/:cl: