Commit Graph

1189 Commits

Author SHA1 Message Date
Cameron Lennox
a0e9785d0d Kitchen Sink P2 TGUI Prefs (#17579)
* Kitchen Sink V2

* tsx

* Update vorestation.dme

* Update 01_basic.dm

* Update 01_basic.dm

* Deletes the character  directory

* F & M tags

* Flexible

* Update misc.dm

* ICP

* more fixes

* missing sounds
2025-04-26 16:08:58 -04:00
Kashargul
e5d5b3769a ss atoms update (#17529)
* draft ss atoms update

* .

* .

* .

* low wall

* do that when not asleep

* late init handling

* .

* smes

* try this
2025-04-24 00:00:57 +02:00
Cameron Lennox
9b0bb5f814 Makes FBP not go blind from welders (#17493)
* Makes FBP not go blind from welders

Also makes it so the eye color verb is actually attached to the eyes.

* Different way

* gwah
2025-04-21 18:24:28 -04:00
Cameron Lennox
ed7a9dabf3 Bloodpump (#17549) 2025-04-21 18:17:08 -04:00
Guti
640cab345e Virology Update #3 (#17227)
* Base stuff

* Thresholds

* Cockroaches, adjustments

* Extrapolator + TGUI Update

* Adjustments

* Updoot

* Revert "Updoot"

This reverts commit 8c27a2525e.

* Gwuh

* test

* heals

* Genetic

* Holder and vomit

* Indents

* Compilable :)

* Various fixes

* Updates Symptoms

* Genevirus

* Neutered Symptoms

* Adjustments

* rads

* Extra symptoms

* Extra extra symptoms

* Adjustments, fixes, more symptoms

* Powder that makes the linter green

* Finishing touches?

* Fixup maps in TGM format

5041170ae1: maps/expedition_vr/beach/submaps/quarantineshuttle.dmm

Automatically commited by: tools\mapmerge2\fixup.py

* Last bits

* Defines

* Oxy heal

* I crave the green check

* fix

* Maps

* Macrophages to turf

* Fimxes

* Fixes :)

* Vomit

* Preset

* Fire desc

* SPELLING MISTAKE

* Extra stuffs

* types

Allows infecting children of a type

* feet

paws?

* fix

* Fixes

* Update

* Flags

* Update _disease.dm

* Infinite blood glitch (100% real)

* virus data properly carries over

* GODSPEED, KELENIUS

YOUR 10 YEAR TODO IS FINALLY DONE

* define

* U2

* Implicit

* Damn it Fleming

* oops

linter is kill

* Update _reagents.dm

* Extra check

* .

* ough

* fixes

* Small changes

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-04-21 06:12:15 -04: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
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
0fea5390b1 Fixes a limb augment oversight (#17527)
Fixes an oversight that meant that limbs had to be screwdrivered twice to be attached
2025-04-14 05:56:29 -04:00
Cameron Lennox
931ad65f43 VR fix (#17508) 2025-04-12 00:16:22 +02:00
Cameron Lennox
d4e4c8268c Medical Adjustments (#17455)
* Defib and tank

* Defib, CPR, and stabilizer changes

qol: Defib now informs you WHY it's failing, so you can properly fix the problem.
balance: CPR can now REVIVE people if their HP is below a threshold with a 10% chance per CPR usage.
balance: CPR will cause the recipient to metabolize reagents.
balance: CPR now has a small chance of causing brute damage and rib fractures to the chest.
balance: Patient Stabilizer will cause the patient to metabolize reagents if dead.

* Broken bone fix

A fracture has a random chance of shifting around inside the first time you break it.

* shadekin runtime fix

* tgui

Adds two new TGUI states - living and living_adjacent
Fixes tram to allow mobs (and robots)

* Vital Organ chance fix

* flip flop
2025-04-07 04:58:56 -04:00
Will
8504acbcf7 Dna clone fix (addendum) (#17470)
* dna vars to organ data

* bandaid for species

* get species data

* species cache in dna

* 200 runtimes fixed

* macrocoding

* small cleanup

* Seromi don't exist

Convert

This variable was NEVER EVEN USED

* extra tab fix

* pointless if removed

* use the correct flags

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-04-03 22:48:19 +02:00
Will
1da1cad936 DNA Clone Fix (#17466)
* dna vars to organ data

* bandaid for species

* get species data

* species cache in dna

* 200 runtimes fixed

* macrocoding

* small cleanup

* Seromi don't exist

Convert

This variable was NEVER EVEN USED

* extra tab fix

* pointless if removed

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-04-02 21:41:03 +02:00
Kashargul
e24f0635d9 fix diona xenoarch organ init (#17460) 2025-03-31 15:41:20 +02:00
Cameron Lennox
c42610c5ae Have you bingled that (#17407)
* Initial wiki system

* wiki organization and spoilers

* hide belly chems

* move ads to tgui

* add search

* .

* load screen

* error screen

* 8

* center

* .

* .

* make this more realistic

* tgui errro col

* move search to top

* .

* non NT theme

* logo to common

* base custom theme

* .

* wip refactor

* almost halfway

* reworked wiki data

* easy fix

* get data fix

* Material Page in tgui

* catch null supply points

* .

* forward crash

* reset pages

* .

* canvas prep

* fix icon stacking

* .

* colored outlined images

* fix sm datum

* fix material names

* subType prep

* only on crash

* fix null crash

* .

* fix solgov

* clean hiding

* .

* implement catalog page

* .

* particle smasher page

* I'm lazy

* unfuck some sins

* ore page

* botany page

* allergen list

* allergen returns null too

* slime injection var

* slime core data

* fixed warning

* wip

* proper data list for chems

* pass is_slime as null

* chems

* split that

* .

* .

* .

* .

* donation for bingle, some cleanup

* return types

* partially colord icons for chemistry

* .

* more sillies

* donation page

* thaler

* needs some variation

* .

* this will crash until implemented

* handle it

* fix that

* dismiss donation banner button

* .

* fix that

* donating procs

* donation stuff for comp

* -

* drink glass for drinks

* illegal iconstate pass

* fixes

* .

* nuke drink fix

* .

* .

* .

* Drink reagent fix

* more cleanup

* adjust

* .

* simple food

* .

* food list

* sending nulls, removed flavor from recipes

* .

* .

* get_donation_current added

* .

* missing key

* .

* duped recipes fixed

* .

* .

* wiki food reagent recipes

* double list add

* properly forbid remaining bad reagent

* hide this too

* stacky

* enable eslint const

* fix typing

* update that

* use proper donation proc

* printing fixes

* grinding

* .

* beaker fill volume

* plant ore and mat grinding results

* duped recipes fixed, unit test tweak

* yes this is terrible

* .

* .

* .

* chem analyzer tgui mode, some subsystem changes to support it

* redoce

* .

* ,

* .

* small fixes, missing reagent volume

* push

* sort

* catalog entries unlocked by explo

* new chem stuff

* .

* fix byond code

* fix scroll tracking

* comment

* alphabetical

* also this

* .

* fallback icon

* .

* ...

* rel path

* that too

* to defines

* organ to define

* .

* .

* .

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-28 19:00:50 +01:00
Cameron Lennox
34537c70ee Consolidates Species Files (#17293)
* Consolidates the species _vr override files.

* Bugfix: Moves xenochi brain var to base brain

* gluttony

* Moves teshari to station.dm

They ARE station crew, after all.

* byebye

* RIDICULOUS

* ears

* this got lost

* this needs real unfucking

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-24 18:00:11 -04:00
Kashargul
2556102719 only tab indentation (#17408)
* only tab indentation

* .
2025-03-23 15:28:15 +01:00
Cameron Lennox
0b366a90f9 Trait Adjustments (#17392)
* Trait Adjustments

- Disables tourettes
- Disables Rotting Genetics
- Disables xray
- Swaps Anxiety Disorder name to Nervousness
- Censored moved to Neutral (RP trait)
- Nervousness moved to Neutral (RP trait)

* Better Tagging

* these too

* what the fuck

i dont even have an explanation for this
2025-03-23 10:50:09 +01:00
Cameron Lennox
f4257e9d76 More unarmed fixes (#17276)
* removes vore

gif showing vore still works https://i.imgur.com/Vda4yns.gif

* More unarmed bugfixes

* No crawling while grabbed

* lazylen and return early
2025-03-20 16:42:52 +01:00
Cameron Lennox
17ec1d700b Removes more sleeps from init (#17332)
* splits emotes into original (custom_emote) and automatic (automatic_custom_emote)

* no copy paste

* immunosuprizine touchup

* srcining
2025-03-16 18:11:04 +01:00
Kashargul
c8aff28c5b space cleanup (#17300)
* space cleanup

* this

* this too

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-03-14 06:37:13 -04:00
Kashargul
1def015bad end of file Fix (#17308)
* end of file Fix

* fix those lints too
2025-03-10 16:15:35 -04:00
Cameron Lennox
ac9d664953 Disabled legs trait (#17271)
* spine disability trait

* scanner shows it too, dna injector

* proper path

* synths don't count

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-03-09 15:04:42 -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
Cameron Lennox
ae94adba25 Various medical features and adjustments. Kiosk rework. (#17210)
* Various medical fixes. Kiosk Rework.

qol: Reworks the medical kiosk to have use. It now dispenses small amounts of painpills and medications to help stabilize you to get you to medical before you croak.
qol: Lungs no longer IMMEDIATELY risk popping if you forget internals for one second. You now have gradually accumulate damage over time. Get those internals on quick!
qol: Infections now give you a better alert that it's an INFECTION you have instead of just a random 'you feel itchy' so players are less blindsided by infections.
qol: Adjusts the text that you get when you suffer internal bleeding. Now it sticks out more during fights so you can know you have IB and get to medical quicker.
add: Makes the medical kiosk actually DETECT more issues than before. Now it actually does a full body scan on you to see what's wrong with you!
qol: Crayons and markers are no longer the strongest poison in the game. One crayon won't OD you anymore, but two will. One marker can still OD you with disaster effects if you eat it entirely. OORAH
fix: Crayons and markers get properly added to your stomach
fix: inaprovaline PROPERLY affects internal bleeding now.
qol: Putting pressure on an external wound will put some pressure on arterial bleeds as well, helping decrease (but not entirely stop) bloodloss.
code: Changes a few sections in the code to use REAGENTS_OVERDOSE instead of just a plain number.
code: Gets rid of a few //EDIT comments for better code quality.
code: Moved internal wound handling to handle_blood()

* Flavor adjustments

* words hard

* Fixes CPR as well

Fixes CPR bug

* Vox can be defibbed

Still can't be resleeved, but you can shock them back to life.

* cpr bug fix electric boogaloo
2025-03-06 13:17:24 -05:00
Kashargul
cb56adaa37 more font tag replacements (#17123)
* more font tag replacements

* few more

* more span conversion (#9)

---------

Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
2025-03-01 11:58:58 -05:00
Kashargul
2ae6355aff more new to Init (#17147)
* more new to Init

* fix pumps

* style update

* fix atmos memory leak

* fix mech

* qdel in here

* Update hands.dm

* Update rings.dm
2025-02-16 00:16:15 +01:00
Cameron Lennox
96381f94f1 Better Block Injectors (#17128)
* Better Block Injectors

* makes it pass

* .

* Update human_organs.dm

* fixes blood v2

* save

* gwah

* update appearance

* resolve

* Update computers.dm
2025-02-13 06:27:14 -05:00
Kashargul
9a6f44b850 some more NEW to init (#17093)
* some more NEW to init

* Fixes cloning disk

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-02-12 07:51:26 -05: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
b037bb9b36 mmi holder init (#17100)
* mmi holder init

* who changed that

* .

* .

* .

* fixing

* .

* -

* .

* add this
2025-02-08 23:03:47 -05:00
Kashargul
bb6a263e2f organs NEW to INIT (#17050)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-02-07 12:30:20 -05:00
Cameron Lennox
2e4f1ce642 (Partially) Fixes Out Of Memory crashes (#17043)
* 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

* Fixes deadringer not properly deathgasping the right entity

* Wounds properly get delted off destroyed limbs

* Update vorestation.dme

* Runtime fix & DNA lock fix

* More qdels

* qdel

* comment out
2025-02-05 14:02:17 -05:00
Cameron Lennox
91e6eb19b9 Augment Adjustments & Fixes (#17038)
* Fixes limb augments being borked for robotic limbs

* Fixes augment melee from embedding

* Makes a bunch of the augments actually CRAFTABLE

* typo
2025-02-05 13:57:01 -05:00
Kashargul
bbed406b2e remove old inputs (#17008) 2025-02-01 14:23:25 -05:00
Kashargul
7be621e7c3 usr to user part two (#16884)
* usr to user part two

* this can be null

* A few edits

- Gets rid of src. in a few places that were edited
- Gets rid of a few //VORESTATION comments
- Removes an unneeded sanity check in sizegun_vr
- Gets rid of a mind boggling !usr check in mob.dm
- Changes usr to user in sizegun_vr.dm

---------

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: C.L. <killer65311@gmail.com>
2025-01-30 17:17:46 -05:00
Kashargul
e88ba26a8a Fixes up some more icon and map issues [MDB Ignore] (#16914)
* Fixes up some more icon and map issues

* change those
2025-01-25 11:16:14 -05:00
Kashargul
e21e3d25c9 properly forwards the user on dropped 2025-01-12 16:46:37 +01:00
Kashargul
59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Cameron Lennox
405bf22122 Revamps limb-loss code (#16803)
* Revamps limb-loss code

- Makes it so everyone isn't at squishy as necromorphs
- Adds in a threshold for 'how damaged this limb needs to be prior' UNLESS you are dealing MASS DAMAGE to the limb, in which case it needs to be >1/2 the limb's hp (NOTE, GREATER THAN, NOT >=. This means the Eblade can not 1hit arms/legs)
-Vital limbs divide damage recieved by 1.5x making it harder for them to hit the threshold to actually take vital limbs off.
- When limbs enter 'critical state' (They were already at max damage and has been damaged even further) they are 3x more likely to get chopped off.

- Projectiles are WAY too strong and have been WAY too powercrept. Damage dealt by them is divided by 1/2 for all of limbcode, meaning a 60 damage revolver is the equivalent of being hit by a 30 damage attack. If this is dealt to the head,  this is the equivalent of being hit by a 20 damage attack. (no delimb)

- Fixes a bug where sharp weapons were TRIPLE DIPPING their delimb chance.

- Gets rid of brute weapon tearoff. They ONLY have the gib chance now.

- Chances for objects removing your limbs has been HEAVILY lowered.

* I guess mobs get projectile as well now
2025-01-06 06:43:30 +10:00
Kashargul
3094e65b71 intent cleanup (#16825) 2025-01-03 08:14:28 +01:00
Kashargul
2876996214 some more strings to defines (#16810)
* some more strings to defines

* fix init order

* .

* .
2025-01-02 08:34:09 +01:00
Kashargul
e6ef8b0f2c resize limits and designer / dna update (#16807)
* resize limits and designer / dna update

* .

* genes to mobs

* .

* Update designer.dm

* Update designer.dm

* species cleanup
2025-01-01 18:23:20 +10:00
tacoguy7765093
e2ad13d766 fixes mmi holders making 2 brainmobs on re-inserton of MMIs in FBPs (#16772) 2024-12-28 20:34:02 +10:00
Cameron Lennox
8eeaa392b0 Makes limbs able to be chopped off with reasonable limits (#16766)
Moves around limb code a bit to make cutting/destroying limbs ACTUALLY possible.

Previously, destroying a limb required you to:
1. Reach the person's max_damage to even let you start having a _chance_ to destroy the limb.
2. Have to have a REALLY strong weapon to destroy/cut limbs. We're talking about a weapon requiring 50 to 80 damage depending on the limb to destroy it.
3. Even IF you managed to get a weapon that could destroy a limb, you STILL had a random prob() based on the damage dealt in that blow.

This changes it so instead of requiring you to reach the limb's max_damage to start having chances to drop, it makes it so limbs have two factors: How damaged the limb currently is AND how strong the blow it.

This still has thresholds. You can't grab a 5 damage butterknife and chop people's limbs off. But if you step in a 30 damage beatrap, or have a 45 damage rock drop on your hand, it might actually get gibbed or knocked off!
2024-12-28 09:40:20 +10:00
Guti
be191f41f3 Merge branch 'master' into viro-fix-5 2024-12-10 18:39:21 +01:00
Guti
7dbfea8169 Fixes 2024-12-10 18:31:53 +01:00
Kashargul
1a2c2c0764 plants 2024-12-08 05:51:35 +01:00
Kashargul
1d8d5b34b5 medicine.dm 2024-12-07 02:10:10 +01:00
Kashargul
a12a4d2d5e toxins.dm 2024-12-07 01:03:25 +01:00
Kashargul
939fcbb488 Merge branch 'master' into reagentToDefines 2024-12-06 21:57:14 +01:00