mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-09 00:43:55 +00:00
Adds the Rapid Pipe Dispenser
- Adds "paintable" flag to pipe recipes so we know if we can paint it. - Ports the RPD from Yawn Wider. - Brings RPD sprites from /tg instead. - Slightly refactors recipes to keep type-specifc vars on subtypes. - Refactors RPD UI icons to use iconsheet assets: Instead of sending each individual icon to the client as needed, we declare an icon sheet asset and send the entire thing to client. Then we just use the given CSS classes to display the icons! - Adds icon sheet asset datum for pipe and diposals construction.
This commit is contained in:
@@ -334,3 +334,15 @@ You can set verify to TRUE if you want send() to sleep until the client has the
|
||||
|
||||
send_asset_list(client, uncommon)
|
||||
send_asset_list(client, common)
|
||||
|
||||
|
||||
// VOREStation Add Start - pipes iconsheet asset
|
||||
/datum/asset/iconsheet/pipes
|
||||
name = "pipes"
|
||||
|
||||
/datum/asset/iconsheet/pipes/register()
|
||||
var/list/sprites = list()
|
||||
for (var/each in list('icons/obj/pipe-item.dmi', 'icons/obj/pipes/disposal.dmi'))
|
||||
sprites += build_sprite_list(each, global.alldirs)
|
||||
..(sprites)
|
||||
// VOREStation Add End
|
||||
|
||||
Reference in New Issue
Block a user