233 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 16ef531c64 Species shock vulnerability is now handled with a getter. 2023-08-14 15:55:20 +01:00
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
Verkister 26a362af01 Update code/game/objects/items/weapons/material/shards.dm
Co-authored-by: Spookerton <spkrtn@pm.me>
2022-12-03 16:53:38 +02:00
Verkister 2a1ff291cb Fixes shards having unlimited afterattack range
Fixes glass shards and such being able to be smacked into anything on the screen regardless of the targets location to shatter and mess up your hands.
2022-12-03 13:58:35 +02:00
MistakeNot4892 19bfb761f9 Chitin and wood armour plates can be made with a sharp object. 2022-10-31 01:32:44 +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
Mechoid e072e147a4 Archery Tweaks (#8670)
* Add proper custom arrows. (cross)Bows "render" proper arrows over themselves in inventory and on ground. Hardlight bow no longer deletes other arrows on removal.

* Fix subtyping issue.
Add Chitin arrow type.

* Remember to hit save, kids.

* Fixfix. Add true Unga arrow utilizing the Ancient Art of Sharp Rocks.
2022-07-31 22:09:53 -08:00
DemonPizza b9b7e4e3cf - changes /obj/item/cane/concealed to contain a cane sword instead of a switch blade, as well as adds a subtype of katana for the cane sword
- changes cost of concealed blade in uplink to match the katana and other swords
- adds sprites for the item in game as well as shown on character
2022-06-13 16:24:08 -07: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 fec412daaa Rebase issues 2022-04-17 19:18:15 -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
Greenjoe12345 e4e27269a4 remove kopesh and dao 2022-04-18 02:11:38 +01:00
Greenjoe12345 3bdc40cdf6 fixing issues 2022-04-14 19:22:14 +01:00
Greenjoe12345 3328240299 removes extra animation frame on teshari pike sprite, removes material colour from weapons 2022-04-07 20:30:30 +01:00
Greenjoe12345 1cf1e48416 some balance and mechanic adjustments 2022-04-04 02:37:16 +01:00
Greenjoe12345 a19ddfce0e Merge branch 'master' into swordsandbow 2022-04-03 21:00:59 +01:00
Greenjoe12345 b27a278123 better arrow sprite, no material color for gladius 2022-04-03 04:08:11 +01:00
Atermonera 8e617b3056 Merge pull request #8493 from Spookerton/spkrtn/cng/misc2022mar30-1
clean up emag resolve_attackby, .orig files
2022-04-02 17:41:31 -08:00
Greenjoe12345 bb24579a29 weapons 2022-04-03 02:27:16 +01:00
spookerton 5e7a007e47 clean up emag resolve_attackby, .orig files 2022-03-30 15:43:28 +01:00
spookerton 209caf444c adds material armor crafting recipes 2022-03-30 15:03:27 +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
atermonera 20b60157eb Revert "A KNIFE!"
This reverts commit 0dabd4a717.
2022-03-29 15:54:14 -08:00
Atermonera 7428ac95c3 Fixes material bats not returning init hints (#8393)
* Fixes material bats not returning init hints

* Can the cans pass CI

* Brace for letting
2022-02-13 20:55:33 -08:00
Atermonera 0dabd4a717 A KNIFE! 2022-01-18 17:29:50 -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
Atermonera 9c4eceae2b Removes suicide_act() 2021-09-19 11:43:34 -08:00
MistakeNot4892 aa25456fcb Merge pull request #8236 from Cerebulon/wipedown
Allows wiping food off cutlery
2021-08-31 10:06:19 +10:00
Cerebulon 22d073b193 Don't forget to wipe. 2021-08-23 14:41:07 +01:00
MistakeNot4892 4c53eda3b2 General wilderness updates; fixed frostbelle, adjusted scavenging, added some recipes and mushrooms.
Fixes for wilderness commit.
2021-08-17 18:54:37 +10:00
Cerebulon 18b6eeae21 Misc Vore-TG Port Ports 2021-07-13 03:30:04 +01:00
MarinaGryphon ae1ec55bf3 Fixes utensils, adds variable scoop size (#8165)
* Fixes utensils, adds variable scoop size

* Update code/game/objects/items/weapons/material/kitchen.dm
2021-07-11 20:58:28 -09:00
Atermonera 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
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
MarinaGryphon 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
MarinaGryphon 1672a51eff Refactors utensils to use weakrefs (#8140)
* Refactors utensils

* fixes + removes extraneous var

* fixes another missed arg
2021-06-18 14:01:35 -09:00
TheDavestDave aacdcaad87 stops armour plate and armour plate inserts having the same name, and examine text as each other (#8123)
armour plate and armour plate inserts have the same sprite, name, and examine text in game. I can fix two of  three things. You need to do stuff with amour plate inserts to make it fit in a plate carrier wile amour plate just will never fit
2021-06-10 22:08:58 -07:00
Neerti 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
MistakeNot4892 2b48ef76c8 Ported the Nebula emote system. 2021-03-27 10:24:14 +11:00
MistakeNot4892 420a8005f7 Tachikoma tweaks. (#7988)
* Fixes erroneous copypaste in tachikoma join string.

* Nerfs tachikoma speed.

* Nerfs tachikoma armour.

* Added wirecutters and welder to recon platform kit.

* Swaps the explo platform chainsaw to emag item, gives them a machete instead.

* Prevents ghosts from mousedropping crates onto platforms.
2021-03-19 00:02:11 -09:00
FenodyreeAv ca583e2cb2 Adds a modular armour version of the explorer suit and adds sprites to specialist armour (#7921)
* Adds a modular armour version of the explorer suit.

* Adds material armour building steps for plates, arm guards and leg guards

Adjusts chitin hardness and weight (weaker and lighter)

* Maps a drying rack and washing machine into the planetside outpost

* Fixes QDEL issue, adds sprites to the specialist armours, and adjusts the cargo crates to match.

* Changes map format to TGM

* Removes flashy pixel on south facing leg sprites

* Adds proper returns, removes copypasta, fixes labeller & pen interactions
2021-03-07 11:36:51 -09:00
MistakeNot4892 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
Mechoid bd9f63a97a Gadgets & Gizmos (#7786)
* Adds various objects for explorers / antagonists.

* T A G S

* Mend
2021-01-14 21:53:39 -09:00
Mechoid 063a2a30b8 Adds a Whip. (#7780)
* Adds material-based whips. The chain of command, as a whip-a-like, has reach 2.

* Adds the Whip to leather-crafting.

* Fix Inhands

* Don't test at night kids.

* Tweaktweak

* Map

* Span

* Don't spam more than one message on harm.

* Ranged Disarm now only occurs in logical context. (Aiming at arms or legs)
2020-12-27 16:55:08 -09:00