62 Commits
Author SHA1 Message Date
Spookerton ebbf0e33fb between() -> clamp() & swaps args 1 and 2 in uses 2024-02-05 15:47:07 +00:00
MistakeNot4892 deb758ab32 Adding some synthetic simplemob handling to damage strings.
Added synthetic simplemob repair.
2023-02-05 12:39:22 +11:00
spookerton 1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera 9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera 7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
SpookertonandGitHub 339b42a690 Merge pull request #8484 from Rykka-Stormheart/shep-dev-defib-pain
Adds pain upon being revived with a defib
2022-04-01 18:28:37 +01:00
SpookertonandGitHub f06dcc071e Merge pull request #8470 from Verkister/patch-89
Some admin log "usr" fixes
2022-04-01 18:25:29 +01:00
atermonera c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
17e38ea58c Update code/game/objects/items/devices/defib.dm
Co-authored-by: Spookerton <spkrtn@pm.me>
2022-03-28 02:03:55 -06:00
Rykka 9bd77e462e Adds pain upon being revived with a defib
As stated.
When brought back to life, you're given a moderate amount of pain to simulate the defib pain.
2022-03-27 19:31:05 -06:00
VerkisterandGitHub f07059358a Update defib.dm 2022-03-25 18:44:18 +02:00
AtermoneraandGitHub 4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
MistakeNot4892andGitHub 2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
Aronai SieyesandGitHub 1fd1d84deb Runechat (#8121)
* Message piece combiner returns a list

* Emote formatter returns a list

* Port Runechat

* Various onamonapoea

* Suggested changes, small opts

* Fix chat message on different size mobs

* Couple more runefixes

* Enable encoding chat emphasis in runechat

* Remove extra asterisks from rune audible messages

* Fix runedefines
2021-06-13 22:18:43 -09:00
Heroman ab855ca531 Fixes defib timers being 10 times as long as intended. 2021-01-24 09:47:56 +10:00
KillianandGitHub 8d731a153b blood mechanics tweaks (#7377) 2020-07-31 01:53:41 -07:00
Killian 5da912d679 offload defib from no_scan 2020-06-23 18:06:28 +01:00
Rykka StormheartandGitHub 9917f31031 Merge branch 'master' into shep-dev-upstream-screenport 2020-05-30 06:54:08 -04:00
Rykka fc1d6e741c Ported /tg/ style screen alerts, replacing the hunger icon with them
This adds throw_alert() and /obj/screen/alert, a system that allows you to do custom hud alerts for any variety of things from "You're too cold!" to mecha status indicators for the pilot.

There's quite a few things that actually got replaced; the
fire/oxy/tox/co2 alerts are all now just alerts, as is nutrition. There's also a number of new alerts, such as blindness, highness, legcuffed, buckled, handcuffed, and probably some more I missed; read code/_onclick/hud/alert.dm and see for yourself!

Additionally, a number of tweaks have been done to resisting code, to make it so that there's an indicator when you're buckled or handcuffed, and can just click the alert to start resisting. This includes a refactor that combines the logic for lockers, holders all into one proc, called container_resist().

Also, the health and internals indicator got moved down one tile each. Needed room for the alerts. If we add the oxygen tank action buttons from /tg/ and remove the internals indicator, the health indicator can go back where it was originally.

Alerts, pictured in the top right.
![https://i.imgur.com/H7Bipci.png](https://i.imgur.com/H7Bipci.png)
2020-05-23 04:48:47 -04:00
Aronai Sieyes ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
NeertiandGitHub 8a03168d95 Stasis QoL (#6923) 2020-04-06 21:38:22 -07:00
Neerti 87c53a75af Updates to master and makes gravity event code be current. 2020-03-26 04:10:51 -04:00
Leshana 767e6227f5 Replace all direct setting of mob.stat with mob.set_stat() 2020-03-20 23:45:29 -04:00
Neerti 33657c9e11 Event system rewrite started. 2020-03-19 07:31:30 -04:00
Neerti 530ea7f32f Adds various notifications for events. 2020-03-14 19:58:20 -04:00
lemon 1cd2835e1b Defibrilators can be charged in rechargers 2020-02-25 14:27:40 -05:00
Unknown 7f4b35580d Blind port of Bay Radiation Subsystem
Figured I would do my part to move everything over to subsystems. Not tested yet.
2019-09-30 23:59:31 -04:00
kevinz000 61561ade31 Clamp replace 2019-01-12 05:51:08 -08:00
kevinz000andGitHub d15f7efa5b Merge branch 'master' into PS_PORT_SCHEDULER 2018-12-06 18:10:48 -08:00
kevinz000andAtermonera 8da11c17a2 Makes math helpers defines for performance (#5654) 2018-12-06 13:13:59 -08:00
kevinz000 2c0898f870 Regex 2018-10-14 20:03:17 -07:00
Anewbe eebb627f00 Partially ports the GLOB system 2018-08-14 18:14:09 -05:00
Anewbe 729ce71aa0 Converts most istype(thing,tool) procs into an appropriate thing.is_tool() format 2018-08-02 21:45:15 -05:00
Arokha SieyesandLeshana 73838e0a62 POLARIS: Revamp logging to be consistent 2018-03-13 18:20:58 -04:00
Arokha Sieyes 53a185f838 U_I Phase 2.0: Code cleanup
Removing calls to update_icons_layers and the like, stubbing them to help track down future calls.
2018-03-08 19:33:44 -05:00
Cyantime 5816d717f7 Fix paddle runtime 2018-02-06 23:57:44 -05:00
Anewbe 99a0c6cd67 Corrects a compile error 2017-11-26 18:13:34 -06:00
Anewbe 1591fdcc81 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into radiation_tweaks
# Conflicts:
#	code/game/objects/items/devices/defib.dm
2017-11-26 17:53:00 -06:00
NeertiandGitHub d8b26358ce Merge pull request #4278 from Anewbe/defib_charge
Successful Defibs are more costly, chargewise.
2017-11-19 17:50:13 -05:00
NeertiandGitHub 595f874f9b Merge pull request #4264 from Anewbe/decap_defib
Decapitation now stops defibrillation
2017-11-19 17:50:03 -05:00
Anewbe 9191bfe6f7 Adjusts original PR as per Staff request 2017-11-17 16:11:05 -06:00
mistyLuminescence 3a19bf7c2b Fixes ghost defib message 2017-11-17 21:28:41 +00:00
Anewbe 27f0f44222 Successful Defibs are more costly, chargewise. 2017-11-16 23:56:55 -06:00
Anewbe f5e831050b Decapitation now stops defibrillation 2017-11-14 01:15:29 -06:00
Anewbe ff4be8c2e2 Jumper cables now clear FBP toxloss 2017-10-30 21:28:43 -05:00
AnewbeandGitHub 7a36a8cfb6 Merge pull request #4118 from mistyLuminescence/cryostorage
Reworks cryopod storage
2017-10-22 19:03:07 -05:00
mistyLuminescence ae308a3a91 Reworks cryopod storage 2017-10-20 19:14:45 +01:00
Neerti 1aff3fc8c0 Syndicate Borgs II, Return of the Salt
Adds an option in mercenary uplinks to purchase three different 'classes' of drones.
See PR for more details.
2017-10-20 13:01:45 -04:00
NeertiandGitHub e7d89af8dd Removes Anti-Bird mechanisms from Defibs
For some reason, small mobs, which include Teshari and Prometheans (and monkeys) cannot use the defib unit.  They can wear the unit but can't actually 'hold' the paddles in both hands, which seems a bit inconsistent and I'd rather just remove the 'no birds allowed' code.
2017-09-11 18:42:18 -04:00
Andrew 378bb4af49 Readds Jumper Cable Kits
+Readds jumper cable kits to revive FBPs (Robotics will spawn with these
without any map changes but they will be empty so that needs to be fixed
anyways)
+Readds jumper cable kits to cargo orders
-Lowers jumper cable kits in order to 2 from 4 to be in line with the
defibrillator changes
+Adds robot defibrillators to both medical modules
+Adds robot jumper cables to research module
+Adds some new icons for jumper cables to fit in better with the new
defibrillator sprites
2017-07-03 18:33:48 -05:00