Now's PR experiments #3: Adding an item to a vending machine. Part of a series of tests for me to figure out how the code works a little better.
These are Jamjar Glasses, so called because they're as big and thick as the bottom of jam jars. They're a comical "fashion" item alternative to regular prescription glasses, with all the same functionality. They appear in the Clothesmate vending machine, where they replace one of two existing pairs of prescription glasses.
glasses
🆑
add: Nerd Co. has sent pairs of thicker prescription glasses out to Nanotrasen stations, for your local geek to wear.
/🆑
* Adds Medical HUDGlasses
Adds sunglasses with a built-in medical HUD. Functions as you would expect them to, tested locally with no issues, comes in a stylish blue.
I've wanted these for literally years, but I've only sat down and worked out vaguely how items and PRs work this week, so here they are. They haven't been added to any map yet - that's a debate itself - but I'm hoping to find an opportunity to test them, perhaps being ERT Medical Officer standard equipment before a single pair is put in medbay to fight over.
Lemme know what you think.
* Hopefully moves hud.dm to its intended place.
Root folder indeed. WTH, Git?
* Glasses.dmi in the wrong place
Yep.
* eyes.dmi in the wrong place
Alright.
* Re-adds eyes.dmi in the right place
Well, guess Git's not as smart as I hoped.
* Re-adds glasses.dmi in the right place
LET US NEVER SPEAK OF THIS AGAIN.
* Deletes the old hud.dm to take place for the new
This'll all be cleaner next time.
* Moves hud.dm to where it should have been in the first place
Second PR ever, everybody!
* Adds Inhands for sunhudmed and sunhudsec
Oops. Forgot the inhand sprites. While I'm here, let's give security HUDshades their own inhands - they use the generic shade inhands otherwise, it seems.
* Tweaks shading on sunhudmed
Makes it like my original concept image which I just found again (over four years old!); now it makes a little more sense and looks better.
* Tweaks colour on sunhudmed to be a little more distinct
* Overlay queuing
* Fix SS flags
* Don't copy on assignment
* Flags processing
* Fix icon_smoothing
* MSO's helper proc
* Legacy detection
* Make it work
* Fixes shitcode
* Fix the flag
* |= -> +=
* OK, how did I fuck that up?
* shitcode
* Conditional assoc queue while initializing
* Cleanup everything
* Orange meme
* This isn't perfect, but its the best byond will give us.
* forgot about dir
* oh ya
* This was litterally the last thing i did last night before heading to bed
You can tell can't you?
* Fixes various shit
* Let's not ever pause
* Fix the flag
* Cleaned up some missing shit. Added image dummys
* Remove the one usage of FPRINT
* Jesus get rid of this
* Fixes drag drop deletion
* Fix it for clothing as well
* Do it properly
* Various other incap checks I noticed from the unequip refactor
* Time to generalize this shitty shit
* PADDLING!!!
* A whole bunch of ree
This means they're included into the rsc and sent out althogh almost all of these files were already included elsewhere. Also DM will yell if the file couldn't be found for whatever reason like if someone moves or renames it.
I left out some file types for various reasons
dmis used in overlays: I have another pr I'll do later which will fix all of them and I don't want to conflict with myself
text files: they would get included in the rsc, which is completely unnecessary. However they're small, so they might be worth including anyway
* Makes qdeleted and qdestroying macros
* Makes QDELETED and QDESTROYING uppercase
* Swap qdel checks istype's for != null's
* Fix it
* How was this missed?
* Re-adds Plasmamen Helmet light, and tweaks almost all related sprites. Additionally, adds myself to the .txt for testing purposes.
* Update tgstation.dme
Not sure why this got changed, fixing.
* Part1
* IT COMPILES!!!!
* Fuck wait this was missing from that last
* Update handlabeler.dm
* Update handlabeler.dm
* Fixes n shit
* Fix this
* Fixes#23310
* Fucking @RemieRichards was right
* Fixes devil unEquip
* WTF ARE BITFLAGS?
* THERES THE FUCKING PROBLEM
* Fixes
* there we goo
* REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
* memes
* eat my ass merge conflict
tweak: The wooden chair with wings is now craft-able. -1 non reconstruct-able map object
add: Added the Tiki mask, you can make it in wood's crafting menu.
imageadd: Ported Tiki mask's sprites from Hippie station. It is under the same Creative Commons 3.0 BY-SA as the rest of our sprites. They are from Nienhaus.
For the mask the reason is UNGA-BUNGA. For the chairs I just hate map objects that players can't fix.
🆑 coiax
add: Camoflaged HUDs given to head revolutionaries now function the same
as chameleon glasses in the chameleon kit bundle, giving them an action
button and far more disguise options.
/🆑
- inb4 the revhead runs around with ratvar or cultist blindfolds on
* Adds the cloak to HoP's locker
* Adds the item to the cloak file.
* Updates the Neck files to include new sprites
* Updates the Cloak file to include new sprites
* Fixes timers being left around, Makes addtimer() sanic fast.
This adds a new flag, TIMER_STOPPABLE. Most(80%) of the overhead for addtimer() was in adding the timer to the associated lookup list for deltimer() to use. Moving that functionality to a flag so it wouldn't slow down the 70% of things calling timers puts the final nail in the coffin of byond's sleep/spawn().
spawn: 324 seconds across 5,948,372 calls
addtimer: 67 seconds across 5,953,220 calls
The testing setup for profiling was included in this commit, it will be removed in a later commit. @Fox-McCloud
* Remove profiling procs.
* fix runtime
luckly when this happened, we were about to resume anyways.