47 Commits
Author SHA1 Message Date
siliconsandGitHub 60db51850c experimental gc / init fixes and optimizations, and fixes emotes (#7431) 2025-12-15 09:13:19 +01:00
4ab234f10c maploader / overmaps update - struct system, overmaps location bindings, misc backend improvements (#6403)
tl;dr level collections that can easily be logically restructured/moved
as necessary

will eventually be used for radio and overmaps location resolution.

this is the last part of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/4841
that has not yet been integrated.
this will be a draft for a while.

---------

Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
2025-11-06 17:49:23 -08:00
10d2505338 TGUI update (from letterN branch) (#7244)
Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
2025-10-04 10:45:41 +02:00
Letter NandGitHub d48c3b3288 update reftracker & gc (#6904)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
title, gc gets a new queue that lasts 1s for objects that got cleanly
deleted (https://github.com/tgstation/tgstation/pull/62969), adds the
findref ci test
2025-04-01 17:05:17 +02:00
siliconsandGitHub 0c8dd521c2 refactors attack hand proc header (#6720)
needed for #5677 

this is to make that PR slightly easier to review.
2024-09-06 13:36:10 -06:00
siliconsandGitHub 6b8a74e682 mob ai: iff factions, small turbolift/maploader fix (#6702)
replaces old faction system with one that supports lists
2024-09-06 13:23:38 -06:00
98436ee381 Fix hovering fire alarms, refactor DMM rotation code (#6589)
## About The Pull Request

Previously:

- A lot of unnecessary code to thread and repeatedly add
orientation-related variables to the preloader.
- dmm_parsed previously modified its own args, then used arglist(args)
This is bad energy -- as far as I can tell, this was was relying on the
fact that _load_impl didn't use the modified values.
- Fire alarms were hardcoded to deal with east/west incorrectly

Now:

- These variables now live in the dmm_context.
- _load_impl takes fewer unnecessary args, and all its args are explicit
- A few variables have been removed or had their scope limited.
- Fire alarms aren't hardcoded to do that anymore.

Bugs I didn't fix:

- When a map is rotated EAST or WEST, signs spawn in an overlapping
fashion that's really ugly.

## Why It's Good For The Game

### Correctness

Fire alarms were spawning sideways when rotated EAST or WEST and
probably shouldn't be. I've fixed this behavior now.

### Style

Threading a lot of variables in DM is pretty rough -- DM doesn't
actually warn if you do this wrong. Silicons specifically flagged this
as a rough spot for code quality, which is why I attacked it.

These variables never change during the load process, so threading them
as arguments creates the false implication that they can be different
per map object.

### Performance

My goal wasn't to make performance better, just to make the code more
readable without making it worse. Brief profiling implies it might be
faster, but the difference is marginal and possibly explained by bad
test conditions:

- map loading took 24.0, 24.3, 24.6 seconds before the change
- map loading took 23.0, 23.6, 23.8 seconds after this change

All tests were done with rotated Triumph. (I haven't profiled
non-rotated yet.)

Back of the envelope calculation implies the number of
variable-on-object lookups in the hot loop phase of the map load should
be pretty close to the original number -- maybe a little lower, since
I've turned some into locals.

The one lookup that looks new (where we get the context from the
preloader in preloader_load) was actually one that happened
unconditionally at the end of the procedure in the previous code.

## Images

Sign bug: I didn't fix this or introduce this.


![image](https://github.com/user-attachments/assets/47debb5e-00e4-4bf7-a404-94d315f07607)

Fire alarm bug living its best life. I fixed this:


![image](https://github.com/user-attachments/assets/f1db22d4-921c-4a1d-827f-cb49c76a2cb9)

Fire alarm is Tethered. (Post-fix):


![image](https://github.com/user-attachments/assets/b939842f-8dfc-45c3-bfcb-e6faf3a90ee8)

## Changelog

🆑 Pyrex
refactor: DMM rotation code is a little tidier
fix: fire alarms have a 0% chance of hovering
/🆑

---------

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
2024-07-14 18:55:53 -07:00
siliconsandGitHub 6037dd194c shuttles/storytellers - maploader injections and context (#6464)
i decided to atomize my prs a little

- map obfuscation module upgraded
- obfuscation now happens via mangling id, inspired by nebula. atoms loaded with the same mangling id will generate the same obfuscated ids from a given and matching input id
- /datum/map_injection added; it's a composition-based system for modifying maps during spawn
- /datum/map_injection/starting_gear; inspired by barotrauma, pretty much just injects starting gear as necessary with a given configuration. multiple of these can be stacked in a given maploading.
- /obj/map_helper/gear_marker; markers for where starting_gear should populate things.
2024-06-04 20:47:18 +02:00
MazianandGitHub 47fced1843 adds a second elevator to tether (#6282) 2024-01-19 23:08:11 +01:00
LordMEandGitHub 11c8aae64a door tint fix & door overlay fix (#6209)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
Makes behaviour more to what its intended to be
<!-- Argue for the merits of your changes and how they benefit the game,
especially if they are controversial and/or far reaching. If you can't
actually explain WHY what you are doing will improve the game, then it
probably isn't good for the game in the first place. -->

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑
fix: fixed how door tinting works (it was a mess)
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
2023-12-29 22:18:33 +00:00
f00535983e [MDB IGNORE] [IDB IGNORE] atom damage (#5235)
## About The Pull Request

adds generic system for atom health / integrity / damage

everything that isn't flagged with not-bludgeonable can, well, now be
bludgeoned.

## Why It's Good For The Game

more interactive game world through the means of making people able to
break Everything.

## Changelog

🆑
add: atom damage - (almost) everything is now breakable.
refactor: new /atom level materials system
refactor: a lot of the combat system / click code
refactor: melee attack styles
/🆑

---------

Co-authored-by: silicons <no@you.cat>
2023-11-11 17:33:57 -07:00
7986ef5daf map rotation (#5835)
Co-authored-by: silicons <no@you.cat>
2023-08-09 20:14:13 +02:00
8cc591c244 Baylike Walls and Windows (#5547)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Largely a port of code from Daedalus Dock and icons from Bay/Nebula.
Lots of things need to be touched with this.

## Why It's Good For The Game

It just looks better, imho.

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑

/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

---------

Co-authored-by: silicons <no@you.cat>
Co-authored-by: silicons <2003111+silicons@users.noreply.github.com>
2023-07-07 08:59:23 -07:00
MonaraandGitHub 56296bb469 Hammerhead and Fighter Transit Tunnel (#5579)
## About The Pull Request
Rebuilds hammerhead patrol barge with 6 spots for fighters (only 2
filled with barons at round start)
New tunnel for moving fighters from the construction bay to the
Hammerhead, and vice versa.
Fixes all Elevators on the rift. You can now fall down them again.
Fixes offset lights, does not fix light duplication as the elevator
picks up each floor's lights and moves them.
Various small fixes, typos, ect to clean up code that I saw while
working.

## Why It's Good For The Game
Hammerhead with more carrying capacity aka more opportunities for
robotics.

Fighters can now be constructed in the fighter bay (intended location)
and flown/wheeled over to the Hammerhead via landing gear. (Yes, even
space-only fighters can safely be transported with their "stabilization
mode" toggled off, which turns on their landing gear.)

Hammerhead needed a touchup on some oversights, and a bit more wiggle
room for upgrades. It's functionally the same as the previous iteration,
but with more max speed (but with noticeably worse fuel efficiency)

Elevators need some love in terms of bugfixing. I did the mapping
portion of it, now someone else can get glass to function without
runtiming, and fix the lights spawning on every floor without the
elevator present.
2023-06-08 23:12:53 -07:00
455ec82c4e refactors attack_hand, attackby, attack_self (#5120)
Co-authored-by: silicons <no@you.cat>
2023-03-11 17:15:58 +01:00
2ac1c566b8 access refactor, head of staff id mod consoles, tgui modules, this is a cry for help (#5040)
Co-authored-by: silicons <no@you.cat>
2023-02-28 17:35:44 -06:00
1a524b77eb SSao, Z-Mimic, and O7 Lighting (#4846)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Z-Mimic is nice.

Currently just SSao atm, why SSao? Filter-based ao doesn't really work
with Z-Mimic

O7 Lighting cause I got tired of trying to make ours work with this. But
hey, we got directional lights now so that's cool.

🆑 @Zandario & @Lohikar
add: SSzmimic
add: O7 Lighting
add: SSao
del: SSopenspace
tweak: Lights now can shine in angles between 0 and 180
/🆑

Co-authored-by: Lohikar <lohikar@protonmail.com>
2023-01-01 05:04:11 -08:00
siliconsGitHubVM_USER <VM_USER>
fa3856bf7f renames flags to atom_flags for, well, atoms; transitions some reasonable atom flags to be more, well, obvious (#4837)
Co-authored-by: VM_USER <VM_USER>
2022-12-15 18:54:20 +01:00
ZandarioandGitHub 150fdc0907 Tooltips Galore! (#4679) 2022-11-25 20:00:33 +01:00
siliconsGitHubfake_vm_user <fake_vm_user>VM_USER <VM_USER>
934ad25bfe refactors: inventory, mousedrag, stripping, species bodytypes, inventory HUD, and probably some unrelated things (#4092)
* start

* i hate people who pack shit into one file

* sigh

* regex

* inventory rework

* stubs

* regex

* this is insanity

* oh no

* backend moment

* a

* changes

* wild

* regexing

* changes

* put in hands

* more errorS

* attackby

* more helpers

* replacements

* wild

* fixes

* pain

* fxies

* fixes

* unneeded

* ape

* ape

* wild

* wild

* more

* wild

* there

* fixes

* fixes

* l

* wild

* more

* moer

* fixes

* enough for todayd

* regexing

* long time coming

* shaking and crying

* end me

* fixes

* fixes

* e

* fxies

* rig refactor moment

* fixes

* fixes

* fixes

* fixes

* out with the shitcode

* thanks git

* partial rig rewrite here we go

* more

* fixes

* WWWW

* ok

* wild

* bitfield defines

* nobludgeon

* pain

* pain

* fixes

* more

* wild

* wild

* fixes

* pain

* move behaviorsr

* fixes

* next up, finishing core procs

* y

* .

* time to finish this

* time to finish this

* propagate accessories

* hate this accursed engine

* hate this accursed engine

* pain

* more

* cancer

* epic

* genuinely hate

* wild

* that

* why

* circuitry is my bane

* y

* how

* sort

* logging

* logging

* im dying

* fixes

* next

* f

* more

* epic style

* fixes

* on meta

* fix

* wild

* uh

* quirky

* fixes

* agh

* pain

* fixes

* fix

* sigh

* a

* epic1

* fixes

* ugh

* epic

* fixes

* uhh.

* is this even a fix

* fix

* fixes

* fixes

* we love optimization

* wear over system

* correct

* worn over stuff

* just augments

* coggy

* implant magnetic catch

* implant magnetic catch

* fixe

* a

* g

* t

* fix

* fix

* wack!

* fix

* a

* semantics

* fix

* that

* fixes

* handle denesting

* w

* fixes

* e

* bugs

* fixes

* fixes

* unit tests

* absolutely wild

* fixes

* fix

* fix

* fixes

* on god this is bad

* fixes

* fixes

* fix

* fix

* wacky!

* fix

* wack

* manual

* fixes

* closets

* OOPS

* wack

* pain

* pain

* flags

* regex

* fixes

* wakc

* changes

* more

* augh

* more

* replaces

* more

* that

* acc

* acc

* fix

* fix

* fix

* oh woops that was important

* wack

* epic

Co-authored-by: fake_vm_user <fake_vm_user>
Co-authored-by: VM_USER <VM_USER>
2022-07-29 00:20:47 -07:00
siliconsandGitHub eb812d4e89 fixes zshadow logic (#4186)
* Update turbolift.dm

* Update zshadow.dm

* Update zshadow.dm
2022-06-11 22:08:08 -07:00
ZandarioandGitHub 5a7f357b85 CitadelRP (#4108)
* dme and dmb

* Heeeere we gooo

* fasease

* Continued.

* AAAAAAAAAAAAAAAAAAAAAAAA

* Brain going numb

* agh

* The suffering will be worth it... right?

* Going blank...

* Am I done?

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Fixes

* Should be everything I care about right now.
2022-05-26 01:37:55 -07:00
siliconsGitHubfake_vm_user <fake_vm_user>
c85571f7f4 adds wave automata, reworks sonar (#4042)
* start

* stuff

* stuff

* rm

* gotta be fucking kidding me i hate byond

* a

* a

* sigh i just remmebered why i didn't do that

* a

* a

* stub

* Shadowcast

* Shadowcast

* Shadowcast

* uh oh

* uh oh

* Wild

* Wild

* Wild

* automata stuff

* stuff

* let's go

* that

* that

* fixes

* fix

* fxies

* fixes

* that works

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* diagonals

* wild

* wild

* i hate lummox

* ihate you byond

* wow.

* refactor that

* why

* fix

* mistakes

* thank you bhijn

* wild

* i'm an idiot

* adjust

* adjust

* that

* blacklist that too

* what if we

* Fix

* fin

Co-authored-by: fake_vm_user <fake_vm_user>
2022-05-19 21:33:17 -07:00
siliconsGitHubfake_vm_user <fake_vm_user>
5a496c5dff Baseturfs (#3938)
* ill do this in the coffee shop later

* has to go

* add stuff

* changes

* this is going to explode

* this is going to explode x2

* more

* *scream

* move

* w

* oh god oh fuck now for main proc

* progress

* wack

* next segment..

* update

* shuttles are next

* AAA

* sigh

* this is going to be ugly

* ugh

* epic!

* pain

* hope this works

* patch

* patch

* patch

* patch

* patch

* epic!

* wack

* oh god..

* oh god..

* wack

Co-authored-by: fake_vm_user <fake_vm_user>
2022-05-06 20:13:51 -07:00
siliconsandGitHub 8d4fd18cc2 ghostroles (#3961)
* files

* obj

* mass ports

* ah

* wack

* that

* todo refactor ui intieract calls jfc

* all

* test case

* compile

* compile

* auxtools time

* wack

* debugger hook

* I LOVE YOU SPACEMANIAC THE DEBUGGER JUST SAVED MY LIFE
2022-05-01 01:26:52 -07:00
siliconsandGitHub 5823fb93e7 migrates to github actions + sync tgui to main's, removes a bunch of dead maps and code and reworks how submap loading is done (#2917)
* move phoronlock define

* t

* force rename

* nuke unneeded things

* don't do that

* tgui sync?

* changes

* unit testing module

* backend

* tools update

* aaah

* go and stay go

* path replace

* move everything

* toss out more stuff

* remove

* fine those can stay

* dependencies.sh

* ruin datum move + rename

* level assets why did you guys put the turfs in my atmosphers folder grr

* more moving

* basemap, force stuff

* fix that desync meme

* move more stuff

* move those too

* repath

* get rid of useless initializers

* hacky patchy

* reservations

* alright

* tgui

* changelog example

* checksum

* md5

* errors

* more

* turf empty

* stop

* fix

* bad kwarg

* let's get those in again

* alright

* rid of that

* huh

* newlines

* newlines

* folder

* mood

* woops

* readme

* might as well trim now

* let's go

* fuck it tether isn't being used anyways lol

* ok

* empty files go

* tether is demoted

* sorry but this goes too

* okay

* make that work too

* ok

* wow.

* whew

* Fix

* fixes

* ok

* sigh

* fix

* fix

* aah.

* rust_g logging

* update rust g file

* fix

* funny

* Fix

* map issues

* fix

* initialize hints

* solves some problems

* those too

* ok

* pills

* let's do that.

* hit that too

* runtime

* add that too

* alright

* fix

* fix

* fix

* Fix

* add

* fix

* wildwest, what have they done to you...

* do that too'
git push

* fixes

* fixes

* fixes

* pack this tightly

* let's not have empty files

* sigh

* fix

* FUCK OFF

* fix icon

* rip old mapmerge

* zz

* woo yeah woo yeah

* logging

* fix

* better logs

* GRRRRRR

* last commit??

* awful
2021-04-01 16:07:03 -05:00
siliconsandGitHub aec7df3d04 Fixes a bunch of important bugs (ai examine poster placement overmap generation maybe traders maybe not who knows) (#2841)
* fixes

* gvars

* fixes

* fix ai examine

* grr

* unused var

* fix

* fixes

* lmao shitcode

* alright

* woops

* runtime fixes

* locset
2021-03-13 23:03:05 -08:00
siliconsandGitHub 5784110aa2 replaces lighting system with modern tg/vglights (#2830)
* initial

* defines file

* changes

* changes

* whew

* a

* ok

* more stuff

* alphacolors

* sigh

* compile errors

* runtime fix

* debug data

* fixes

* fixes

* let's go

* funny

* funny

* funny

* Update lighting_object.dm
2021-03-08 14:45:49 -08:00
siliconsandGitHub 472ef33488 nukes some unmanaged global variables (probably merge this fast as it touches a hundred+ files) (#2829)
* replacements

* indents
2021-03-07 19:01:45 -08:00
silicons 2878c443e0 ok 2021-02-22 02:26:37 -07:00
silicons c3de692726 let's do that 2021-02-21 22:17:30 -07:00
BlackMajor 0ac824399b Area consolidation 2021-02-12 15:22:47 +13:00
siliconsandGitHub 9a5dfe4ed5 Update turbolift.dm 2020-08-05 03:55:38 -07:00
kevinz000 b52e25b54e intent define change 2020-04-14 12:23:29 -07:00
kevinz000 eca3eb69cc Merge remote-tracking branch 'citrp/master' into to_chat 2020-04-13 21:57:45 -07:00
kevinz000 d3b64724c6 1 2020-04-13 19:49:38 -07:00
kevinz000 8845f196c7 ok 2020-04-13 05:02:40 -07:00
kevinz000 30c2984a6d whew 2020-04-13 04:58:21 -07:00
kevinz000 e26025599c wew 2020-04-12 17:31:11 -07:00
kevinz000andGitHub 71248e19a4 Revert "Revert "New to Initialize pass #1 - Turfs and some random stuff" kevinz doesn't know what DNM is" 2020-04-12 16:14:45 -07:00
nik707andGitHub 1eff56c8c5 Revert "New to Initialize pass #1 - Turfs and some random stuff" 2020-04-12 17:19:47 -05:00
kevinz000 bbbb2154d8 i hate vorecode 2020-04-11 18:54:37 -07:00
kevinz000 6c1c339191 Updates code to November 2019 Vorecode 2020-02-08 00:41:54 -07:00
kevinz000 9effb27b47 Regex 1 2019-09-12 15:32:59 -07:00
kevinz000 d7ac8512f3 let's change a proc name 2019-09-08 19:09:09 -07:00
kevinz000 f12ef3354e yawn 2019-09-05 08:17:21 -07:00
deathride58 f1893fa0a0 initial commit - Straight pull from Virgo's master branch from 5/6/2018 at 6:00 PM EST 2018-05-06 19:05:49 -04:00