Commit Graph

11845 Commits

Author SHA1 Message Date
Contrabang
b68b48e37e Makes stuttering actually legible (#24324)
* stutter but better

* good whitespace

* downstream support
2024-03-26 10:55:10 +00:00
dj-34
8981b491e0 Fix: Necropolis gate is now opens when Legion takes damage (#24768)
* Fix: Legion now triggers when taking damage

* Update by review

Co-Authored-By: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2024-03-26 09:56:11 +00:00
GDN
417914dc89 fixes bot menu jumpscares (#24780) 2024-03-26 09:53:39 +00:00
Henri215
c74262fc25 Adjusts some borg hat offsets (#24816) 2024-03-26 09:45:45 +00:00
Mikhail Dzianishchyts
9dc9d47266 Show poll alert for admins anyway (#24817)
* Show poll alert for admins anyway

* Update comment
2024-03-26 09:41:12 +00:00
DGamerL
de1229b947 Removes various helpers that can be simplified in a single variable check (#24551)
* Removes the first weird helper

* Removes get_turf_or_move

* Slightly alters the sharp weapon proc

* Adds nullcheck to adjustBruteLossByPart

* Changes `is_dead`

* Adds `hasorgans` to the replaced list

* Update code/__HELPERS/unsorted.dm

Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>

* Contra review

---------

Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>
2024-03-25 01:31:56 +00:00
chuga-git
19c0b70171 Slightly refactors storage item insertion (#24429)
* everything is on fire

* silent trait check

* how did it even become CRLF

* minor formatting

* fix icon updating and adds silent insertion to global trait list

* adds the new parameter to documentation - whoops!

* pain

* contra review

* contra review again, reduces amount of checks for user in the loops

---------

Co-authored-by: cybercapitalism <98280110+cybercapitalism@users.noreply.github.com>
2024-03-24 18:41:07 +00:00
matttheficus
261b53d17c Adds Hand Raising (#24223)
* pick me pick me!

* quick fix

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* contra tweak

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* contra refactor help

* copy paste moment

* missed one lul

* contra review

* tab hell tab hell tab hell

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2024-03-24 18:10:21 +00:00
Luc
1fe7819c1b Ports action button refactor from /tg/ (#24482)
* add the new stuff

* guh

* add the brunt of it

* action button stuff

* adds a lot of other stuff

* careful find and replace

* it loads

* so many huds

* ehh yeah this kinda works

* fixes this runtime

* hacks in some DMI stuff, we'll fix it later

* Adds better mouse pointer for dragging buttons

* gets dragging into place working again, updates DMI

* moves define

* remove extra hud defines, now it compiles

* CHECK GREP

* owww

* rename action defines

* ticks

* are we good

* let's try that again

* renames mob vars

* renames

* fixes some hud issues with huds getting the wrong variable

* fixes some alignment issues

* Adds mouse-wheel scroll support

* left -> right

* I am the entire circus

* first self-review pass

* Another review pass -- just realized I need to fix keybinds

* more testing

* update icons

* oops

* Fix spell icons not appearing properly

* fixes some outstanding issues
- Action button backgrounds now work properly
- Fixes some runtimes on dropping
- Fixes some misplaced icons

* hmm

* weh

* again?

* nah?

* maybe this?

* asdf

* should finally fix CI

* add client check

* move the ?

* add missing override causing runtimes

* shift-clicking now doesn't trigger the button

* better docs
2024-03-24 17:38:53 +00:00
Luc
6100c36987 Adds a crew monitor for observers (#24118)
* wheee

* ignoring sensors now actually gets all health info

* a

* this wasn't supposed to go here

* delete observer menu on mob del

* erm

* global on my datum

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-03-23 22:51:55 +00:00
Qwertytoforty
00ce408dd2 ffixes smoke (#24775) 2024-03-23 18:52:29 +00:00
DGamerL
6cd2813150 Makes the isorgan() define more sane (#24738)
* Makes this define a bit more sane

* Why is this a proc!!!!

* Underscores

* Combines two uses into one define

* Contra review
2024-03-23 17:16:29 +00:00
Qwertytoforty
9096c5f0b9 Ports the NTSS Raven from TG station. Slightly remaps delta escape / faragus escape (#24567)
* R A V E N

* docking ports. Delta needs  tweak

* yep

* raven generators, increased range / anchored

* names / fixes wrong generators

* decore / missing decal

* NTSSS RAVEN

* purge this

* oops

* should be good

* Update code/modules/mob/living/simple_animal/friendly/mouse.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2024-03-21 21:21:56 +00:00
Contrabang
323d23acc9 Datumizes Wizards (#24702)
* fucking wizards

* this too

* this

* i think thats it

* okay lets do this

* remove commented code

* gdn review

* welp

* fix runtime

* yes

* lewc review
2024-03-21 20:56:55 +00:00
DGamerL
c96be1d6b7 This is the fix (#24710) 2024-03-20 21:52:19 +00:00
Henri215
765461f14a Bear update, part 2 (#24506)
* The bear update!

* more sprites

* more bearprites

* diversify

* removing comments

* description and mapping

* duplicate

* Update code/modules/mob/living/simple_animal/hostile/bear.dm

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2024-03-20 21:33:32 +00:00
Marm
a8f2d2f001 Gutlunches will no longer eat brains. (#24603)
* NO MORE EATING BRAINS

* Update code/modules/mob/living/simple_animal/hostile/mining/gutlunch.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2024-03-20 20:20:33 +00:00
Contrabang
cb7b71a03d blamo (#24582) 2024-03-20 20:13:29 +00:00
Luc
2acd27f962 Optable fixes (#24101) 2024-03-20 20:11:10 +00:00
DGamerL
76142af004 [s] Fixes Mechs being able to walk through walls (#24695)
* Adds the ismecha check

* I am a dummy, thanks contra
2024-03-19 20:41:56 +00:00
Pierre-Louis
979b3c52cf Collar on a chick stay when it grow into a chicken. (#24524)
* Collar on a chick stay when it grow into a chicken.

Collar on a chick stay when it grow into a chicken.
Fixes #24412

* Update code/modules/mob/living/simple_animal/friendly/farm_animals.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Pierre-Louis <hernandezpierrelouis@protonmail.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2024-03-19 17:08:09 +00:00
Mikhail Dzianishchyts
2ed43610d4 Fix falling into chasm on map load (#24673) 2024-03-19 10:45:33 +00:00
Charlie Nolan
6c8b9b1dfb Parrots no longer hold items they don't have. (#24682)
* Parrots no longer hold items they don't have.

* Whoops.
2024-03-19 10:44:29 +00:00
Charlie Nolan
ba2720a231 Fixed clown and mime brain/head naming. (#24668) 2024-03-18 18:44:25 +00:00
Charlie Nolan
4dcc43fc88 Made eating Keeki a bit smarter. (#24373)
* Made eating Keeki a bit smarter.

* Prions -> Teslium, minor fixes.

* Better comment for total_final_bites.

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2024-03-18 18:34:58 +00:00
Charlie Nolan
13f0d607d6 Make pAIs show correctly in diagnostic HUDs (#24666) 2024-03-18 18:25:12 +00:00
Charlie Nolan
153284efae Fix mime/clown picked names not being on their bank account. (#24669) 2024-03-18 18:23:36 +00:00
Contrabang
664b04a1cb goodbye exclaims (#24593) 2024-03-18 18:04:14 +00:00
Adrer
dabcd51fd2 Makes headslug mob_size MOB_SIZE_SMALL (#24623)
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
2024-03-18 17:54:50 +00:00
Contrabang
df29a55f54 niche case (#24595) 2024-03-18 17:52:22 +00:00
CRUNCH
926dff2cf1 Cyborgs drop their upgrades on the floor when reset or deconstructed (#24467)
* Fixing some minor typos for cyborg upgrade flavour text

Throws in some missing apostrophes, capitalisation, and the letter "s."

* Briefcase Full of Cash buff

Increases the amount of cash in the Syndicate Briefcase Full of Cash from 600 Cr to 1000 Cr

* Reverts double-feature PR

* Reverts a broken revert

* Reverting again because Ebba told me to

* And reverting yet again

* yes

* Update robot_mob.dm

* Update robot_mob.dm

* Update code/modules/mob/living/silicon/robot/robot_mob.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2024-03-18 17:44:27 +00:00
Contrabang
9b24572ed5 Updates OpenDream pragma file (#24516)
* hell yeah-coded

* welp im too tired to fix this one

* lets test this

* Revert "lets test this"

* okay, lets test!

* fixes

* okay we good?

* i might be stupid
2024-03-17 11:56:56 +00:00
Contrabang
2ec55dbfbb Datumizes Cult. (#24379)
* cult 1

* massive data refactor

* progress

* More crap

* IM SCARED IT COMPILES

* oops

* more fixes

* good comment

* hell yeah, team control

* lol

* blamo

* blam

* More stuff

* team refactor

* epic merge fail

* src not _src_

* more

* progress

* cult

* more stuff

* water

* goodbye __IMPLIED_TYPE__

* time to undraft

* FUCK FUCK FUCK

* okay this is better

* goodbye todos

* fix

* order of operations

* last fix? maybe

* yeah

* oops

* okay this should be ALL the fixes

* wow

* hell yeah

* wow

* fixes duplicate teams + adds more team safeties

* how the fuck did this happen

* admin objective improvements

* wah more bullshit

* guh

* fuuuuck

* fucking hell

* fixes
2024-03-16 20:36:55 +00:00
JimKil3
0c25bf4a21 Cloning Rework (#21683)
* guts the cloning pod

* guts cloning console (except the tgui)

* clonescanner, more gutting, linkage

* reagent stuff

* `cloning_data` datum

* scanner inserting/removing

* scanning logic

* auto-linkage

* `get_cloning_cost()` in its entirety

* logic for which limbs to grow

* RefreshParts() and insert_organ()

* removes misinformation

* robot parts

* more organ insertion logic

* more organ code :D

* create_clone

* beginnings of clone logic

* cloning addl. stuff

* cloning finalization

* fixes CI?

* whitespace fixes (regex edition)

* ejection logic

* Update code/game/machinery/clonepod.dm

Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com>

* stuff

* stuff 2

* update_icon_state stuff

* clonepod TGUI

* organ fix yipee

* cloning console UI beginnings

* cloning console main menu

* reagents stuff

* beginning of damage tab

* damages menu skeleton

* aiuhgugh

* splits up code

* ejecting patient updates ui

* contra reviews

* temp fix for CI

* tgui finished? (clueless)

* Cloning :D
it's done

* manual & tweaks

* more feedback!

* cooldown
because you can spam the fuck out if it otherwise and it's really loud for the ghost

* oops

* tweaks

* edits EVERY MAP OH GOD

* no link stuff

* oops

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

* Apply suggestions from code review (pt. 2)

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

* Update code/game/machinery/computer/cloning.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* dgamer review

* Update code/game/machinery/clonepod.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* henri stuff

* makes it compile

* builds tgui (oops)

* rebuilt bundle i guess?

* not stale i swear

* fixes

* whoops

* countdown stuff

* sirryan review pt. 1

* sirryan review pt 2

* every day i'm shuffling (or something idk)

* wasdfhdfg

* sean clonepod.dm changes

* update_icon(UPDATE_ICON_STATE)

* Update code/game/machinery/clonescanner.dm

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* icon stuff

* map weirdness

* henri disks

* unfucks maps?

* cc maps

* eject button

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/game/machinery/clonepod.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* dgamer review 2

* ourgh

* dgamer review 3

* waaaah

* fixes access locks

* fixes
Fixes the numbers issues (and no feet hopefully?)

* re-adds feet

* more fixes yipee

* un-biomass

* fixes ghost stuff

* exploit fix

---------

Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
2024-03-16 16:51:13 +00:00
Luc
a65809e32f Adds an action button for succumbing, broadcasts last words (#24501)
* succumb

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* capitalize

* clear the alert, and no more last words when you're already dead!

* Update code/modules/mob/living/death.dm

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2024-03-16 16:13:30 +00:00
GDN
4cf311cbf2 Reworks last resort. Reverts #23992 (#24389)
* Reworks last resort. Reverts #23992

* forgot to push these

* projectiles no longer pass over headslugs
2024-03-16 16:12:09 +00:00
CRUNCH
9c338a3dc3 Edits the descriptions of the MMI and SMMI, adds extended description to both (#24343)
* DEEP LORE!

Edits the descriptions of the MMI and SMMI and gives them extended descriptions.

* Spiderbots exist

I forgot about them but they do be real

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>

* Update code/modules/mob/living/brain/MMI.dm

---------

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
2024-03-16 16:10:51 +00:00
dj-34
835325720c Reduce the move delay buffer to 1 tick (#24615)
* Reduce the move delay buffer to 1 tick

* Fix linter
2024-03-15 08:07:39 +00:00
DGamerL
c4412be390 Makes borgs require to refill their metal, glass and reinforced glass manually instead of automatically from a cyborg recharger (#23944)
* Makes some borg sheet types require manual refilling

* Oopsie

* Fixes ORM deductions + Reverts changes for drones

* Contra review

* Fixes module logic

* Update code/modules/mining/machine_redemption.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Update code/modules/mining/machine_redemption.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Update code/game/objects/items/stacks/sheets/sheet_types.dm

* Farie review

* Update code/modules/mining/machine_redemption.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Update code/modules/mining/machine_redemption.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Farie review

* I am an idiot

* Fixes a comment

* Update code/modules/mining/machine_redemption.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Farie Review

---------

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
2024-03-14 18:46:30 +00:00
cybercapitalism
a0bbeef2df Sharp attacks no longer get randomly blunted when the target is dead (#24552)
* extra blunt check no longer happens if target is dead

* un-inverts bloody check

* Ebba review
2024-03-14 18:41:53 +00:00
Contrabang
694959178b Changes implicit nulls to be explicit (#24587)
* , , -> null

* more

* bam

* lets undo these, for atomicity

* NOW THIS IS MORE

* lol

* oops
2024-03-14 18:38:32 +00:00
CRUNCH
91be8af21b Renames "Cyborg Analyzer" to "Machine Analyzer", it now scans how damaged machines are too! (#24063)
* Fixing some minor typos for cyborg upgrade flavour text

Throws in some missing apostrophes, capitalisation, and the letter "s."

* Briefcase Full of Cash buff

Increases the amount of cash in the Syndicate Briefcase Full of Cash from 600 Cr to 1000 Cr

* Reverts double-feature PR

* Reverts a broken revert

* Reverting again because Ebba told me to

* And reverting yet again

* Machine Analyzer

Renamed "cyborg analyzer" to "machine analyzer".

It now scans machines too.

* Refactor

Everything is now in scanners.dm yaaaay!

* Update code/game/objects/items/devices/scanners.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/game/objects/items/devices/scanners.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/game/objects/items/devices/scanners.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Helper proc woooo

* Update code/game/objects/items/devices/scanners.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* Update code/game/objects/items/devices/scanners.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* renaming stuff

* Update code/modules/research/designs/medical_designs.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/research/designs/medical_designs.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update scanners.dm

* Update scanners.dm

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2024-03-12 11:15:28 +00:00
Charlie Nolan
8c531f4a49 Let MMI brains commit suicide. (#24411)
* Let MMI brains commit suicide.

* Update code/game/verbs/suicide.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/game/verbs/suicide.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2024-03-11 15:50:45 -04:00
Contrabang
ae202e22b5 GOODBYE TECHDEBT (#24408) 2024-03-11 15:09:44 -04:00
Henri215
5bfd9186e2 Adds five new borg skins! (#24287)
* New cyborg skins

* The other 4 sprites

* fixing duplicate
2024-03-11 15:03:32 -04:00
Adrer
1ed34d9804 [FIX] Borg hat fixes (#24547)
* Borg hats fixes

* Update code/modules/mob/living/silicon/silicon_defense.dm

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
2024-03-11 14:58:52 -04:00
Contrabang
3557748229 People are now hidden behind smoke (#24229)
* no, that is NOT solid snake

* lol

* more names

* Update code/game/objects/items/weapons/storage/boxes.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/game/objects/items/weapons/storage/belt.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2024-03-11 14:13:59 -04:00
Contrabang
e32544e599 #undef is now required for all file defines (#24091)
* CI

* undef

* hooooly crap

* yeah

* false by default

* fixes

* alright, there we go

* oops lmao

* lol, lmao even

* proper programming

* fix

* losin my mind

* oops

* yeah coloring

* WE LOVE MULTIPLE DEFINES (ive lost my sanity)
2024-03-11 14:03:30 -04:00
Marm
47f3b87a9f Makes Genetics less miserable + Removes mentions of midget from code. (#24114)
* its been like this for how long?

* woops wrong pr

* i hate random chance

* steel change

* Update code/game/dna/mutations/_mutations.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/game/dna/mutations/_mutations.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Works

* woops space indentation

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2024-03-11 13:55:01 -04:00
warriorstar-orion
a8537dba85 Improve polymorph randomness; add more potential transformations, including non-reproducing terrors. (#24206)
* Improve staff/wand of change random distribution.

* It's length() not .len

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* use 'as anything'

* add terrors to potential picks

* slightly better wording

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2024-03-11 12:52:37 -04:00