Commit Graph
149 Commits
Author SHA1 Message Date
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
MistakeNot4892 db1a97868d Implementing movement system flags, fixing simplemob movement delays. 2023-03-12 01:22:03 +11:00
FrenjoandGitHub 20cdc4b676 Converts move intents to /decl/move_intent (#8993)
* Converts move intents to /decl/move_intent

Adds /decl/move_intent/walk and /decl/move_intent/run.

Switches all move intent checks to use the new IS_RUNNING and IS_WALKING macros.

Renames and refactors /mob/living/proc/set_m_intent() to /mob/living/proc/set_move_intent(decl/move_intent/intent).

Removes the unnecessary /mob/var/m_int and associated code.

Updates all move intent setters to use set_move_intent().

* Swaps incorrect config values

Swaps incorrect move delays since I got them backwards somehow, oopsies.

* Adds suggested ?. operator

Compactifies two if statements using the ?. operator instead.
2023-03-04 14:28:10 -08:00
spookerton bb472b4832 replace 0 for EMPTY_BITFIELD on atom_flags configs 2022-10-18 09:36:40 +01:00
spookerton 3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
AtermoneraandGitHub 21bd8477c7 Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
2022-04-24 19:56:07 -08:00
spookerton 556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01: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
atermonera 101740a7d3 Updates icon paths 2022-04-17 19:14:07 -08:00
SpookertonandGitHub a8f3898901 Merge pull request #8419 from Sypsoti/changelingredux-1
New Changeling Menu
2022-04-01 18:26:26 +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
VerkisterandGitHub 521e901cc4 Update electric_lockpick.dm 2022-03-25 18:35:13 +02:00
VerkisterandGitHub ffe10e8ab6 Update electric_lockpick.dm 2022-03-25 18:34:56 +02:00
Sypsoti 8f9757e0a3 begins to add evolution tree window 2022-03-04 18:56:14 -06: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
0232be9531 Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect

* linter fixes

* No new

Co-authored-by: Atermonera <forslandm@gmail.com>
2022-01-16 00:14:39 -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
Atermonera 9c4eceae2b Removes suicide_act() 2021-09-19 11:43:34 -08:00
Schnayy 1f5c02acd6 fixes changeling transform bug 2021-09-10 15:00:32 -05:00
Unknown 2c771d0ae5 Halves Item Slowdown Effects
Most items in the codebase have a slowdown multiplier of one, when slowdown is handled species-side in multiples of 0.5. This makes the effect of species slowdown almost non-existant when item slowdown is involved, and makes species that have item slowdown reduction (such as Unathi) unnaturally fast.

Do note that I also went through and removed odd slowdown numbers as well, as, due to the way slowdown is tied to tickrate, it should be done in intervals of 0.5.

I tried to view things on a case by case scenario but there will probably be changes that will need to be double checked.

Some items will be handled differently, I will list the exceptions below.
Boots of Speed: Kept at -1, it is boots of speed after all.
Chemistry Bag: Increased to 3. This should not really be toted around outside of chemistry.
Hybrid Tools: They already have a lot of other disadvantages, and are kind of hard to get, and 0.1 is a weird number for slowdown.
Site Manager's armor: Already 1.5
Unathi Breacher modules: These things are overpowered and Unathi already have a racial trait to virtually remove slowdown.
Voidsuits: Already done in intervals of 0.5, no change.
RHR Accellerator: This thing probably has appropriate slowdown values for what it is.
Utility suits: Already done in intervals of 0.5
Clothing/suits/armor: Already done in intervals of 0.5
2021-06-24 17:24:52 -04: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
AtermoneraandGitHub 1cb60a41fa Merge pull request #7060 from Mechoid/LingFixes+OtherFixes
Ling Fixes + Various other fixes
2020-05-05 14:00:34 -07:00
Mechoid a5d0978773 Ling Fixes + Various other fixes, including non-suit suit icons, rollerbed inhands, ling thermals existing and working, ling locker/morgue revive. 2020-04-27 20:27:39 -07:00
Neerti 2dee403370 Removes limits on eating, centralizes nutrition changing. 2020-04-26 05:30:32 -04:00
Leshana 767e6227f5 Replace all direct setting of mob.stat with mob.set_stat() 2020-03-20 23:45:29 -04:00
Arokha SieyesandLeshana 5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
TheFurryFelineandMechoid fb6394b89d Changeling Item Name/Desc Fixy (#6624)
* Changeling Name/Desc Fixy

Minor var fixes for the changeling combat boots variation. Apparently name and desc were flipped around, resulting in abnormal name output when removed from a dead Beta Replicant.

* Changelog
2020-01-15 23:55:23 -08:00
lacune 701509605b Fixes two typoes (rengeration and Extranneous) 2019-11-27 18:03:02 -05:00
Rykka 493b83d5a0 Update Chat System to use to_chat(src, "") instead of src << "" 2019-10-28 15:22:32 -06:00
parasitoideandGitHub d3ce71d7a9 Compatable -> Compatible 2019-10-25 19:01:39 -04:00
MechoidandAnewbe 8bce9db1e8 THIS PR IS 7+ DAYS OLD, SEE #6203 . Energy-Swords and Changeling Melee Weapons Can Deflect Projectiles (#6215)
* MakeMeleeGreatAgain

* Where is melee defined?!
2019-06-18 04:50:47 -05:00
Mechoid 08da232ffb Updoot in line with Ater-review. 2019-01-25 21:57:04 -08:00
Mechoid f0cbeb2bc2 Makes Straight Jackets and Ling Revive resist compatible. 2019-01-22 18:25:38 -08:00
NeertiandGitHub 274b3c3c93 Merge pull request #5776 from Atermonera/spacesuit_pressure_limits
Adds pressure protection bounds to clothing.
2019-01-13 02:28:36 -05:00
atermonera 694726f77e Adds pressure protection bounds to clothing. 2018-12-11 21:06:02 -08:00
kevinz000 ab3f30b28f Merge remote-tracking branch 'polaris/master' into PS_PORT_SCHEDULER 2018-12-09 20:34:39 -08:00
kevinz000 c2c688c4c8 caps 2018-12-06 18:34:37 -08:00
kevinz000 2c0898f870 Regex 2018-10-14 20:03:17 -07:00
LayneandAtermonera 8b38c3280d Changelings Now Succ Traits (#5376)
Changelings store traits from their victims
2018-07-03 14:09:47 -07:00
Arokha SieyesandLeshana 4e39bfefe7 POLARIS: "0x32" is not a valid single-bit flag 2018-03-21 14:36:53 -04: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
Anewbe 5c9fd04ed3 Fixes some goofs 2018-02-17 01:19:57 -06:00
Anewbe 1593e4fdeb Steals more modular armor code 2018-02-16 18:41:07 -06:00