Commit Graph

17 Commits

Author SHA1 Message Date
Will b594262fec Tethered Item Component (#18499)
* tethered component

* can't do that

* visible_message should always show

* forbid storing

* catching some small issues

* visible message is fighting a bit too much

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-09-22 04:40:53 -04:00
Cameron Lennox d73f6b8dbd Makes uses of do_after sane (#18334)
* Prevents insta-actions

* Do_after sanity

NOTE: NUKE do_after_action

* Update bonfire.dm

* The  rest of them

Also fixes a tpyo

* no minitest :)

* .

* .

* Gets rid of the slowdown for now

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-09-08 02:25:08 +02:00
Cameron Lennox b3fb00d70d Refactors do_after w/ TG's do_after (#18282)
* part1

* keeps range ability

* no cog vore
2025-08-22 00:21:14 +02:00
Cameron Lennox 37779acf01 Gets rid of hasvar usage and moves up some vars (#18262)
* Gets rid of hasvar usage

* thiiis

* moves damtype to /obj/item

* throwing

* Move vars moved

* matter as well

Pretty much only used for the robot lathe and when crafting...When you could only smelt down obj/item for its materials

* Update floor_light.dm

* exploitable

* this can be moved up...

* move persist to /item

you can't ever place /obj in storage anyway...It would imply you can store the supermatter, which I think we don't want.

* gets rid of being_used

I added this for xenoarch, that was a mistake

* move these

* move these to the base file

* Makes floorlight autolathe recipe not shit

* Update floor_light.dm

* Update floor_light.dm

* Mechs no longer gib when hitting things

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-08-21 23:08:10 +02:00
Cameron Lennox 0e24446f12 Icon Fixup [IDB IGNORE] (#18284)
* Begin the sprite consolidation

* med stand

* Library

* kitchen cart

* hydroponics

* Delete hydroponics_machines_vr.dmi

* furniture

* unused computer

* food

* fitness

* fixes the eggs

* Decals

* Drinks, Devices, and Drakie

* Cryogenic2

* combines

* chemical

* card new

* cards

* bereaucracy

* Xenoarch

* compile

* virology

* vehicles

* toys

* Surgery

* stationobjs

* clean these up

* gets rid of some dupes

* bye

* how did that get there

* Unused

* Gets rid of unused ninja dupe file

* Move all these old doors

* this too

* get rid of dupes

* Update airlock_angled_bay.dm

* fixes the map with a prop

* map fixes
2025-08-17 19:09:57 -04:00
Kashargul 46bea7cfa2 Initialize fixing (#17279)
* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
2025-03-08 13:59:29 -05:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Guti 409aaba802 Remove 2024-09-09 02:36:53 +02:00
C.L 5ff52f29f3 No storing shield generators. 2022-09-13 21:00:06 -04:00
Heroman 5876c365db More casino updates 2022-08-20 16:18:06 +10:00
PastelPrinceDan f5604a304d no. bad. 2022-03-03 20:24:34 +00:00
VerySoft dee8667de8 Item bank tweak!
A couple more restrictions!
2022-02-13 19:52:51 -05:00
VerySoft 337e2f442c Further item bank restrictions
Wow!
2022-02-06 20:37:58 -05:00
VerySoft 36ab4d8e5c The final Item Bank patch?
Adds a few more restrictions, adds a confirmation prompt that warns about potential loss of contents, and checks contents for prohibited items.
2022-02-06 18:15:22 -05:00
VerySoft 31afcf3869 Item Bank fixy!
I should be asleep
2022-02-06 10:29:59 -05:00
VerySoft 2a5adf8fdc wow! 2022-02-06 08:55:30 -05:00
VerySoft a0b3f2a8a6 Item bank!
It always sucks when you get an item you know you would love to use in a specific scenario, but, for one reason or another, you know that's probably not happening this shift. 

It would be cool if you could save that thing you found until you know it's time to use it!

So I made an item bank.
This stores and saves a single item based on your ckey!

This is intended to allow people to save an item they know they may want later but have right now. It is not intended to allow one to keep an item forever, or to store multiple items. Ultimately I think the rarity of certain items is a big part of what makes them special!

But, if you find it and can't use it right now, it'd be cool if it was there for you when you can use it. 

Restrictions:

-Any item that has been retrieved from storage can not be stored again! (To prevent people from keeping an item forever.)

-One can only store any item one time per shift! (To prevent abusing possible contents of items.)

-Certain items cannot be stored! (See: ID cards, pdas, communicators, radios (and their keys), holders (micros, pets, etc), most storage items, unique items, certain weapons, etc)

This system stores the item type, so any modifications to the item will not be saved, it will be as if the item is new (because it is).

This means that it will be possible to duplicate the contents of things that spawn with contents. I have thought some about what things this might be a concern for, but there will invariably be things that remain that this will be possible for. If it becomes a problem, it is always possible to apply further restrictions. (this is why most storage items are disallowed. Like, any medkit or gun case or things like that, would be able to duplicate their contents if they were able to be stored, and I feel like this is a better solution than making it so you cannot store something and retrieve something in the same shift.)
2022-02-06 08:48:34 -05:00