Commit Graph

11708 Commits

Author SHA1 Message Date
AnturK
e3fca45a78 Fix a few small runtimes (#49352)
Nothing special here, mostly sanity.
Defib hud is awful, needs rewrite.
2020-02-16 00:40:11 -08:00
nightred
395bebcdcc [READY] Space Suits use cells and warm the wearer (#49028)
About The Pull Request

This makes space suits use a cell and warm the wearer, This was handled by the handle_environment proc in the past with an override to make the suits work. This corrects this issue, and removes the override.

All space suits will have a cell installed at round start, this cell will last 15 min on average usage.

The cell cover can be toggled by alt+clicking (press the button), or using a crowbar (just pry it open) on the suit.
With the cover open you can remove the cell by using the suit in hand, or ctrl+clicking the suit.
As well with the cover open you can use a screwdriver to set the thermal regulator's temperature. The normal range is 20 c to 45 c, do not use an emag on the suit to increase the temperature range.

Examining the suit will report the temperature setting and the cells charge, if the cover is open you will also be able to see the type of cell that is in the suit.

Suit storage units will now charge the cells in suits, they will also require power to operate properly now.

Why It's Good For The Game

    Space suits should be managing the wearers temp in space not using some override.
    Lizards now have a portable heater in the form of any space suit.
    Now that suits need a cell it is not as easy to spend all session in a space suit.
    New interactions with hardsuits and emp's give nice combat buff to an underused item.
    Nuke ops can raid xeno for some nice yellow cells, or science for a big old bluespace cell.
2020-02-15 11:32:54 +13:00
Arkatos1
fbffe3c925 Living mob HUD cleanup (#49193)
* Living health HUD cleanup

* Elite icon cleanup
2020-02-13 01:14:39 +01:00
Dingo-Dongler
6ea23349c1 Add citation functionality to the SecHud (#49017)
* PUT THE CAN IN THE TRASH

* max fine now a config opiton

* more proper hud check

* mention maxfine at citation, moving return correctly?
2020-02-11 20:25:35 -05:00
nightred
5d361d9665 [READY] Warm hugs for everyone (#48920)
* Warm hugs for everyone

* To hot to hug time to cool down

* Warm hug mood, and notice on hot hugs

* fixed mood, added insulation proc

* Balance heat exchange, notify when freezing also

* tenses again

* words, and proc clean up

* Common interfaces

* fixed monkey override

* lets not have another hard suit situation

* really wide lines

* need to invert that number
2020-02-11 20:03:56 -05:00
Jordan Brown
3b943b733f Merge pull request #49281 from Dennok/patch-4
Monkey attack fix.
2020-02-11 13:29:55 -05:00
Fikou
ae39ad9c00 fixes xeno numbers being 0 + royal xenos also get numbers (#49262)
* fixes beno numbers

* royals now get numbers too

* fixes beno numbers
2020-02-10 19:59:22 +01:00
Dennok
4531791892 Monkey attack fix
Now monkeys use weapons in some advanced way.
2020-02-10 19:19:30 +02:00
AnturK
e40e22da6b Another runtime fixes batch. (#49209)
* Slime gland runtime fix.

* Logout ahelp logging runtime.

* Crafting non-items runtime.

* Turret building runtime.

* spacevine runtime.

* forcesay runtime fix.

* One less var
2020-02-10 10:50:36 -05:00
Jordan Brown
d69cb0e34d Merge pull request #49188 from JJRcop/defib_nanites_check
Defib and Nanite Defib use the same can_defib proc
2020-02-08 15:09:39 -05:00
Jordan Brown
c170c8cb34 Merge pull request #49220 from Coconutwarrior97/AICarpSpriteFix
Fixes AI's carp hologram.
2020-02-08 15:00:59 -05:00
JJRcop
518a28d50b Fix BADDNA brains transferring minds (#49214) 2020-02-08 15:00:04 -05:00
Jonathan (JJRcop) Rubenstein
3b1b4c293a Move can_defib proc to carbon 2020-02-07 18:02:30 -05:00
Fikou
8deeceefb6 [READY] Adds rideable Goliaths (#49003)
* adds rideable goliaths

* stamding on the emdge

* plems work

* this should be it

* FUCK YOU TRAVIS

* primal friendly

* ok athath buddy

* mmm grayons

* sprite gang

* placeholder sprite, works till someone makes a new one maybe haha

* lets do this

* An object tames a monstrous beast somehow. More news at 5.
2020-02-07 17:00:07 +01:00
Coconutwarrior97
34566bab9b Fixes icon path for carp hologram. 2020-02-06 04:45:41 -06:00
skoglol
a28b24f149 Completely removes cloning (#48668)
* Removed from code

* Removes cloners from maps

* Some more references, now compiles.

* Reduces availability of replica pods

* DNA scanner and tech disk rebranding

* pubby door name, cargo pack description
2020-02-04 16:04:06 -05:00
skoglol
c44e913803 Some more cloning prep stuff (#49090)
* defib texts improved, now gives a little guidance.

* Removes the superfluous braindeath

* Organ repair surgeries now repeatable

* Death info message

* Reverts repeatables, improves brain repeatable

* defib more forceful, better brain messages, better mannitol healing.

* OR

* Update code/modules/surgery/brain_surgery.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

Co-authored-by: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-02-04 13:50:56 -05:00
Jordan Brown
febba4deb7 Merge pull request #49124 from kriskog/timeofdeath
Defib tod cleanup
2020-02-04 11:10:04 -05:00
Jordan Brown
ce9577663a Merge pull request #49173 from ninjanomnom/material-lazy-init
Makes the global materials lookup lazily initialized
2020-02-04 11:05:59 -05:00
ShizCalev
bfb4218a87 Merge pull request #49176 from AnturK/runtimesareforever
Few more runtime fixes.
2020-02-04 04:08:53 -05:00
ShizCalev
768696e0dc Merge pull request #49004 from kriskog/say
Skips nulls and deleted in say
2020-02-04 03:55:54 -05:00
Fikou
8a38734fe9 xeno names keep consistent numbers through evolution (#49150)
* makes xenos have consistent numbers through evolutions

* makes benos have consistent numbers through evolutions

* this may be better

* pls work

* this should work

* FUCK you

* fuck
2020-02-04 07:30:47 +01:00
thebleh
93c96e89d7 Shows defib icon on corpses with soul (#49138)
* show defib icon on revivable corpses

* update medhud in observer Destroy()
2020-02-04 07:26:10 +01:00
tralezab
96b6e28151 bigger mobs have some special health bars (#49104)
* cool beans

* more, more!

* smol fix
2020-02-04 07:09:36 +01:00
Qustinnus
48de09b7a4 Edible component; be gone vile organ code (#48596)
* component

* progress

* stuff

* Makes minor progress on edible component

* Finishes component and applies it to organs

* newline

* forgot to send signal

* domob addition

* wave that organ flag

* return adde

* fixes some minor issues

* fixes

* done

* done

* done

* added last one

* done

* done

* fix
2020-02-04 01:05:55 -05:00
Mickyan
e985a0a18f Blood dripping scales with bleeding rate (#49092)
* bleed decal rate

* forgot this guy
2020-02-04 07:00:24 +01:00
cacogen
bbdb22a346 Improves cyberimplant readout (#49087) 2020-02-04 06:58:11 +01:00
Emmett Gaines
2cf7728494 Removes the bitflag helpers (#49106) 2020-02-03 16:26:00 -05:00
oranges
458023830c Revert "Lawyer's department backpack is a briefcase (#48877)" (#49178)
This reverts commit 6c8b5378d3.
2020-02-03 15:46:16 -05:00
Emmett Gaines
ab3a127295 Makes the global materials lookup lazily initialized 2020-02-03 10:17:13 -05:00
AnturK
7537a3a312 Another say runtime 2020-02-03 10:17:44 +01:00
zxaber
79e59077eb Allows defib units to be used as medical borg upgrades, adds message to borgs when they recieve an upgrade, re-organizes borg attackby(). (#48805)
* Delete stale.yml

* Create stale.yml

* clear

* Can now replace the defib pack with an upgrade card to get the pack back.

* less redundant checks

* borg > cyborg text changes
2020-02-02 22:08:40 -05:00
RaveRadbury
8b19d797ca [Ready] Prisoner role (#48819)
About The Pull Request

I observed someone request to be perma'd round start and then they just chilled in perma the whole shift. Security isn't always going to be up for putting people in perma and players who have been placed in perma tend to go catatonic. This allows players who are interested in having a chill shift doing the stuff in perma and acting like they've done crimes the opportunity to do that.
Why It's Good For The Game

Crew content. I'm not saying it's mindblowing but if we add it in as a role it will open the door for people to look at perma and what could be done with prisoners.

Prisoners spawn with a prison ID, a jumpsuit, and shoes. They are also currently spawning with a backpack and I'm uncertain about whether or not I want to do anything with that.

This is ready for a testmerge and worked for me locally.

Thanks to Tralezab for assistance with merge conflicts.
Thanks to EOBGames for the plasmaman prisoner sprites.
Thanks to Quill-Weave for encouragement.

Feedback is of course welcome, and I'd appreciate suggestions re: balancing this role. Maybe they should be roundstart pacified or something.
Changelog

cl
add: Adds prisoner role
/cl
2020-02-03 09:54:03 +13:00
tralezab
d7a93259e4 WUMBO (#49105)
tralezab commented yesterday
About The Pull Request

bg_fugu added
Why It's Good For The Game

fugu's expand had no button making it hard to press
Changelog

🆑
imageadd: fugu background fugu background
/🆑
2020-02-02 10:35:40 +13:00
MrPerson
12eecfd181 Makes raw HTML and browser datum popups UTF-8 aware (#49066)
* Makes raw HTML and browser datum popups UTF-8 aware

Admin menus specifically really shouldn't break just because you named some guy "☺s the Clown"

* Fixed new_player.dm

* Fucking filing cabinets
2020-02-01 22:14:31 +01:00
AnturK
14cd32efd8 Another runtime fix pr (#49095)
* Fixes whisper sanity.

* Fixes rebuild runtime

* Fixes removing atmos machinery from resumed runs.
2020-02-02 08:15:43 +13:00
skoglol
35f2f070f0 Dead code cleanup 2020-02-01 18:28:01 +01:00
Rob Bailey
62d1a3941c tgui-next ntos card console (#48938)
About The Pull Request

A PR now several weeks in the making that spiraled ridiculously out of control for something not many even use.
What else is new in NTOS hell?
I spent several days doing nothing but playing escape from tarkov so this took longer than expected I valiantly spent all night and day working on this, and barely finished it before The Deadline
the card ntos program was split into three programs, manifest, job management, and id card modification. It didn't make much sense for them all to be the same program imo, and made the project a bit more managable.

Airlock electronics saw some improvements as well since it uses this new access control section as well.

Yet again some new functionality and improvements to core components. Buttons now have an "altSelected" feature where instead of changing the color it adds a small white marker, among some other things.

There were a couple of small changes in inconsequential ways in other places, and datacore was refactored a tiny bit. Probably some other stuff I don't remember.

I would replace the old card console with a modular computer right now, but I know a few people actually use this program and want a bit of time to iron out bugs and inconsistencies before replacing the main job console with it.
Changelog

🆑
add: tgui-next NTOS card console, job manager, and crew manifest
tweak: airlock electronics interface is a little fancier

/🆑
2020-02-01 20:47:36 +13:00
blessedmulligan
54dc879f19 Cyborg spin throwing now depends on intent (#48891)
Trying this again. When *spin-ing as a cyborg, the way mobs are thrown off you depends on your intent. On help intent, they will be thrown a shorter distance from you and will never be damaged or stunned (they will still be knocked down). On harm intent, they will be thrown the current distance and will be damaged and stunned if they hit a wall or another person.

WHAT THIS ACTUALLY CHANGES:
Currently, whether or not *spin-ing will actually hurt/stun someone depends on whether or not the *spin-ing borg is emagged. This PR also reduces the range of the help intent throw, but since the knockdown happens whether or not the thrown mob hits something this is in most circumstances a cosmetic change. So, in summary, if you are a non-emagged borg in help intent the only thing this changes is you will chuck people a slightly shorter distance.
Why It's Good For The Game

This isn't exactly the most important change, but a borg should be able to control their behavior. Having damage/stun from throwing determined solely by emag-ness seems more like a hacky kludge than a legitimate design choice. Also, having the behavior of borg-throwing determined in the code for carbons is messy.
Changelog

🆑
add: The behavior of cyborg's *spin emote now changes with intent; on harm intent, it will throw its passenger farther and damage and stun them if they hit a wall or another person.
/🆑
2020-02-01 20:30:57 +13:00
EOBGames
297d7e7d9b TG's Got the Pop Factor: The Singing Update (#49063)
* Sing a lovely song

* minor changes, ~ to %, and removal of specific logging

* 512 support

don't trust byond

* oops
2020-01-31 20:10:55 +01:00
ShizCalev
e52b2df670 Merge pull request #49064 from zxaber/machine_machine_interface
Positronics no longer sit inside MMIs
2020-01-30 13:38:05 -05:00
dan xensen
9e5ab83a83 Fix late join menu to handle disabled AI (#48988)
* change the late join menu to get department name and color from a global list instead of from jobs

* move job category list to a separate global

* remove unnecessary GLOB scope
2020-01-29 15:38:28 +01:00
tralezab
6c8b5378d3 Lawyer's department backpack is a briefcase (#48877)
The lawyer may still start with a backpack by making their backpack style not departmental.
Why It's Good For The Game

Lawyers should make more use of their really cool suitcases, including the passcode locked one they get roundstart. Style wise, the grey backpack totally ruins the look. And if they don't wanna be cool, they can easily opt out! I would also like to say this isnt part of some grand conspiracy about inventory so dont start you rats
Changelog

🆑
tweak: lawyer's department backpack... is no backpack!
/🆑
2020-01-29 11:59:32 +13:00
fluffe9911
00043330a0 New King Goat Lavaland Boss! (#48823)
About The Pull Request

This pr adds in a new lavaland boss in a seperate z level arena also included are goat plushies that ram into people and goat skins which you get by butchering goats and can wear on your head, a goat gun that shoots goats and finally multiple tweaks/fixes generally involving possible ways to teleport out of noteleport area and or cheese the king goat.
Why It's Good For The Game

Lavaland has not seen any new bosses for a long bloody time and although the boss may be a bit silly I feel more hardcore players will enjoy the challenge it brings since this is meant to be a very hard boss also new goat related items are always neat.

🆑 Fluffe9911 for porting/making most of it, Monster and Sabiran for the King Goat!
add: A new king goat lavaland boss!
add: Goats now drop skin which you can wear on your head! (coder sprite)
add: Goat themed plushies that ram people! (realistic version sprite by identification code by karma)
/🆑

goat

This is ported over from my work on yogstation with minor changes mostly to make things work there is more goat content I made but didnt wanna do too much at once and dont know if tg would like it
2020-01-29 11:50:27 +13:00
Zxaber
c542200b42 Summary (required) 2020-01-28 14:36:56 -08:00
Zxaber
cc4e5a6efe beep 2020-01-28 14:09:30 -08:00
skoglol
9bc1c79a2a moves client check, adds comment 2020-01-28 19:27:43 +01:00
vuonojenmustaturska
40657c9ccd removes a bunch of unused/bad helpers (#48969)
* a commit

* Update code/controllers/subsystem/persistence.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* Update code/__HELPERS/text.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* Update advance.dm

* Update security_officer.dm

* Update text.dm

* Update unsorted.dm

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2020-01-28 16:22:20 +01:00
tralezab
7c5ffc5da4 513 health bars for simplemobs! (#48954)
* cleanup required

* removes bad stuff, makes linter happy

* megafauna still get SOME health doll, cleanup again

* whoop

* UNLINT
2020-01-28 04:29:37 -05:00
spookydonut
ac7f2b5166 Fix Crossed/Entered/Exited/Bump/ui_act parameter casting (#49016)
About The Pull Request

Detected as part of my work on SpaceManiac/SpacemanDMM#167
2020-01-28 10:51:15 +13:00