Commit Graph

31942 Commits

Author SHA1 Message Date
Atermonera
671b5e7ea4 Closet appearance decls correctly use the repository (#8154)
* Closet appearance decls correctly use the repository

* GET_DECL
2021-06-27 20:45:23 -09:00
MarinaGryphon
fd47735923 Fixes inverted logic in staffwho 2021-06-27 17:57:02 -05:00
TheFurryFeline
698060c382 Typo Fixy
Title, for Kompot.
2021-06-25 16:58:17 -04: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
Atermonera
f97d1b884b Merge pull request #8152 from Hatterhat/wasted-waste
waste doesnt exist
2021-06-21 18:16:17 -07:00
MarinaGryphon
b634eb243f Removes unused var in select_recipe (#8151)
Iiiiiiiiiiiiiiiiiiiii should have caught this.
2021-06-20 17:11:14 -09: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
Verkister
379479a423 Fixes synthetic var not getting cleared on load (#8148)
Fixes synthetic var not getting cleared when loading character slots. Due to the char setup mannequin's nature of being a single same mob just getting its properties loaded from save slots, loading/making a synth character would permanently mess up the var for all non-synth chars on the roster and cause issues with synth-related settings because there was nothing in the code to clear the var.
2021-06-20 11:51:52 -09:00
ShadowLarkens
fd3f581656 Make item/attackby call ..(), multitool tool quality fix (#8145)
* Make item/attackby call ..(), multitool tool quality fix

* Just don't print item attack messages on attackby
2021-06-20 11:51:14 -09:00
MarinaGryphon
4b964bb2da Indescribable! - A Food Flavor Fixing Pass (#8144)
* Indescribable! - A Food Flavor Fixing Pass
*You keep using that word. I do not think it means what you think it means.*
  - Food will no longer erroneously have double the nutriment it's supposed to.
  - Fixed a lot of invalid food nutriment tastes and spruced up some old ones.
  - Made all foods use `nutriment_amt` where applicable
  - Made those not applicable to the former use `nutriment_desc` when manually adding nutriment
  - Moved setting bitesize out of Initialize, because... why

* fixes stragglers
2021-06-20 11:49:14 -09:00
Leshana
1df8a81f63 Configure some VV bitfields and fix editor (#8139)
* Fix unwanted line wraps in vv bitfield editor.

* Configure vv bitfields for appearance_flags, vis_flags, and sight.
2021-06-20 10:59:21 -09:00
Hatterhat
11b810c262 waste doesnt exist 2021-06-20 08:20:22 -05:00
Atermonera
beaf109060 Refactors posters to use decls (#8128)
* poster

* Moves decls_repo init forward

* Moves decl_repository init even further forwards
2021-06-18 19:14:49 -07:00
Atermonera
a1327676d8 Fixes unlocked air alarm uis (#8149) 2021-06-18 19:12:35 -07:00
MarinaGryphon
c224b192a9 Improves select_recipe. (#8141)
* select_recipe improvement

Removes the call to Timsort and the recipe comparator proc;
uses a handrolled implementation of
`argmax(items + reagents + fruit)` instead.
This reduces the memory footprint of `select_recipe`
as well as the amount of processing needed to select the optimal recipe.

* angelogchay
2021-06-18 14:06:27 -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
Atermonera
68eadcc100 Merge pull request #8138 from Verkister/patch-72
fixes coughs screaming in the chat
2021-06-18 15:37:29 -07:00
MarinaGryphon
f9613f24bc Removes Global Iterators (#8146)
* Removes global iterators

* fix dme?

* removes useless var, TRUE/FALSE for state/equip_ready
2021-06-18 09:06:17 -09:00
MarinaGryphon
626130a0a1 makes it actually work 2021-06-16 10:42:04 -05:00
MarinaGryphon
3fa0e5cec2 linter + refactors advancedwho/staffwho
This simplifies some very old and bad code, and unifies the admin/non-admin printing to avoid duplicate code.
Also fixes a number of bugs caused by ambiguous parens and various linter errors.
2021-06-15 13:49:58 -05:00
Verkister
c61917fb90 fixes coughs screaming in the chat 2021-06-14 23:44:28 +03:00
Atermonera
9db050951e Merge pull request #8136 from VOREStation/Arokha/ssrobust
Improve subsystem robustness
2021-06-14 00:36:04 -07:00
Atermonera
688b9f4037 Merge pull request #8135 from Ketrai/letthemeatcakeagain
Makes the chaos cake cheaper.
2021-06-14 00:34:09 -07:00
Hatterhat
185d7a1c81 clamps decon_mod between 0 and 1 (#8133)
* when the decon_mod is above 1 :sus:

* when the operator is mixed
2021-06-13 22:33:03 -09:00
Atermonera
ab1ff7034e Merge pull request #8132 from VOREStation/Arokha/holofix
Fix random holoplant bug
2021-06-14 00:32:31 -07:00
Atermonera
0c5a31b0aa Merge pull request #8131 from VOREStation/Arokha/parapod
Ports Paradise pod doors
2021-06-14 00:31:35 -07:00
Atermonera
7a7e77ccf5 Merge pull request #8129 from Hatterhat/patch-1
leg holsters in cargo crate
2021-06-14 00:30:23 -07:00
Atermonera
f65c46bb32 Merge pull request #8126 from MistakeNot4892/chirp
Added unit test to ensure emote key uniqueness.
2021-06-14 00:29:07 -07:00
Atermonera
817f8ab2ca Merge pull request #8125 from Hatterhat/yet-another-ripley-buff
ripleys autoscoop ore in an aoe
2021-06-14 00:27:30 -07:00
Atermonera
5c74a1355b Merge pull request #8124 from Mechoid/GraffitiMappingAssist
Adds a graffiti spawner for PoI and general map-making.
2021-06-14 00:26:20 -07:00
Atermonera
dabfdc14db Merge pull request #8122 from VOREStation/Arokha/access
Make req_[one_]access lazy
2021-06-14 00:22:04 -07:00
Aronai Sieyes
1fd1d84deb Runechat (#8121)
* Message piece combiner returns a list

* Emote formatter returns a list

* Port Runechat

* Various onamonapoea

* Suggested changes, small opts

* Fix chat message on different size mobs

* Couple more runefixes

* Enable encoding chat emphasis in runechat

* Remove extra asterisks from rune audible messages

* Fix runedefines
2021-06-13 22:18:43 -09:00
Verkister
c9873ff9ed Fixes some unseen combat ai jank (#8116)
* Fixes some unseen combat ai jank

haha lack of exit consition go brrrr

* wow the conflict resolve editor is a piece of crap
2021-06-13 20:31:27 -09:00
Aronai Sieyes
bac077a8ea Portable mapping devices (#8097)
* Refactor holomap generation

* Portable mapping units

* Fix misnamed state

* Make it small

* Reduce power usage

I didn't know you could use fractional amounts!

* Apply suggested changes, fix indent

* Fix icon_state bug
2021-06-13 20:30:00 -09:00
Aronai Sieyes
75c9cca2ad Improve subsystem robustness 2021-06-12 17:34:23 -04:00
Ketrai
aea07924ef Makes the cake cheaper. 2021-06-12 12:40:54 +02: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
Aronai Sieyes
1efd17e696 Fix random holoplant bug 2021-06-08 20:42:18 -04:00
Aronai Sieyes
c090d2c340 Ports Paradise pod doors 2021-06-08 20:41:18 -04:00
Hatterhat
b7f0c67e7f leg holsters in cargo crate 2021-06-07 05:42:51 -05:00
MistakeNot4892
14c125f41d Added unit test to ensure emote key uniqueness. 2021-06-07 00:16:58 +10:00
Hatterhat
ce7baa0946 in this thread, i disguise a buff as qol again 2021-06-06 05:57:01 -05:00
MarinaGryphon
5dc47dd3ed Adds unit test for invalid recipes (#8119)
* Adds invalid recipe unit test

Checks for:
- Missing result type
- Result type is not /atom/movable (mob or obj)
- Result quantity unset
- Quantity less than or equal to zero
- Quantity is not an integer

* Update recipe_tests.dm

* adds tests to dme

* dont code at night (remix)

* Update recipe_tests.dm
2021-06-06 00:36:52 -09:00
MarinaGryphon
f95bcd462d Fixes infinite loop following cooking error (#8118)
* Fixes infinite loop following cooking error

```
		while (select_recipe(available_recipes,C) == recipe)
			var/list/TR = list()
			TR += recipe.make_food(C)
```
This would never consume reagents due to an early return, meaning it would never terminate from the while loop. Clearing the reagents is an easy fix for something that will hopefully never happen, and avoids locking the server up if it does.
Also makes such failures obvious.
TODO: Unit test for recipes without results.

* Fixes/tweaks

* fix CI
2021-06-06 00:36:12 -09:00
Shadow-Quill
7add1a7784 Adds new UI for secure stuff (#8117)
* Adds new UI for secure stuff

* Updoot bundle
2021-06-06 00:34:37 -09:00
Casey
c331cd5409 Random mob spawners can accept faction input now (#8115)
* Random mob spawners can accept faction input now

The variable was there, just not used for anything, so I fix

* Update code/game/objects/random/mob.dm

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
2021-06-06 00:23:09 -09:00
Novacat
51011c9c5d Add Secret ZLevels (#8111)
* Add Secret ZLevels

Port of https://github.com/VOREStation/VOREStation/pull/10430

* Update observer.dm
2021-06-06 00:22:27 -09:00
Atermonera
c033544a62 Merge pull request #8104 from Cerebulon/rocknroll
Adds new rocks + resprites mining outcrops
2021-06-06 02:16:55 -07:00
Atermonera
cd50b5a4e7 Merge pull request #8099 from MistakeNot4892/chirp
Tweaks to emote system to avoid memory overhead and make runtime validation easier.
2021-06-06 02:13:39 -07:00
dwinters99
a23eccdfb4 Adds more winter coats + moves existing winter coats to the same file (#8086)
* code changes

* icon changes

* armor redefine fix
2021-06-05 22:51:39 -09:00