Commit Graph
95 Commits
Author SHA1 Message Date
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
AtermoneraandGitHub 93d7ad56cc Merge pull request #9300 from Spookerton/spkrtn/del/remove-tcomms-scripting
remove tcomms scripting
2024-01-30 16:23:24 -08:00
MistakeNot4892 1d03b7a3d5 Added fire and grill sounds to the bonfire. 2024-01-18 19:31:15 +11:00
MistakeNot4892 5d80ac21b8 Adding dried meat. 2024-01-18 18:54:03 +11:00
MistakeNot4892 4077e10507 Generalizing drying racks. 2024-01-18 18:54:03 +11:00
Spookerton 6d865d9859 remove usages of /tmp/ 2024-01-18 07:33:14 +00:00
spookerton 29be1f09d2 fix some misc hits on direct overlays access 2023-09-10 17:00:06 +01:00
MistakeNot4892 b1bb99eea1 Fixing issues with the gibber not processing humans. 2023-08-31 00:29:05 +10:00
Cerebulon 4ce479fc5e Fixes appliance typo(s) 2023-06-19 00:55:12 +01:00
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
AtermoneraandGitHub a2c68d9a8d Sheet storage has different caps per type. (#9029)
* Adds per-type max storage persistence

* false paths
2023-03-13 23:44:06 -08:00
Seris02andGitHub 75577bd3ca cleans up so many to_chats so they use vchat filters, unsorted chat filter for everything else (#9006)
* better filters for vchat, unsorted chat filter

* adds closing tags, fixes an error I somehow missed
2023-03-08 18:57:55 -08:00
AtermoneraandGitHub ab7f5a8c3d Merge pull request #8958 from Cerebulon/mining_sounds
Sounds for fabricators, mining machines, levers
2023-03-04 11:59:46 -08:00
Cerebulon 475a57d8fb Sounds for fabricators, mining machines, levers 2023-02-25 22:54:42 +00:00
AtermoneraandGitHub 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
Greenjoe12345andGitHub d6083cd262 Teshari/Skrell food expansion (#8888)
* food

* adjustments

* more fixes

* adjustments 4 ater
2023-02-05 16:31:00 -08:00
c970f84445 Naming Food & Blood Cakes (#8817)
* Allow foods to be renamed.

Reagent-only foods produced in things like the oven are colored properly.

* Fix Naming on Reagent-Only food.

* Death to Alt, long live Verb

* Update code/modules/food/food.dm

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

Co-authored-by: Spookerton <spkrtn@pm.me>
2022-11-10 22:49:56 -08:00
Cerebulon e5f251b02c Adds a bunch of halloween costumes, costumes in loadout, costume file sorting 2022-10-25 03:42:19 +01:00
spookerton ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +01: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
CerebulonandGitHub d841b1452f Xenoarchaeology sprites n sounds (#8666) 2022-07-31 22:09:20 -08:00
KetraiandGitHub edb54f137d Cooking QOL V2 (#8644)
* cooking_qol

* fixes

* fixesconflictindiner
2022-06-05 16:16:50 -08:00
Killian 805ec533c7 chest targeting fixes 2022-05-08 23:13:33 +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 ee67e174fb use static for shared member vars 2022-04-24 07:52:32 +01:00
spookerton 1f3ffc2433 non-flagged, non-complex overlay -> ssoverlays 2022-04-24 07:51:12 +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 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
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
atermonera 5657f839b2 Fixes overflow bug that can delete sheets from smartfridge 2021-11-21 21:44:19 -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
Schnayy 030741d681 fixes stray bugs 2021-09-11 01:28:49 -05:00
MarinaGryphonandGitHub 593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
Aronai SieyesandGitHub 9cd4a89782 SSpersistence tweaks (#8087)
* Add some 'lossy' smartfridges and options

* Convert persistence to JSON

* Update map_datum to specify persistence levels
2021-05-20 18:50:36 -09:00
AtermoneraandGitHub b123a4750b Adds persistent smartfridges for garden products, material sheets (#8042)
* Addsd sheet storage smartfridge
Implements persistent item storage

* Adds persistent produce smartfridge
Repaths smartfridge base type to /produce subtype

* Raises produce cap to 50, per staff meeting
2021-05-12 21:05:04 -09:00
AtermoneraandGitHub 003d47fbbc Tanning Tweaks (#7965)
* Tanning Tweaks

* tanning racks remove from SSobj on destroy
2021-03-29 20:48:11 -09:00
MistakeNot4892andGitHub b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
Cerebulon 5064cdbc41 Un-inverted oven messages, reagent-add code unborked 2021-02-01 03:28:10 +00:00
MechoidandGitHub 68b370be8a Fresh Meat, Leatherworking (#7629)
* Make Butchering more modular. Don't tell the demon lords.

* No guts no glory. That was far more work than expected to get organs to just process and work for butchering holy shit.

* Chitin and hides oh my.

* squeak. ..Why did this not fire on local?

* Squelch.

* Seven cubed livers, for the doctors in their sterile halls.

* Changeling

* Prep for Datums

* Fix Broken Broken Guns

* Redundancy

* F l a g s
2020-11-07 12:06:35 -08:00
AtermoneraandGitHub 6bd15bc200 Merge pull request #7625 from ShadowLarkens/tgui_med
TGUI Medical Conversion
2020-09-19 18:52:23 -07:00
MechoidandGitHub f518a31458 Hydro upkeep (#7475)
* Start work on Hydro upkeep.

* Fix Cyborg interactions with kitchen tools.

* Add Wurmwoad to the vendors.

* Map

* changeling
2020-09-16 16:38:43 -07:00
ShadowLarkens 44f65e2602 TGUI Medical Conversion 2020-09-04 16:25:32 -07:00
AtermoneraandGitHub a7e1d20511 Merge pull request #7550 from Khloross/cookingfix
Fix combinination_cook() creating items with no reagents
2020-08-27 16:45:40 -07:00
Khloross 05cca83212 Replace trans_to with equivalent trans_to_holder call 2020-08-23 00:24:18 -04:00
Rykka 0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00