Commit Graph

42 Commits

Author SHA1 Message Date
Cameron Lennox
d5849910e5 Begin clickcode attack_self fix (#18797)
* Begin clickcode attack_self fix

Begins the work to make everything call back to parent for attack_self so that signals are sacred.

* Makes MORE things call the attack_self() parent

Yes, I could make special_handling a var on obj/item HOWEVER i want it to be specific so it can be tracked down later and ONLY the objects that use it can be refactored instead of sitting there literally forever and it just becoming 'a thing'.

* Finishes making the rest of attack_self call parent.

As mentioned, things such as 'specialty_goggles' 'special_handling' and the such are only there to help with attack_self until the attack_self is recoded for those items.

* begone foul demon

* some more cleanup

* These

* GOD this was annoying

* yeh

* Fix this

* fLARES

* Thesee too

* toys!

* Even more!

* More fixes

* Even more

* rest of em

* these too

* Update syndie.dm

* hardref clear

* Update code/game/gamemodes/nuclear/pinpointer.dm

* Update code/game/objects/effects/mines.dm

* Update code/game/objects/items/blueprints_vr.dm

* Update code/game/objects/items/blueprints_vr.dm

* Update code/game/objects/items/contraband_vr.dm

* Update code/game/objects/items/crayons.dm

* Update code/game/objects/items/crayons.dm

* Update code/game/objects/items/gunbox.dm

* Update code/game/objects/items/gunbox.dm

* Update code/game/objects/items/gunbox_vr.dm

* Update code/game/objects/items/gunbox_vr.dm

* Update code/game/objects/items/weapons/gift_wrappaper.dm

* Update code/game/objects/items/crayons.dm

* Update code/game/objects/items/crayons.dm

* Update code/game/objects/items/gunbox.dm

* these too

* Update maintpanel_stack.dm

* angry warning

* Fixes packaged snacks.

Fixes improper var default.

* Special handling for these

* proper poly types

* Fixes magclaws

Makes the 'features' it had just part  of base magboots that can be adjusted via varswap.

* Fixes jackets

Fixes https://github.com/VOREStation/VOREStation/issues/18941

* Small bugfix

Makes p_Theyre properly capitialize
Makes examine show proper wording

* Update gift_wrappaper.dm
2025-12-29 13:21:10 -05:00
Cameron Lennox
9a8b885d38 Scannable chems and fixes (#18899)
* Scannable rework

Makes scannable have tiers.
WIP

* Some more adjustments

* Scanning

* Bodyscanner

* Some more fixes

Fixes amatoxin
Fixes synap not processing when drank
Makes fakedeath show up as braindeath, not massive O2 loss.
Makes zombie and lich powder show time of death properly

* Scanners for fakedeath

* This too

* Refactors bloodloss

* rounding
2025-12-26 05:19:36 -05:00
Cameron Lennox
f8826d6335 Surgery fixes (#18846)
* Surgery fixes

* Update organs_internal.dm

* bonebreaking!

* Mend the bone

* magic numbeers

* Update implant.dm

* Update implant.dm

* Update implant.dm

* Fixes the germs on internal organs

* Peri is needed again

* Optimize this

This was runtiming when you attempted to target a limb that was amputated.

Also optimizes the code a bit.

* Set to the correct open stage.

* Update medical_issues.dm
2025-12-10 09:55:51 -05:00
Cameron Lennox
9a2fa8b1cf More surgery tweaks and fixes (#18823)
* Surgery Defines

Adds some defines to surgery to make it easier to track how 'open' someone is instead of magical numbers.

* Make frankensurgery less punishing

Makes frankensurgery less painful.

Resleeving is a thing and is MUCH easier to do.

Having brain surgery apply a permanent debuff to people just means that the 'ideal' thing is to always resleeve/clone. This gets rid of the debuff.

* Setting vital in a few places

* Makes infected wounds not kill in stomachs

Wounds still accumulate in stomachs, BUT the germ level of the external organ won't increase while being digested, meaning you won't get massive infections while doing a long-digestion scene.

It was done here instead of in handle_germ_effects() so you can't just eat someone with major infections and act as a statis stomach.

* Internal bleeding tweaks

Makes internal bleeding slower if you have the IB cure (myelamine)
Makes internal bleeding not get worse if you have the dermal equivalents of bicard+inaprovaline

* Update neck.dm

* Some more aggressive reform healing

Makes reform healing do some more healing to bring them back. Instead of healing just 6, heals a flat 25 now of brute, fire, clone, and toxins.

It then sees if you're 'below revival point' and if so, it gives you a much stronger heal to ENSURE you are brought back.

* forgor to check this in the .dmi

This is what happens when you have minitest selected and have your .dme ignored by default!

* Update blood.dm

* this comment is no longer relevent

We have LVADs now!

* Makes tourettes not trigger more if you have slow pulse

This was presumably meant to increase your chance of a tic if you have a higher pulse, not if you have a slower/more calm pulse.

* More edits

* Update generic.dm
2025-11-27 23:39:50 -05:00
Cameron Lennox
c2b50ace33 Gets rid of hasorgans() helper proc (#18692)
This was just ishuman()
2025-11-08 03:30:32 +01:00
Will
203ae58380 More Remote View Fixes (#18688)
* Add status effect signals

* fix illegal assignments

* remote view drops on status effects

* missed

* protect turf decouple

* don't bother if we will just restart it anyway

* don't remove

* equiping items should end view too

* inconsistent login behavior

* this is triggering during laggy attach

* seems fixed

* keep order

* docing

* typo

* better doc

* lets try this

* keep old remote views for the decoupling
2025-10-30 01:22:28 +01: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
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
SatinIsle
85201d0981 Fixes some medical issue stuff (#18112)
* Fixes some medical issue stuff

Fixed medical issues not proccing for species that can't be infected.
Fixed medical issues so that they can be cured by ingested reagents too.

* Make the symptoms less frequent
2025-08-02 16:41:34 +02:00
Will
6f6ab0f281 Dizzy and jittery components (#18054)
* dizzy and jitter component

* no need for set_jittery

* minimize proc differences

* not needed

* jitter

* match old behavior

* jitter medical issue fix
2025-07-31 01:07:57 +02:00
SatinIsle
9122b653c8 Fixed symptoms with medical issues (#18068)
I was so caught up in testing the complicated stuff that I neglected to properly test some of the symptoms and got my mins and maxes confused!
Fixed some symptoms doing doing nothing and added a couple more options.
2025-07-25 12:01:34 +02:00
SatinIsle
2aca759d6a GM Tool - Create Medical Issue (#18033)
* WIP medical issue GM tool

* Progress

* Basics are now working

* Surgery!

Needs more testing for each step, but the few I tried worked fine.

* body scanner complete

* Completed and tested!

* Fixes my terrible TGUI stuff
2025-07-24 14:06:18 +02:00
Kashargul
15fe00b6e1 missing VV options (#17968)
* missing VV options

* .

* .

* code cleanup

* more vv options

* .

* .

* we also should set that
2025-07-13 15:58:22 +02:00
Kashargul
1890a567f1 mass refactor of holder checks (#17967)
* mass refactor of holder checks

* don't touch them

* fix

* .
2025-07-08 00:52:50 +02:00
Selis
47564346fb View Variables Update (2) (#17946)
* Begin

* Begin 2

* move to tsx

* fix that UI

* fix gib

* bunch of fixes

* fix this one

* Nicer ahelp bot text formatting

* clean up all inputs

* .

* fix MC tab

* fix ore spawn

* with rare

* More filter stuff

* Cleaned up world

* Fix

* ummm

* .

* fix that

* .

* Begin

* Begin 2

* move to tsx

* fix that UI

* fix gib

* bunch of fixes

* fix this one

* clean up all inputs

* Nicer ahelp bot text formatting

* .

* fix MC tab

* fix ore spawn

* with rare

* More filter stuff

* Cleaned up world

* Fix

* Added missing props

* useContext fix

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-07-05 23:01:00 +02:00
eghughguhhhhhh
c5006b5ae9 FUCK (#17892) 2025-06-21 18:47:41 -07:00
Will
5d31f14e94 Climbable Element (#17764)
* Initial work

* small fix

* another fix

* this better?

* proper type

* condensing this a bit

* functioning

* death reporting subsystemed

* fixed

* cleanup

* use proper sql sending

* listvar

* add more climbable things

* moving things while climbing them is considered shaking

* tabbing fix

* knockdown should stop climbing

* no need to bother

* spaces

* more climbable objects

* fix

* small fixes

* office climbables

* yet more stuff

* engineering things

* a few more

* it's funny

* fixes

* additional

* Moved to element

* some more stragglers

* unneeded

* more graceful

* cliffs require special handling

* don't do dumb init things

* unneeded sanitization, mass insert sanitizes

* some small condition fixes

* return if climbable

* incorporeal check

* stop using numbers directly

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-06-20 09:56:56 +02:00
eghughguhhhhhh
4b51bc94dc small fixes (#17753) 2025-05-29 03:26:38 -07:00
SatinIsle
919dce1a14 Collector event machine (#17751)
Added a new event collector objector that is designed for events where players have to gather items to complete a recipe. Has a lot of customisable options to create various types of machines with different functions, including one subtype set up for a near-future event.
2025-05-27 10:47:37 -07:00
Cameron Lennox
40861f50e0 Proper MaxHealth checks and Crit Point (#17704)
* Fixes maxhealth checks not including modifiers and mxHP

Death at:
W/ 100max hp: https://i.imgur.com/nR8DtzG.png
W/ 125max hp: https://i.imgur.com/87eD2hW.png
W/ 25max hp: https://i.imgur.com/SP6rPWc.png

* Crit Point

* small xenochimera fix

* Update game_options.txt
2025-05-15 00:25:30 -07:00
Selis
28e969778c code/global.dm => code/_global_vars/ (#17244)
* 1

* Full conversion

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 05:55:25 -04:00
Cameron Lennox
cdafe425a5 Adds Trait Genetics (#16921)
* Adds Trait Genetics from Outpost21

Adds trait genetics from Outpost 21
- Tried to update each file it touched to be equivalent to their Chomp specific variants in order to maintain functionality and make sure no oddities would happen due to code differences. (Some things like the eardeaf loop were left there but commented out)

* Morph trait

* Fixes a server crashing bug with flip

aa

* flip

* Makes morph superpower better

- Makes it use the appearance_changer instead of 1000 different  procs

- Makes cocoon weaver able to change eye and skin color.

I did NOT select you. BAD

* begone

* fix dna modifier

* Fixes massive memory leak

* Brain Runtime Fix

* There was no reason for this to be a spawn(0)

And no I didn't spawn with no blood - https://i.imgur.com/vPizqCD.png

* revert

revert the dna changes there

* Deconf

* gets rid of unused proc vars that did nothing

* expects enough free slots

* glob

* fixed and added two other tests

* another few tests

* this is a list

* fixed bad injector

* lets wrap these for sanity

* better feedback

* wrong name

* don't allow multiple occupants into the dna pod

* future traits will have activation levels instead of binary on/off

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-02-11 02:01:27 -05:00
Kashargul
59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Kashargul
3083f0b730 Adds a new ghost vis blocking area flag (#16696)
* Adds a new ghost vis blocking area flag

* .

* .

* .

* .

* .,

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* some more

* add admin verbs to add and remove areas

* .
2024-12-16 10:02:07 +10:00
Kashargul
32c9f971bc tgui usr to ui.user 2024-11-13 00:49:17 +01:00
Kashargul
4879a52633 Server maint subsystem (#16518)
* upports server maint subsystem

* fix runtime in admin z narrate

* .

* sorts them verbs

* .

* .

* Update code/controllers/subsystems/statpanel.dm

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

* Update code/controllers/subsystems/server_maint.dm

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

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2024-11-04 11:44:44 +01:00
Kashargul
a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Guti
ab9f92904c Deconflict 2024-09-21 14:42:17 +02:00
SatinIsle
9b7d12217a Generic item/structure fixes
Fixed activation text not appearing on generic items.
Fixed generic structure anchoring text being reversed.
Added a fear effect option to generic structures.
2024-09-20 11:25:50 +01: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
f13c34f8e2 Generic Machines Part 2 - Items and Effects (#15969)
Added a Generic Item and associated Eventkit verb Spawn Generic Item. Much like the Generic structure but is designed for hand held devices that can be picked up.

To both of the item and structure, added a bunch of options for effects: Sparks, Flash, Flicker Lights and Spawn Item.

Added the ability to upload custom sprites to both verbs, by selecting "Upload Own Sprite" from the list of sprites, along with some warnings that non 32x sprites will need to have their positions adjusted.
2024-05-09 10:08:30 +10:00
SatinIsle
a1b2e9c875 Generic Machines Part 1 - Structure (#15959)
Added a Generic Structure and associated Eventkit verb Spawn Generic Structure. This allows staff to create a structure with customisable interactions, ranging from whether it can be turned on, wrenched down and so on to how how long it takes to turn on, what text appears when it happens and if it plays a sound.
2024-05-04 16:51:48 +10:00
Kashargul
5cf2f911f3 Tgui ui fix (#15778)
* AccountsTerminal.jsx

* Autolathe.jsx

* ExosuitFrabicator.jsx

* Biogenerator.jsx

* AirAlarm.jsx and borg control fx

* SuitCycler.jsx

* small typo

* 3 more UIs

* MiningVendor.jsx

* CameraConsole.jsx

* MessageMonitor.jsx

* Nif.jsx

* localState deprecation

* ResearchConsole.jsx

* DNAModifier.jsx

* oups...

* remove vv rounding

* mob sapwner

* lineendings

* Communicator.tsx not nice to look at, but works

* adding bundle

* small chat dropdown patch

* Update tgui/packages/tgui/interfaces/AirAlarm.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/AirAlarm.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

---------

Co-authored-by: Selis <sirlionfur@hotmail.de>
2024-02-23 21:09:18 +01:00
Drathek
7c8bb85de3 Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings

* Whitespace changes

* Comment out merger hooks in gitattributes

Corrupt maps would have to be resolved in repo before hooks could be updated

* Revert "Whitespace changes"

This reverts commit afbdd1d844.

* Whitespace again minus example

* Gitignore example changelog

* Restore changelog merge setting

* Keep older dmi hook attribute until hooks can be updated

* update vscode settings too

* Renormalize remaining

* Revert "Gitignore example changelog"

This reverts commit de22ad375d.

* Attempt to normalize example.yml (and another file I guess)

* Try again
2024-02-20 11:28:51 +01:00
Runa Dacino
e3f3e416b8 adds: gm tool for creating prop pdas convo for events
* Creates new proc in pda/messenger.dm to handle fake conversation creation
* Creates new eventkit datum and holder var on client for remembering identitities
* Creates new proc as eventkit R_FUN verb for managing prop identities
* Creates new proc on pda to create a fake event prop conversation in new eventkit
* Creates new topic in admin/view_variables/topic.dm and helper.dm to call new proc on pda
2024-02-08 16:08:18 +01:00
Selis
8c0f6e4b94 Health & Damage 2023-09-13 00:43:05 +02:00
Runa Dacino
a72016aad5 adds: Ability to set mob ai to "MobSpawner"
Adds new interface element to the "Mobspawner"
- AI Settings Section (besides position settings)
- -  Button to toggle custom/default AI values
- -  Button to select predefined AI types
- -  Button to sanitized text input ANY faction
- -  Button to select predefined attack intents
- -  All above buttons default to the mob's type definition, unless unsafe, then they instead use hardcoded defaults
2023-07-30 11:48:04 +02:00
ItsSelis
186c284277 Mob Spawner improvements 2023-06-07 15:18:53 +02:00
Runa Dacino
cee4575856 Removes eventkit from non-staff browser
* Changes Open Mob Spawner to be a proc
* Adds Open Mob Spawner to admin_verbs_spawn
2023-06-04 01:18:03 +02:00
ItsSelis
d092acd7e1 First version of MobSpawner 2023-06-02 22:38:05 +02:00