Commit Graph
198 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
MistakeNot4892 5eab79f06d Adding extremely halfassed grill cooking to bonfires. 2024-01-17 22:15:51 +11:00
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -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
CerebulonandGitHub 69ba99b5e6 /tg/ era language pass (#8962)
* /tg/ era language pass

* Another pass, more generally inc. code comments

* Even more word tweakies
2023-02-24 23:33:52 -08:00
Greenjoe12345andGitHub d6083cd262 Teshari/Skrell food expansion (#8888)
* food

* adjustments

* more fixes

* adjustments 4 ater
2023-02-05 16:31:00 -08: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
Cerebulon e7a9d286b9 Various cig-related tweaks 2022-10-18 00:34:55 +01:00
Sypsoti 47bec39758 bartending enhancements 2022-05-09 22:09:22 -05: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
Cerebulon 0c6a827fd2 Lettuce Cook 2022-04-14 21:37:14 +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
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
Ghost ActualandGitHub 12b1a29efe Donk-Soft! (#8305)
* Initial port

* Various fixes

* Doomguy Costume Addition

Halloween just around the corner, I wanted to add a costume that uses the new toy guns.

* Merge conflict, fixes
2021-10-04 22:14:46 -08:00
Cerebulon 450e81132d Bar vendor cola bottle 2021-09-06 23:00:41 +01:00
Cerebulon 3b7cdc591f Stimulant allergen for Tajaran 2021-09-06 22:51:18 +01:00
MistakeNot4892andGitHub 82d6963433 Merge pull request #8271 from lbnesquik/Kot-Gold-coins
Give all coins a material amount, so you can recycle them
2021-09-03 15:35:26 +10:00
MistakeNot4892andGitHub f14907cdb9 Merge pull request #8203 from Cerebulon/food2021
Food Expansion
2021-09-03 11:55:26 +10:00
lbnesquik aff59e45a3 Give all coins a material amount, so you can recycle them into better objects. 2021-09-02 07:26:59 +02:00
Cerebulon e2e54a7c8e Merge branch 'master' of https://github.com/PolarisSS13/Polaris into food2021 2021-08-27 21:09:46 +01:00
Cerebulon 1ac9d4fcc4 A Hint Of Lime 2021-08-26 18:03:24 +01:00
Cerebulon 6b73ba2fe1 Vending machine throwing tweaks 2021-08-23 18:30:39 +01:00
Cerebulon 2368c341c0 and the rest 2021-08-09 23:24:00 +01:00
Cerebulon 3a9a58b12a code 2021-08-09 21:54:28 +01:00
Ghost ActualandGitHub d383606a6f 2021 Drink Revamp (#8185)
* Base Commit

* Code Fix

* Code Fix
2021-07-28 17:24:47 -09:00
Cerebulon 18b6eeae21 Misc Vore-TG Port Ports 2021-07-13 03:30:04 +01:00
AtermoneraandGitHub 959511918c Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable (#8156)
* Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable

* floorbot compiles
2021-06-29 20:28:16 -07: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
ShadowLarkensandGitHub d1a081033d Initialize all vending products on server start & fix multiple food icons (#8102)
* Add icons for crablegs and crabmeat

* Build all vending machine inventories on startup (cursed)

* Fix cookie having no icon (convert everything to cookiesnack)

* Remove kabob with no actual definition

* Fix spicy burrito having no icon
2021-05-29 09:24:22 -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
AtermoneraandGitHub 080b856593 Merge pull request #8095 from KillianKirilenko/kk-ports
Wall-mounted Geiger Counters
2021-05-23 12:39:09 -07:00
1c7d9c4cba Food 4 thought (#8083)
* Adds Everything

* Small error fix

* Edit fix

* Update code/modules/food/food/snacks.dm

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>

* Update code/modules/food/food/snacks.dm

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>

* Edit Fix

* Vending Machine Fix

* More fixes

Co-authored-by: Greenjoe12345 <33647525+Greenjoe12345@users.noreply.github.com>
2021-05-20 18:11:19 -09:00
Killian 3cef5f6607 wall-mounted counters 2021-05-18 23:56:56 +01:00
atermonera 9ab4668f98 Moves material stacks to modules/materials
Moves vending machines to modules/economy
Moves metal coins, mint to modules/economy
2021-04-22 14:26:04 -09:00
AtermoneraandGitHub 0c0dcb1738 Oops, I refactored Chemistry! (#8013)
Reorganizes Reagents dir structure
Refactors reactions to /decl
SSChemistry is no longer processing

Optimization isn't so optimized
Updates to distillery
New decl repository methods
Further tweaks
2021-04-20 18:31:49 -09:00
MistakeNot4892 ca38755c7a Added Doctress' Jager drink. 2021-03-14 08:13:18 +11:00
ShadowLarkens 983e7b8fc9 Merge remote-tracking branch 'upstream/master' into tgui_engineering 2020-12-24 04:50:24 -08:00
Shadow-QuillandGitHub 705e76187a Prevents infinite money 2020-12-01 15:57:31 -06:00
ShadowLarkens dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
Rykka 0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
Aronai Sieyes ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai SieyesandGitHub 6c6644f86c Rewrite examine() to pass a list around (#7038) 2020-04-29 13:42:16 -07:00