Commit Graph

108 Commits

Author SHA1 Message Date
Kashargul a64992c509 subsystem antag (#19338)
* antag subsystem

* antag subsystem
2026-03-26 21:06:54 -04:00
Aura Dusklight c6f10bfeb3 Convert species, organ_data, and rlimb_data to TG (#19277)
* First test batch bulk change

* remove desync'd old file

* Small change
2026-03-21 04:06:36 -04:00
Kashargul 418bc73c80 whitelist updates (#19288)
* whitelist updates

* migrate things to module

* .

* some more

* robot IDs are now handled by module

* special ids

* .

* .

* .

* .

* .

* .

* move that

* .

* initial

* admin whitelist TGUI

* .

* .

* lol
2026-03-20 20:16:13 -04:00
Killian c346085d2f Fix up critter holes (#19239)
* Fix up critter holes

* Fix up critter holes

* pai rewrite compat

* Update unified_ghost_hole.dm

* works fine for me

* explicit glow effect

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2026-03-09 00:31:52 +01:00
Kashargul d0678d4046 More globals (#19111) 2026-01-30 19:51:21 +01:00
Kashargul 81c5ea34c2 Fix ghost role free slot spawns (#18653)
* cameron, stop breaking shit while I'm on a business trip

* .

* legacy var

* -

* .

* clean that up

* ,

* Fixes

* oops

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-10-19 04:27:41 +02:00
Killian 190119a88d Unified Ghost Hole (#18608)
* unified hole

* unified hole grammar pass, event replacement, and redgate variant

* unified hole grammar pass, event replacement, and redgate variant

* unified ghost hole

* unified ghost hole

* unified ghost holes

* Update vorestation.dme

* Update unified_ghost_hole.dm

corrected logging

* Update unified_ghost_hole.dm

aaaaa typo. also some general message phrasing tweaks.

* Update unified_ghost_hole.dm

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-10-16 23:21:07 -04:00
Kashargul fb2d17c073 fix ghost pods (#18404)
* fix ghsot pods

* qdel

* .
2025-09-03 01:02:20 +02:00
Kashargul 6f1d6c524d Simple mob port [IDB IGNORE] (#18236)
* first adjustements

* few more

* construct

* next

* next set

* next

* next

* next

* next

* next

* .

* last non modular set

* make it compile

* .

* .

* change that

* synx

* teamush

* override fix

* TEAMUSH

* adds organ sell element

* adds pick color

* get rid of these chompcomments

* removes chomp comments

* Update gaslamp_vr.dm

* zipgun

* zip and synx

* fixes synx

* Update topic.dm

* move the trash verbs

* .

* .

* .

* port

* Update rakshasa_trap.dm

* Update slug.dm

---------

Co-authored-by: C.L. <killer65311@gmail.com>
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-08-22 17:24:51 -04: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
Kashargul 9685826f7f some more grep checks (#18249)
* some more grep checks

* .

* dependency up

* fix dels

* clean up qdel macros
2025-08-14 14:24:49 +02:00
Kashargul 39a0bcd60e Encode changes (#18052)
* change encode

* guhh

* .

* .

* .

* Update code/game/antagonist/antagonist_objectives.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/clothing/spacesuits/rig/modules/specific/voice.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/news/new_newspaper.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/admin/DB ban/functions.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/tgui/modules/communications.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-08-05 00:19:22 +02:00
Kashargul 873827d5f5 fix simple mob bellies on admin spawn (#18036)
* simple mob adnmin spawn

* .

* also fix that

* rid of that sin

* .

* wording

* unfuck

* .

* ...

* cleanup

* .

* .
2025-07-24 14:01:26 +02:00
Kashargul 3735a31e05 Fix a bunch of issues and runtimes (#17951)
* selection target

* ugh

* fix deadmin

* larger

* fix paper icons

* those are inverted

* don't miss that

* fix all

* point transfer

* add nostrip flag to items

* un....  teppi

* .

* end life proc after qdel

* this could be null in very rare cases

* this has a lot of sleeps, someday should be refactored and check for qdeleted

* needs to be an object

* qdel check this

* use the rsc properly

* wtf?

* .

* fix narrate

* .

* push

* inform user, null it

* .

* can be null

* fix maint lurkers

* .

* spans

* .

* fix that too

* urg

* fix distillery

* don't wrap them

* needs usr

* Update cash_register.dm

* quick hook cleanup

* lots of fixes

* .

* clean that up for reasons
2025-07-05 00:45:18 -04:00
Cameron Lennox 3b4bcef49b Better borg modules (#17507)
* Combines all the engineering borg tools into one multitool

Sprites from /tg/
Combines:
Wirecutters, Crowbar, Welder, Wrench, Crowbar, Screwdriver

* this is a WAY better way to do it

* a

* dont worry about overlays anymore

* Better grippers and better lists

In which I go insane having to continually patch exploit after exploit in gripper code, resulting in it looking like a mad man's scribbles.

* No deleting shoes when putting them on someone

* empty pocket is now empty

* RENAMING stuff instead of copypaste

* MORE borg stuff

* more bugproofing

* Admin proc

* this

* this

* Framework for TGUI

* Update robot_simple_items.dm

* Fix

* Framework v2

* Update ModifyRobotMultiBelt.tsx

* goooo

* Update modify_robot.dm

* modify

* sub category

* .

* string to define

* some globs

* more

* .

* .

* .

* add sanely

* push that real quick

* .

* sanity

* .

* .

* .

* .

* .

* .

* .

* Cut

* .

* gives to those that need

* push

* clean up

* auto fix

* .

* .

* .

* getmodule

* Update robot_simple_items.dm

* .

* untyped

* Update stack.dm

* .

* .

* .

* .

* -

* .

* Update _map_selection.dm

* Update _map_selection.dm

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-06-19 18:56:26 -04:00
Will cbd3f1ea2b Dna, Bodyrecord, Xenochi Revive Refactor (#17732)
* changeling fix

* Move body spawning into BR

* small fix, organization

* replace xeno regen

* Body descriptor system removed

* Revert "Body descriptor system removed"

This reverts commit 04a0aa3ac8.

* massive bodyrecord copy refactor

* this too

* dna copying is now sane

* make a merge easier

* better file for this

* may we ensure peace everlasting

* linter

* oops, missed the test

* fixed up

* furthering the test

* different way to check

* looking promising

* required exclusions

* more test

* another tweak

* setup better

* globin

* test name change

* really mess up that monkey

* gradient style to UI entry

* scramble ignore

* illegal species

* scramble fix

* grad fix, more test fixes

* doing that right

* need these too

* missed defferal

* missed pathing

* documentation wall

* blood color needs a safety

* promethean prep

* this early set isn't needed

* some protections

* fixed waddler nulltest

* failure test

* intensify scan

* second fail test

* noticing

* dna test case

* other dna test case

* Test is bunk

* huge dna cleanup, better signal

* don't edit these

* documentation

* Do not use loc = src.loc

* oops

* Use weakrefs in pods

* remaining weakrefs

* reduce changes in pr

* cloning computer does not rotate itself when used

* moved body design to new BR code, and fixed screen size

* badlinting

* updated

* No instakilling teshari

* jiggles you

* TGUI

* move along

* m ove it

* Update AppearanceChangerMisc.tsx

* this too

* gender is race whoops

* Allow old clonepods too

* xc

* further encapsulation and some fixes

* oops

* misc not race

* separated that

* custom footsteps exchanged

* Custom speech bubble and xenochi stuff

* Update xenochimera.dm

* remove digileg snowflake

* try this

* Update xenochimera.dm

* proper close

* Always update our DNA

* awa

* extremely laggy check removed, actually useless

* explaining

* lower delay time

* slower jigglin

* Revert "slower jigglin"

This reverts commit c801f7d7f5.

* disable appearance editor due to various issues

* Promie love

* xenochi vanity test

* lmao

* earwings

* wording and slot revival

* mobvar?

* Phasing out specific shapeshifter appearances

If you have access to changing your icon, you can change whatever you want.

* saveslot loading

* more

* synth

* Shoot out limbs

* almost ready

* nullcheck

* xenochi revive handles size and weight correctly

* weaver cocoon updated xenochi internal record after tf

* cannot remove from lost limbs

* limbs properly respawn on slot revive

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-06-09 08:20:42 -07:00
Will c213dbcd21 Reagent Addictions (#17498)
* Addictions

* improvements to addiction code

* some small revamps

* some polishing to reagent code

* some more fixes

* wiki updated for addiction

* proper addiction sync on respawn

* final cleanup, config

* coffee handle addiction proc

* fixed global var

* Addictions and

Gives alcohol special effects
Disables the harder addictions
Gives nicotine an a special effect

* remove >0

* safety

* Update medicine.dm

* Update medicine.dm

* Update food_drinks.dm

* update lazydefines

* disable alcohol addiction on virgo

* use lazylen, proper addiction end messages

* cure message bugfix

* use right args

* proper macro

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-05-15 10:57:41 -07:00
Kashargul f6a99359a9 move invisibility to defines (#17612)
* move Invisibility to defines

* .

* .
2025-04-27 16:47:53 +02:00
SatinIsle 152118c1d4 adds missing SIGNAL_HANDLERs (#17585)
* adds missing SIGNAL_HANDLERs

Added missing SIGNAL_HANDLER lines to many RegisterSignal() proc refs.

* Oopsies
2025-04-26 21:50:50 +02:00
Selis 21dcf0555b Conversion many Globals to Managed Globals (Part 1) (#17121)
* Conversion of some Globals to Managed Globals

* Fix

* for later

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-17 14:16:53 -04:00
Cameron Lennox 2e38926234 Removes sleeping from the code in more places (#17418)
* Axes unused 'paused' variable from projectile code

* Remove TGUI in scrubber init

Moves it to only happen when a user interacts with it.

* Ghostpod tgui input from init -> LateInit

Ghost query REQUIRES a tgui input. It can't be fixed on that level.
Ghost pods however created a ghost query when spawned if they are NOT mapspawn. This means it can only be moved to lateinit, as far as I can see

* Moves borer ghost query from init to lateinit

* Better mob chasing. Gets rid of sleep in mob chasing

Moves Noodle's and Ian's snack tracking var to base /simple_mob
Moves Noodle's and Ian's tracking process from a individual proc of each to /simple_mob
Moves the sleeps out from the tracking proc and makes it a repeating timer.
Noodle now gets nutrition when you feed him.

* Moves blob query to lateinit

Once again, blob HAS to do a ghost query when it's created.
Ghost query will ALWAYS make a tgui window.

* No sleep in cyborg code

Moves pick_module() from /init on robot_module to /LateInit on /robot
photo showing it popped up the module select when I spawned in as a borg: https://i.imgur.com/5rGbqIR.png

* Moves AI controlled human's 'death' proc to LateInitialize

* Moves Corpse's processing from Init to LateInit

death() has a LOT that happens inside of it.

* Let's actually make it lateload on the human itself

* In case we don't want to auto kill ai controlled mobs

* Fixes death() some more

- Protean blobs will ALWAYS have a humanform, so that segment of code was unused.
- Makes the bulk of the exit VR section in a new perform_exit() proc
- Gets rid of the WIP proof of concept hack in there.

* whoops duplicate

* We will ALWAYS have a humanform. ALWAYS.

The server will CRASH if we do not.

* get rid of this...

* Makes corpsespawn work better

* more VR stuff

* No suspending the whole machines subsystem

* avatar

* as anything

* u2

* nolist

* forgot this one

* fix

* VR fix

Fixes an oversight with VR sleepers

* player initiated

* OVERSIGHT

* Update borer.dm

OF course WE DON'T have a mind, we're a GHOST.
Fixes borer spawning

* this was unused

no
2025-04-07 17:16:07 -04:00
SatinIsle d9f3690dd5 Redgate Inhabitants (#17382)
* Redgate Inhabitants

Added a new subtype of maint lurker spawns to each redgate map. These ghost pods spawn you in a similar way, but because they are guaranteed spawns, they do not allow you to use the redgate to leave. Any person with redgate access can give permission to these people simply by clicking on the redgate with an empty hand when they are nearby. This is explained to the redgate inhabitant on spawn and when they try to use the redgate.

* Requested fixes
2025-03-20 16:27:31 +01:00
Cameron Lennox ba029d73ad Refactors ghost query to not use sleep (#17267)
* Refactors ghost query to not use sleeep

* Update ghost_query.dm

* don't need this anymore
2025-03-12 16:58:25 +01: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
Selis 7a7ae89713 [MAJOR CHANGE] Admin rank datum (#17133)
* Admin ranks update

* Permissions fix

* One missing thing

* Further rework to make database also fully work

* Adds admin rank bitflag calculator to tools

* ZA WARUDO

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-03-06 01:38:19 +01:00
Kashargul f9e7b44dae cleans up INIT (#17130)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-02-13 23:28:01 +01:00
Cameron Lennox 3ac6fb4edf Revert "new to init (the rest of them) part 1 (#17052)" (#17084)
This reverts commit d02c67d6de.
2025-02-07 11:09:08 -05:00
Cameron Lennox d02c67d6de new to init (the rest of them) part 1 (#17052) 2025-02-05 14:05:41 -05:00
Kashargul 987be6070d bunch of inits without return and a few easy new to init (#16815)
* bunch of inits withou return

* Update cans.dm

* bunch of New to Init

* fix that

* .

* .

* move black hole to init and callbacks

* .

* oups, should not do that late at night

* some more without returns
2025-01-02 18:31:38 +01:00
Kashargul b324befde5 On demand belly loading & multibelly (#16758)
* Moves simple mob belly loading to on demans

* style

* early

* multibelly

* even more human

* .

* bunch of update_fullness

* animals need an icon refresh

* the icon has the fullness part, optimize that

* one more
2024-12-28 09:41:42 +10:00
SatinIsle 3343f4e0d0 Fixes maint pred spawning (#16699)
Fixed maint preds spawning without placing the user inside of them.
2024-12-16 10:01:29 +10:00
Killian 6306e5b6ca Update event_vr.dm 2024-12-04 12:53:11 +00:00
Killian 01813cd4d0 maint lurker setup 2024-12-04 12:22:40 +00:00
Killian 2e91c505c3 Update event_vr.dm 2024-12-04 09:28:49 +00:00
Killian e937788c58 Update event_vr.dm
fix up spans for the other pods, some other minor adjustments
2024-12-04 09:27:02 +00:00
Killian 69a1609848 straggler pod: job/role WIP 2024-11-27 10:37:57 +00:00
Killian 5ab76e74f5 straggler pod: text polish 2024-11-26 18:30:01 +00:00
Killian 353d53a385 straggler pod: prevent whitelist bypass 2024-11-24 08:47:52 +00:00
Killian 9b55d89a8e maint straggler hole 2024-11-24 07:05:19 +00:00
Kashargul ba9b3e3676 include renaming 2024-11-11 08:53:52 +01:00
Kashargul b594520a74 next set of spans (#16434)
* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
2024-10-16 23:37:27 +02:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Kashargul e0d694e8ac rid of old span macros 2024-10-01 23:51:48 +02:00
Guti f4f5476121 Merge branch 'master' into weapon-removal 2024-09-18 18:07:43 +02:00
Kashargul a123f87e68 some mind jobs 2024-09-12 23:48:31 +02:00
Guti 409aaba802 Remove 2024-09-09 02:36:53 +02:00
Kashargul 2f19f66cc5 default tgui alert input handling (#16241)
* default handling

* do not push that

* fix

* .

* .
2024-09-02 04:27:26 +10:00
SatinIsle 029cae3d27 Maint Pred Availability (#15911)
Added a new maint pred ghostpod for redgates. I have added two of these to redgates that I made only (for now). They are normal ghost pods but are always available from the start of the shift. The can be found in the find ghost pod verb and are called creature holes.

Made a lot more mobs in my own redgate maps ghost joinable. Generally one of each type of mod that isn't a humanoid.

Added a 25% chance for each mob to become ghost joinable from the semi-random vore mob spawners used in redgates. This applies to the passive and retaliate spawners only.

Also made the other redgate maps available on the SD again.
2024-04-10 05:18:47 +10:00
SatinIsle 8b71cf692f Jungle Redgate and New Vore Mobs (#15889)
* [WIP] New Vore Mobs

Added new vore mob: Cave Stalker, a 6 legged canine/feline like creature that charges at prey from a distance to pounce them. It immediately stops on the spot if spotted and then retreats quickly if stared down.

* Fixed missing file

* More mobs, still WIP

* More stuff! [Still WIP]

Added another mob called the sonadile that works based on sound similar to the lurker.

Added a bunch of mobs to the maint pred list, including the kururak because that's a cool one.

* Update vorestation.dme

* Update sonadile.dm

* Another mob and stalker tweaks, still WIP, need to add flavour text for all mobs

* Update devil.dm

* Update stalker.dm

* Even more maint pred options

* More Capture crystal mobs

* Finishing touches, no longer WIP!

* Update vore_raptor.dmi

* Added the jungle map redgate

Also resolves a runtime with the scrubble.

Forces jungle redgate only for the first few days at least.

* Update jungle.dmm

* Update jungle_underground.dmm

* Update paint.dm

Fixes paint runtime
2024-04-07 10:34:24 +10:00
Kashargul 3e82757231 Attempt to prevent players joining with neither OOC notes nor flavour
-> Added a check on the "Default" robot flavour text for players joining as robot. Default is overwritten by module specific text, but anyone setting those specific ones up most likely has a default one anyway.

-> Added a check for OOC notes texts for ghosts trying to activate a ghost pod or getting ghost even popups.

-> Mouses and drones have not been included for either as some players prefer to play them sneakily. Can be discussed.
2023-10-21 20:25:49 +02:00