833 Commits

Author SHA1 Message Date
Spookerton ebbf0e33fb between() -> clamp() & swaps args 1 and 2 in uses 2024-02-05 15:47:07 +00:00
Spookerton 978f4511a5 examine signature changed to include distance
- distance is INFINITE, 0, or a positive integer based on get_dist() between
the examiner and examinee's turfs when they are on the same Z. When the
examiner is dead or a ghost, distance is always 0.
- also updates /examine( implementations to use it!
- adds w_class_to_name proc for reusing "It is a X item." examine behavior.
2024-01-31 13:49:52 +00:00
Spookerton 6d865d9859 remove usages of /tmp/ 2024-01-18 07:33:14 +00:00
Nyarlthotep b415630cb0 Unathi have larynxes 2023-10-20 15:29:09 -03:00
MistakeNot4892 a1092243ac Porting some Neb/Bay gluttony changes. 2023-07-31 22:16:42 +10:00
enbyfriend 7532593f15 Language transfer on brain removal bugfix (#9070)
* Language transfer on brain removal bugfix

Normally, when your brain is removed from your skull, you lose all your languages
This (hopefully) fixes that

* Update code/modules/organs/internal/brain.dm

---------

Co-authored-by: Spookerton <spkrtn@pm.me>
2023-05-28 10:56:20 -08:00
Ava 2976177f2a Slimes can eat loose food, decals, dirt, and so on (#9064)
* Slimes can eat food, decals, dirt, and so on

* Bugfix I found in the course of math

* I think I wrote that as a fallback but I'm not sure

* review fix - tested this and it seems to work
2023-04-09 10:49:59 -08:00
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
Atermonera fa1082881b Merge pull request #9050 from MistakeNot4892/drakemove
Move intent tweaks.
2023-03-14 00:01:26 -08:00
MistakeNot4892 db1a97868d Implementing movement system flags, fixing simplemob movement delays. 2023-03-12 01:22:03 +11:00
Seris02 5632af32c9 reworks handling of transparent limbs (#8947)
* reworks handling of transparent limbs

* fixing the icon operation error
2023-03-09 17:35:43 -08:00
MistakeNot4892 186dc1cdba Vox event icons, turfs and props. (#9020)
* Vox event icons, turfs and props.

* Ported vox prosthetics from Bay.

* Added icons for the vox simplemobs.

* Vox now apply default colours and markings in set_species().
2023-03-04 14:30:54 -08:00
Frenjo 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
Atermonera d6d16811cc Revert "fixes a memory leak with mannequins and the issue that then comes with fixing it (#8942)"
This reverts commit 4bb5562d97.
2023-02-26 16:31:11 -08:00
Seris02 b267325adf fixes a few issues with derobotizing 2023-02-21 11:44:55 +08:00
Seris02 4bb5562d97 fixes a memory leak with mannequins and the issue that then comes with fixing it (#8942)
* fixes a memory leak with mannequins and the issue of non-derobotizing limbs on preference mannequins that comes with fixing it

* almost didn't see that
2023-02-18 21:35:54 -08:00
Atermonera e5c920e680 Axes carbon aliums, makes nymphs direct subtype of carbon (#8931)
* Axes carbon aliums, makes nymphs direct subtype of carbon

* Keep type as diona
2023-02-18 21:07:53 -08:00
Greenjoe12345 d6083cd262 Teshari/Skrell food expansion (#8888)
* food

* adjustments

* more fixes

* adjustments 4 ater
2023-02-05 16:31:00 -08:00
MistakeNot4892 88e865331a Animals ripping out organs will get organ items instead of meat slabs. 2023-02-01 13:19:37 +11:00
Atermonera 02c3aebf2a Repairing light robotic damage messaging fix (#8870)
* Robo-repair calls print a different message when all the damage is healed

* Return whether or not damage is repaired.
2023-01-15 11:03:17 -08:00
Greenjoe12345 0c23067efa Markings expansion 2: Teshari boogaloo (#8865)
* markings

* typo fixy
2023-01-02 17:06:35 -08:00
Seris02 80f18e557e fixes augments so you can't spam the fuck out of them 2022-12-26 18:17:02 +08:00
Spookerton e7ca4ddd93 Merge pull request #8822 from MistakeNot4892/voxicon
Sideports multiplicative colour vox icon and markings from Neb.
2022-11-13 12:29:35 +00:00
Cerebulon a0bea45993 Adds Dimitri's Arm 2022-11-13 01:19:05 +00:00
MistakeNot4892 e234e58c2c Getting vox tail icons and markings to work. 2022-11-09 21:53:02 +11:00
MistakeNot4892 12114eece0 Reworking limb blending based on species. 2022-11-09 21:08:20 +11:00
MistakeNot4892 c001fe8ee6 Sideporting multiplicative vox icons and markings from Neb. 2022-11-09 21:01:36 +11:00
spookerton ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +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
Greenjoe12345 3c0aafbfba woodlimb 2022-09-28 03:33:52 +01:00
Spookerton b39b61687d Merge pull request #8697 from Atermonera/organ-implant-emp
Organs transfer EMPs to their contents
2022-09-01 10:57:53 +01:00
Spookerton f7605bee65 Merge pull request #8696 from Atermonera/no_clone-modifier-gets-checked
Checks the no_clone modifier stored in DNA records as a path
2022-09-01 10:57:07 +01:00
atermonera e17df7e68a Organs transfer EMPs to their contents 2022-08-31 22:36:54 -08:00
atermonera c034848b53 Checks the no_clone modifier stored in DNA records as a path 2022-08-31 21:52:48 -08:00
MistakeNot4892 143078619b Tweaking/adding to drakes and surrounding logic. 2022-08-16 18:36:28 +10:00
MistakeNot4892 dcbf10e28a Added grafadreka.
More work on drakes.

Added grafadreka den site.

Working on refining drake AI.

Fixing drake languages.
2022-08-14 01:26:09 +10:00
MistakeNot4892 994f58e3c5 Playable vox oh no. [MDB IGNORE] (#8674)
* Allowing vox to join as survivalists.

* Adding a crash survivor alt title for survivalist.

* Sideporting vox icons from Bay.

* Updating some vox gear and adjusting vox code for planet spawns.

* Attempting to fix up join checking on latejoin links.

* Crash survivor now loads a pod if it can't find one.

* Nerfs vox cold resistance, they now sit between Tesh and humans.
2022-08-06 23:16:23 -08:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
Atermonera 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
spookerton 7eedbedba5 removes some legacy procs, adds some other procs
NUFC

removed add_lspace — unused
removed add_tspace — unused
removed invertHTML — unused
removed hsl2rgb — unimplemented

removed hex2num — replaced with define
removed num2hex — replaced with define
removed add_zero — replaced with pad_left
removed add_zero2 — replaced with pad_left
removes hex2rgb — replaced with behavior of rgb2num()
removes hex2rgb_r — replaced with behavior of rgb2num()
removes hex2rgb_g — replaced with behavior of rgb2num()
removes hex2rgb_b — replaced with behavior of rgb2num()
removes assorted inline list(rgb) > hex — replaced with behavior of rgb()
removes assorted inline rand > hex — replace with random_hex_text

added hex2num define
added num2hex define
added random_hex_text
added generate_padding
added pad_left
added pad_right
2022-04-03 14:19:45 +01:00
spookerton 602cc67d2b removed CLAMP define 2022-03-31 19:21:58 +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
Cerebulon 122b75d789 Adds more alien organ sprites (#8442)
* Adds more alien organ sprites

* include skrell file

* Update code/modules/organs/subtypes/tajaran.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

Co-authored-by: Spookerton <spkrtn@pm.me>
2022-03-20 11:22:26 -08:00
Atermonera 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
Atermonera 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
MistakeNot4892 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