Commit Graph

1721 Commits

Author SHA1 Message Date
Cameron Lennox
f1f51a597c More PSG changes (#17503)
* Berserker PSG

* Makes PSGs more acquirable.

- Makes PSGs more acquirable
- Standardizes the PSG names (PSG Variant-XXX)
- Adds the PSG-BIO to the CMO's locker and CMO supply crate(Just reduces toxin/oxygen/clone attack damage taken)
- Adds the PSG-Melee to the Pathfinder locker
- Adds the PSG-BIO to the Pathfinder Medic locker
- Adds the PSG-S to HoS locker (and HoS supply pack)
- Makes it so the Exploration shield pack has a melee and upgraded mining (mob combat) PSG
2025-04-21 18:25:05 -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
Cameron Lennox
de68694e8c Projectile fix (#17558)
* Turret fix

* gets rid of hardcode

* Fixes fragmine miss chance

Makes it actually work with the new projectile system.
Makes it not have a 100% dodge chance if you step onto it

* do the shuffle
2025-04-21 05:19:48 +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
Cameron Lennox
168a4e2279 Removes baymiss. Mostly. (#17340)
* Removes baymiss. Mostly.

Goodbye Baymiss

* early return

* Fixes zoomed accuracy being lost upon gunfire

* yeah this works better

* clarificaction, user->attacker

* these as well
2025-04-07 05:10:51 -04:00
SatinIsle
ab5b10ae81 Hotfix for body colour (#17458)
* April fools stuff

* Powers

* Update

* Play Dead

* Final bits

* missing src
2025-03-31 13:59:26 +02:00
Cameron Lennox
83a702faee rigsuit fixes (#17434)
* no.

* fixes guncode

why are overrides a thing

* Update gun.dm

* wtf lmfao

* more protean fixes

* some more adjustments

* if weclose a tab and have it open, return to status

* Update rig.dm

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-28 19:03:48 +01: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
Kashargul
d3b7ba8b43 next new to init (#17400)
* next new to init

* .

* this needs thorough testing

* .

* needs an istype

* also vnotice

* mvoe to defines
2025-03-24 06:18:39 -04:00
Cameron Lennox
1aaaf3b188 Fixes borg slime baton sprite and enables shield on peacekeeper (#17367)
* Fixes borg slime baton sprite and enables shield on peacekeeper

* Update cyborg.dm
2025-03-20 16:11:55 +01:00
Cameron Lennox
ce8b46fb92 Adds Gooborgs & Toggleable Stomach Glowing for Borgs (#17280)
* Gooborgs!

add: Adds gooborgs! Sprites from Toriate
code: Robotic eswords and batons now count as robotic weapons and trigger appropriate sprites.

* shocker

* cargofix

* some more

* sendit

* rest sprites

* mmoree

* Glowy tummies

Will make all the catborg sprites scream, but let's see what the UT says

* FIXES MORE SPRITES AAAAAAAAAAAAAAAA

* License

* fixed sprites

* better handling

* rewrite

* bonus damage

* Fixes stunbaton

* status check

* Makes BCS remove the charge properly

* charge

* subsystem
2025-03-14 15:19:20 +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
Guti
d626f16552 Fixes swarm enemies behaving like walls when dead (#17312)
* fimx..

* Scuffed swarm handling
2025-03-11 12:43:50 +01: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
7e4f393674 firecode fix (#17288) 2025-03-09 14:07:19 -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
Kashargul
55a61bc38f up ports incorp and proximity handling (#17106)
* up ports inCorp and proximity handling

* anim size

* bullets no longer hit shadekin

* fix throwing and clicking

* use the proc

* and add the proc

* .

* No moving when you can't move

* fixes portal runtime

* No bonk when throwing at incorporeal entities

* MAR

- I coded in picking yourself up years ago and someone broke it (by adding a lying check). This unbreaks it. Additionally, picking yourself up was made immediate instead of a 0.5 delay since before hitting the U key was slow and doing it this way was quicker. That's not the case anymore.

- Makes attack_hand not happen if the person is incorporeal
- Makes you not  contract touch spread viruses when you click one someone and don't do an interaction (you will now always do an interaction)
- Makes it so you can't mousedrop items while phased.

* no more spreading viruses while phased  / to phased

* F

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-03-01 12:09:35 -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
Cameron Lennox
e3409de8b9 Robot Sprite Unit test, Robot Upports, Robot Sprite Fixes [MDB IGNORE] [IDB IGNORE] (#17139)
* Robot sprite validity

* key instead of index

* kash additions

* missing tag

* fail out on no name

* fixes

* let the dance commence

* rest style

* Fixes some of the sprites

Merging so I can see what else it wants

* check belly stages too not just max

* this too

* fixes

* fixes

* Adds variant catborgs

- Adds variant carborgs. These are the older models. Upport from CS.

NEEDS REMOVAL:
DMI FILE: modular_chomp/icons/mob/catborg/catborg.dmi

SPECIFIC REMOVAL IN FILES:
modular_chomp/code/modules/mob/living/silicon/robot/sprites/mining.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/medical.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/janitor.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/science.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/security.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/civilian.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/engineering.dm

* DULLAHAN BORGS

Up-ported dullahan borgs.
Makes it so proteans can choose dullahans as their sprite blob sprite.
NOTE: DULLAHAN-NINJA (V3) DOES NOT HAVE A SIT SPRITE. IT'S ALSO UNUSED. SYNDI SPRITE WAS PUT TO ACT AS A STANDIN

TO BE REMOVED DOWNSTREAM:
modular_chomp/icons/mob/dullahanborg

modular_chomp/code/modules/mob/living/silicon/robot/sprites/civilian.dm (dullahan/service & dullahan/servicealt)

modular_chomp/code/modules/mob/living/silicon/robot/sprites/engineering.dm
(dullahan/engineerv1 & dullahan/envingeerv2)

modular_chomp/code/modules/mob/living/silicon/robot/sprites/janitor.dm
(dullahan/janitor & dullahan/janitoralt)

modular_chomp/code/modules/mob/living/silicon/robot/sprites/medical.dm
(dullahan/crisis & dullahan/crisisalt)

modular_chomp/code/modules/mob/living/silicon/robot/sprites/mining.dm
(dullahan, dullahan/miner, dullahan/mineralt, dullahancarg, dullahancarg/cargo, dullahancarg/cargoalt

modular_chomp/code/modules/mob/living/silicon/robot/sprites/syndicate.dm
(Delete the entire file)

modular_chomp/code/modules/mob/living/silicon/robot/sprites/security.dm
(security/dullahan dullahan/sec dullahan/secalt)

* Update science.dm

* fixes dead overlays

* Update mining.dm

* more borgs

DOWNSTREAM REMOVAL:
code/modules/mob/living/silicon/robot/robot_modules/Widerobot_Clown_ch.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/clown.dm
code/modules/mob/living/silicon/robot/robot_modules/Widerobot_Standard_ch.dm (This file was unticked. It was placed in standard.dm)
modular_chomp/code/modules/mob/living/silicon/robot/sprites/combat.dm
modular_chomp/code/modules/mob/living/silicon/robot/sprites/medical.dm
code/modules/mob/living/silicon/robot/subtypes/boozeborg_ch.dm (Unticked in the DMI. Moved to subtypes/boozeborg.dm)
modular_chomp/code/modules/mob/living/silicon/robot/dogborg/dog_sleeper.dm
modular_chomp/icons/mob/raptorborg/raptor.dmi - Unused
All the worm borg overrides

Downstream as well:
/obj/item/robot_tongue/examine(user) in code\modules\mob\living\silicon\robot\dogborg\dog_modules_vr.dm needs to be enabled.

* whew

* gwah

* SAVE

* fixes

* fixes sprites more

* Adds Outpost Borgs

Stoat and Possum.
Other versions of possum WIP

* no wreck overlay

* gwah

* decals to list

* fixing

* .

* fixes there 3 being 3

* fix decal resting

* sleeper fix

* fix struggle resting

* puts surgery module in its place

* no CE

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-02-27 13:00:02 -05:00
Drathek
d062ff9f49 Port OD Pragma Lints (#17171)
* Experimental: Port OD Pragma Lints

* first pass: Includes icon forge fixes/updates

* 2nd pass

* third pass

* debug_ai: This what you're unhappy with?

* Revert "debug_ai: This what you're unhappy with?"

This reverts commit bc178792e6.

* How about this

* Or is it the else?

* Pass summer

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-02-26 18:12:03 -05:00
Kashargul
c52141639b removes sleep from light flickers (#17211)
* removes sleep from light flickers

* .

* .

* move the counter

* oups

* .

* .
2025-02-26 19:23:26 +01:00
NickBelmont
205c22f8c1 Add Somatoray Mode to Remove Reagents (#17196)
* Adds somatoray mode to remove reagents from plants

* Typo

* Fixes small issue with floraprune projectile
2025-02-21 10:34:37 -05:00
Cameron Lennox
b1fc0d4c70 Consolidates some /Destroy()s to make them properly delete (#17046)
* The mob/living/Destroy() consolidation

* The mob/Destroy() consolidation

* The /mob/living/carbon/human consolidation

* The datum/Destroy() Consolidation

* The /atom/movable/Destroy() Consolidation

* for human
2025-02-14 03:06:25 +01:00
Kashargul
608c557d94 cleans up some left over things (#17134)
* cleans up some left over things

* .

* .

* fi that too

* guhh

* changes the behaviour too much

* remove localState

* fix regex

* fix input

* fix storage backend
2025-02-13 16:55:38 -05: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
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
adcd25a00f forward refs in usr dialog (#17090)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-02-08 14:11:16 -05:00
Cameron Lennox
71627d97ce Recoil (#17086)
- Makes it so micros can be affected by recoil or not. (Disabled on Virgo, used downstream)
2025-02-07 12:20:46 -05:00
Cameron Lennox
d149f7e635 this did in fact need to stay (#17072) 2025-02-06 03:53:12 -05:00
Cameron Lennox
f9bcaaae6a Gets rid of sleep in Fire and Fire_userless (#17056)
* Gets rid of sleep in Fire and Fire_userless

* Better handling

Removes unneeded setMoveCooldown in Recursive, as you already get stuck in place due to some unknown process elsewhere while firing.
2025-02-05 14:06:06 -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
db636e3306 Size Changing Apparel Adjusments & Runtime fixes (#17035)
* hyper jumpsuit & deluxe bluespace bracelet changes

* Update miscellaneous_vr.dm

* fixes a runtime

* typo

* projectile runtime fix and circuitboard del

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-02-02 17:09:47 +01:00
SatinIsle
cd89f4d237 Glamour Experimentation (#17003)
* Glamour Experimentation

Added a new stable glamour crafting material that can be used to craft various items.

Added a new unstable glamour item, that has a few risky effects when used and picked up without protection.

Added a new particle smasher recipe to turn unstable glamour into stable glamour.

Added new items to the lleill transmute ability.

Added new glamour bow and arrow items.

* Fixed a bit of phrasing

* Consolidates TF procs

Changed TF procs and belly transfer procs to be called from one location rather than being repeated in various different procs across the code.

* forgot to include

* Fixed size change effect

* timer instead of spawn

* Added new glamour turfs for whitespace maps.
2025-02-01 14:28:56 -05:00
Cameron Lennox
4c8b23497c Fixes a lot of guns with 0 fire delay (#17028)
* fixes /0 errors

* u2

* u3
2025-02-01 20:26:06 +01:00
Kashargul
bbed406b2e remove old inputs (#17008) 2025-02-01 14:23:25 -05:00
Cameron Lennox
de67cc1f74 Misc fixes (#17018)
* Computer pointing fix

* Shotgun fix
2025-02-01 14:22:40 -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
Cameron Lennox
73d58b4d2f Makes syringe guns able to fit in holsters (#16975)
Why not, it's a gun.
2025-01-27 16:20:24 +01:00
Kashargul
394b2a4789 some destroy cleanup (#16958)
* some destroy cleanup

* fix inits

* deconf

* wrong PR

* rm duplicate

* fix that

* forgot that
2025-01-27 09:11:39 +10: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
c0e339b1ea ports tgui color input from bubbers (#16934)
* ports tgui color input from monkeystation

* .

* push that real quick

* .

* .

* cleanup

* fix for 516

* port bubbers pre set selection

* also this

* allow 20 saved states

* oups

* regex replace

* urg

* use the update by type

* .

* .

* highlight?

* larger?

* fix those

* keep anyone below 516 on old style
2025-01-21 18:27:45 -05:00
Kashargul
7266c4c5dc more missing tags (#16937)
* more missing tags

* only some books have...

* .

* some more

* Update admin.dm

* finish it up
2025-01-21 18:27:01 -05:00
Kashargul
e2b68fd0ac bunch of unhandled refs (#16919)
* bunch of unhandled refs

* fix that (#6)
2025-01-17 23:43:53 -05:00
Kashargul
7f70013304 taser 2025-01-12 22:44:06 +01:00
Kashargul
7cd5314175 brings the robot taser back in line 2025-01-12 22:43:22 +01:00
Kashargul
b26f91600b clean them up 2025-01-06 02:29:25 +01:00
Kashargul
59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Kashargul
f7fa0eee62 fix sawn off shotguns (#16823) 2025-01-03 08:16:24 +01:00
Kashargul
3094e65b71 intent cleanup (#16825) 2025-01-03 08:14:28 +01:00