Compare commits

..

2387 Commits

Author SHA1 Message Date
Zhilkin Serg b1b7a0fa94 Update overmap_test.cpp 2023-08-13 13:38:33 +03:00
Zhilkin Serg 64aed6813f Update overmap_test.cpp 2023-08-10 23:14:49 +03:00
Zhilkin Serg bde438d13b Merge branch 'master' into globally-unique-npcs 2023-07-29 09:36:24 +03:00
alef e27cd618d8 Add more '#pragma once' guard (#66448)
* Add '#pragma once' guard

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-29 09:35:34 +03:00
Angela Graves 73b82496f7 Merge pull request #67257 from CleverRaven/i18n
Routine i18n updates on 29 July 2023
2023-07-29 00:07:19 -05:00
kevingranade 373ca8d170 Routine i18n updates on 29 July 2023 2023-07-29 02:25:31 +00:00
Procyonae 2d6081855e Unhardcode mx_bandits_block (#67247)
* Unhardcode mx_bandits_block

* Update map_extras.cpp
2023-07-28 21:11:28 -05:00
Maleclypse bd9cdb397e Merge pull request #67244 from SurFlurer/satisfy-asan
Prevent heap-use-after-free problem of vehicle::damage_direct
2023-07-28 20:54:21 -05:00
Maleclypse 9bce94038e Merge pull request #67249 from Karol1223/evil-FROG
Fix Colossal Croaker ranged pull strings
2023-07-28 20:53:41 -05:00
Diogo Silva 6dd7ca28c7 Added solar panels to the roof of LMOE bunkers (#67184)
* Added solar panels to the roof of LMOE bunkers

* Put the solar unit symbol in the right json

* added fill_ter field

* defining the solar panel directly in the mapg json

* As requested, changed solar panels into nested

* Update data/json/mapgen/nested/lmoe_nested.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/nested/lmoe_nested.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixed small syntax error

* Update data/json/mapgen/nested/lmoe_nested.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-28 20:45:55 -05:00
Maleclypse 2d2f87cd97 Merge pull request #67209 from dseguin/recipe_result_variants
Recipe: variants for results
2023-07-28 20:44:44 -05:00
Procyonae 4f02fad023 Unhardcode mx_house_wasp (#67242)
* Unhardcode mx_house_wasp

* Update map_extras.cpp
2023-07-28 20:44:13 -05:00
Maleclypse 0cc8ad5825 Merge pull request #67239 from Procyonae/UnhardcodeClearcut
Unhardcode mx_clearcut
2023-07-28 17:29:37 -05:00
Maleclypse 4b5501aeb8 Merge pull request #67240 from ampersand55/make_bone_inedible
make bone inedible
2023-07-28 17:29:11 -05:00
Karol1223 16df388fe3 froggy snippets 2023-07-28 21:21:07 +02:00
Surflurer 23264595b1 do not remove fake parts in damage_direct() 2023-07-29 00:52:19 +08:00
fairyarmadillo 82773c3ff1 Stop aphids eating their own honeydew (#67230)
* aphids

* Update monattack.cpp
2023-07-28 11:48:16 -05:00
ampersand55 a75d9b4fdd make bone inedible 2023-07-28 16:24:02 +02:00
Standing-Storm 125a961fd9 [MoM] Convert recipe powers into spell powers, add new powers (#67225)
* Add pyrokinetic flame to requirements

* Create pyrokinetic flame

* Create pyrokinesis_ritual.json

* capitalize name

* temr->term

* Add spells

* Add learning recipe

* Add proficiency, lint

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Further changes

* Fixes

* Add relic_data to telekinetic jack to indicate summon status

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-28 09:11:36 -05:00
Procyonae 0dcecef17d Unhardcode mx_clearcut 2023-07-28 15:11:17 +01:00
Karol1223 60649c05ed Blacksmithing followup: crafting tools for blacksmithing (#67139)
* hammer & fileset

* bronze hammer

* bring back old hammer

* tongz

* tongs for the fileset

* Innawood recipes

* first iteration second tongs recipe (NOT INNAWOOD FRIENDLY YET!)

* forging_scrap

* wowie look another change to the tong recipe someone just kill me already

* metalworking chisel & drift

* Update data/json/recipes/tools/tools_hand.json

Co-authored-by: Brambor <tondadrd@seznam.cz>

* last touches?

* MORE recipes

---------

Co-authored-by: Brambor <tondadrd@seznam.cz>
2023-07-28 08:43:32 -05:00
Devengel aed29fa3b7 remove hidden space (#67227) 2023-07-28 08:41:49 -05:00
sadenar ab5be25080 Zombie Snippets part 2 (#66961)
* Adding the snippets and snippet categories

* Created new harvest categories and added new snippet categories to them

* Second pass of adding new snippet categories to cover edge cases

* Dividing humanoid and animal fungal Zs

* Applying pupating harvest groups to relevant monsters

* Subdividing electric zombies into animal/humanoid (zaptors exist) and applying to relevant monsters

* Apply grabber to relevant monsters

* Applying mushroom humanoid and animal snippets to relevant monsters

* Typo Fix

* Applying Dog Categories to relevant monsters

* First Ferret Typo fix

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Second Ferret Typo Fix

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Tiny mistyping fix on a Grabber snippet.

* Third Ferret Typo Fix

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Tonal fixes to Pupating and Dog snippets following Venera's suggestions.

* Getting the quirky name snippet in a dog snippet to work + fixing typos

* Small typo fix

* Double Space after period

* Fixing harvest id typo

* Fixing kevlar in pupating hulk snippet group.

* Forgot to change those.

* Abandoning fungal juggernaut snippets

* Abandoning fancy dog name snippet

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-07-28 08:40:18 -05:00
anoobindisguise 9a9d73540c fix wrong ids for cody making chainmail (#67231) 2023-07-28 10:13:08 -03:00
GalacticApple 5edd2f6167 Bovine Bulk description edit (#67222)
* Bovine Bulk makes you stronger

* Update mutations.json

* Re-write Bovine Bulk description.json

* Update mutations.json

* change pre-req for bovine bulk.json
2023-07-28 00:41:29 -05:00
sadenar 56736642aa Spears and Chainmail Sheet Nested Groups, Cow Armor Sub-Category and Estoc Nesting Fix (#66720)
* Estocs had the same issue as Rapiers, so that's fixed now.

* Added Chainmail Sheet Nested Group + Hid the recipes into the nested group

* Added Spears Nested Group + Hid their recipes into the Nested Group

* Added new Cow Armor sub-category to Animals category, made all cow armors part of it

* Esotericist made a good point to me that difficulty should be that of the lowest in the group

* Small fix

* Fixing estocs

* Fixing the spears group a bit.

* Adding a subnest for Pikes

* Fixing the DinoMod cow armor issue.

* Revert "Fixing the DinoMod cow armor issue."

This reverts commit d11921d31d.

* Revert "Adding a subnest for Pikes"

This reverts commit 3a77c468f2.

* Fixing the cow DinoMod issue (the right way this time)

* Adding a subnest to the spears nest for pikes, hiding the recipes for them into it. (without fumbling everything this time)

* Oops forgot to remove the halfpike
2023-07-28 00:38:40 -05:00
Angela Graves 333bbbe5c6 Merge pull request #67148 from NetSysFire/testingdotmd
Documentation: New TESTING_YOUR_CHANGES.md
2023-07-28 00:11:53 -05:00
Maleclypse 0e2a1a5085 Merge pull request #67219 from GuardianDll/patch-1
Mathify magic.md
2023-07-27 23:04:44 -05:00
Kamayana 9eb4e70798 AIM: Add key to step outside containers; mark other pane's container; less obtrusive popups (#67017)
* Replaces AIM_CONTAINER2 with a check in action_move_item()

* Be less strict on container interactions

* Simplify canputitems()

* Add stepping out of container view to the parent location

* Fix crash from non-carried bucket spilling, and made it spill at location rather than in player's pockets

* Make "can't put items there" messages less obtrusive

* Mark container if the other pane is viewing inside it

* Allow moving all between containers

* Swap panes when moving between container layers

* Make container marking recursive

* Remove unused variable

* Re-add "not enough room" warning

* Revert some of the spill changes

* Also show error if trying to move container into child container

* Update data/raw/keybindings.json

* Update data/raw/keybindings.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-27 19:40:59 -05:00
anoobindisguise 3041ee3b50 voice remodulator conflicts SCREECH (#67206)
* voice remodulator cancels SCREECH

* Make SCREECH a *conflict* rather than be canceled
2023-07-27 19:22:02 -05:00
Jeremy Rose 0508092fe6 auto eat/drink oldest item first (#67058)
* auto eat/drink oldest item first

* drop comment

* clang-tidy

* fix merge

* more fix merge

* astyle

* Update src/activity_item_handling.cpp

* Update src/activity_item_handling.cpp

* fix warning

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-27 19:20:56 -05:00
Paprika-H 0d102f37cd Update BFR (#67169)
* Update 4570.json

* Update 4570.json

* Update 4570.json
2023-07-27 19:17:54 -05:00
fairyarmadillo 2b13b02153 More monsters fight back if cornered (#67186)
* mi-go? how about you stop

* Update monster.cpp

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 19:17:30 -05:00
Procyonae 869f1e6391 Typos (#67185)
* Typos

* Bot doesn't like this for whatever reason and I'm not going to fight it

* Pots

* Update survivor_notes.json

* Update meteorologist.json
2023-07-27 19:16:39 -05:00
Devengel 47eb90db75 house roadmap: update house_01 in-construction variant (#67168)
* house update: house_01 in-construction variation

* Update house01.json

* lint

* Update house01.json

* Update house01.json

* Update data/json/mapgen/house/house01.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/house/house01.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add in a new palette and itemgroup fixes

the palette will be used for all the in-construction houses (when i get to them, at least)

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* shut it \bot, please

* Update construction.json

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* bot stop doing this

* i have done this newline many times

* Update construction.json

* fix the floor under the palettes, move the rest to the garage.

* use nested chunks instead of always spawning construction pallets

* move nested to a separate file

This file will be used to house all other nested pallets for other construction homes and buildings, at least, when i get to them.

* Revert "move nested to a separate file"

This reverts commit 9bb3f2932a.

* Update house01.json

* add in a new palette and itemgroup fixes

the palette will be used for all the in-construction houses (when i get to them, at least)

* shut it \bot, please

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen_palettes/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix the floor under the palettes, move the rest to the garage.

* use nested chunks instead of always spawning construction pallets

* move nested to a separate file

This file will be used to house all other nested pallets for other construction homes and buildings, at least, when i get to them.

* Revert "move nested to a separate file"

This reverts commit 9bb3f2932a.

* minor fixes, use `items` instead of `place_items`

* lower chances for tools more

* more reduction of chances, and one moar zombie

* spread out the loot throughout the house

* ok at least the error this time is my own

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 19:14:29 -05:00
Theawesomeboophis f4a88b6332 [Magiclysm] Elves fight back when cornered and size change (#67201)
* Elves fight back

* Elves shouldn't be 260+ lbs, fixed.

* Even smaller

* Update data/mods/Magiclysm/monsters/holiday_magiclysm.json

* Update data/mods/Magiclysm/monsters/holiday_magiclysm.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-27 19:12:21 -05:00
Anton Simakov f383f1356d Update MAGIC.md 2023-07-27 23:34:35 +02:00
David Seguin 4bf8edcca0 recipe: add field to specify variant for recipe result 2023-07-27 13:38:41 -04:00
NetSysFire 347682adf0 move mention of TESTING.md 2023-07-27 16:17:26 +02:00
Maleclypse c85ffe18b0 Merge pull request #67208 from dseguin/fix_bodygraph_env
Fix: single value for environmental damage resist in body status window
2023-07-27 08:06:46 -05:00
Procyonae e91293b05b Fix nests (#67197)
* Fix nests

* Andrei pointed out a simpler check
2023-07-27 02:44:09 -04:00
Procyonae 805fac5801 Adds inheritance and replace_materials support to repairs_with (#67202)
* Adds inheritance and replace_materials support to repairs_with

* optional -> assign
2023-07-27 02:43:34 -04:00
LISPCoC a57395f90b HP widgets gets equivalent bodypart (#67203)
* fix Creature::has_part

* check equivalent and strict bodyparts

* fix strict check
2023-07-27 02:42:49 -04:00
Angela Graves 1ccb0563a5 Merge pull request #67156 from Maleclypse/Add-a-zero-vitamin-message-to-summon-dreamer-artifact
Adds fail message at zero of the dreamer vitamin
2023-07-27 00:33:13 -05:00
NetSysFire b08f12535b mention TESTING.md 2023-07-27 06:51:08 +02:00
NetSysFire 1c755973b1 linkify CODE_STYLE.md, mention that json_formatter.cgi is included in builds 2023-07-27 06:45:21 +02:00
NetSysFire 581673938d add styling section 2023-07-27 06:40:41 +02:00
NetSysFire 2ae0cf4acc manually apply Qrox's suggestions 2023-07-27 06:33:25 +02:00
NetSysFire db55348693 merge testing monsters from MONSTERS.md 2023-07-27 06:26:17 +02:00
SurFlurer e30b6ef3eb Fix "--check-mods" not good at dealing with dep chain (#67133)
* Deduplicate mod dependency using set

* clang tidy
2023-07-26 22:45:57 -05:00
Aeiouuu01234 5c69230e9f Nylon quiver (#67155)
* nylon quivers

Ye old fashion for the new archer

* quiver recipe

* nested quiver

* Update ammo_pouch.json

* Update data/json/recipes/armor/storage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-26 22:41:50 -05:00
Devengel 0e91799fe7 use nested mapgen on zombie cages, lakeside cabin special. (#67173)
* Minor changes to a special lakeside cabin

* restore occurences and remove uniques, instead utilize nested chunks for a chance to spawn zombie cages

* revert first commit
2023-07-26 22:38:51 -05:00
Maleclypse c0fcc89cc1 Merge pull request #67199 from ampersand55/bone_broth
Make bone broth better by extracting more calcium using acified water.
2023-07-26 22:37:16 -05:00
Maleclypse 2c61a6b399 Merge pull request #67194 from nornagon/patch-18
remove redundant milk powder recipe
2023-07-26 22:35:40 -05:00
Maleclypse 5a7b58958f Merge pull request #67196 from nornagon/patch-20
allow digging 2 for brick ovens
2023-07-26 22:35:19 -05:00
Maleclypse 4fd4dc96fa Merge pull request #67195 from nornagon/patch-19
reduce energy required for dehydrating milk
2023-07-26 22:34:57 -05:00
David Seguin 361bff1270 fix: only represent best-case environmental damage resist 2023-07-26 22:53:55 -04:00
Maleclypse 65d79079c7 Merge pull request #67183 from mqrause/overflow_messages
Improve pocket overflow messages
2023-07-26 17:53:39 -05:00
Maleclypse 195fff3e51 Merge pull request #67167 from terr-steak/bugfix/67153
Update boots.json
2023-07-26 17:52:15 -05:00
Standing-Storm bd34865371 [MoM] Add psionic civilians to the initial Cataclysm chaos waves (#67177)
* Initial commit

* Move spawn group

* move spawn group

* Add civilian telepath PARROTs

* Add civilian telepath

* Adjust spawn weights

* vitakinetic had wrong name

* Add missing space
2023-07-26 17:45:22 -05:00
ampersand55 7ae1166631 Make bone broth better by extracting more calcium using acified water. 2023-07-26 21:16:33 +02:00
Jeremy Rose c6dc75f5da allow digging 2 for brick ovens 2023-07-26 10:53:43 -07:00
Jeremy Rose 979db2d9de reduce energy required for dehydrating milk 2023-07-26 10:34:45 -07:00
LISPCoC 6ddada9273 Add some dialog function (#67120)
* add topic_item mutator, get hp_max

* format json

* doc update

* topic_item is string

* port hp_max to math
2023-07-26 14:19:55 -03:00
Jeremy Rose 135a9f5df3 remove redundant milk powder recipe 2023-07-26 10:09:33 -07:00
mqrause 3bacfcfa2c improve pocket overflow messages 2023-07-26 13:00:54 +02:00
Angela Graves 76d122ab52 Merge pull request #67176 from Maleclypse/Pad-the-skid-lid
Pad the skid lid
2023-07-26 04:03:40 -05:00
anoobindisguise 18b2783aa6 fix toolset prying power usage (#67026)
* fix toolset prying using power

* Update data/json/items/tool/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update integrated.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 23:16:02 -05:00
Standing-Storm b9dbfb5301 [MoM] Add u_message to "extremely important note" (#67166)
* initial commit

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/contemplation_notes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 23:13:08 -05:00
Maleclypse 5d69feefd2 [Xedra Evolved] Low Intelligence Mana Perk (#67096)
* Low Intelligence Mana Perk

* Update data/mods/Xedra_Evolved/perks/perk_menu.json

Update perks.json

Update perks.json

Update data/mods/Xedra_Evolved/perks/perks.json

Co-Authored-By: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update perk_menu.json

* Update perk_menu.json

---------

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 23:30:38 -03:00
Paprika-H eb85834129 Belt adjustments (#67154)
* Update belts.json

* Update holster.json

* Update sheath.json

* Update belts.json

* Update belts.json

* Update belts.json

* Update belts.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update belts.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 21:19:20 -05:00
Procyonae 40b922a34e flags_any Helper Check To Make Road Unhardcoding More Readable (#67093)
* HelperCheckToMakeRoadUnhardcodingMoreReadable

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixes documentation order

* neighbour -> neighbor and more sensible return

* neighbour -> neighbor and more sensible return

* Update src/mapgen.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-25 21:17:37 -05:00
Maleclypse b78c301783 Update helmets.json 2023-07-25 19:59:08 -05:00
Jeremy Rose d80b51c200 fix matches/ref_matches category typo (#65461)
* fix matches/ref_matches category typo

* Update data/json/items/tool/fire.json

* Update data/json/items/tool/fire.json

* Update data/json/items/tool/fire.json

* Update data/json/items/tool/fire.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-25 18:56:34 -05:00
Ivan Demchuk ebf4474add Remove welding_components item (#66441)
* Remove `welding_components` recipe

* Migrate `welding_components` into its components

* Update data/json/obsoletion/migrate_to_VEH_TOOLS.json

* Update data/json/obsoletion/migrate_to_VEH_TOOLS.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-25 18:55:54 -05:00
anoobindisguise 90119f9929 New bionic: "Super Stun Gun" (#67013)
* super stun gun bionic

* superstungun stuff

* superstungun stuff

* Update bionics.json

* spell on activate

* Update bionics.cpp

* adjust

* bio_taser

* bio_taser

* remove an unused feature

* Electrity->electricity

* move bio_taser_spell

* Create bionic_spells.json
2023-07-25 18:55:01 -05:00
randomtyper 1e6e062df5 Adjust ranges of SMGs and pistol caliber carbines (#67115)
* Adjust ranges of 9mm SMGs and carbines

* Adjust ranges of 5.7mm SMGs, long-barreled pistols and carbines

* Adjust ranges of .45 Colt carbine

* Adjust ranges of .45 ACP SMGs and carbines

* Adjust ranges of .22 LR SMGs and carbines

* Adjust range of .380 ACP carbine

* Adjust ranges of .44 Magnum carbine

* Adjust range of 4.6 mm SMG

* Adjust range of .500 Magnum rifle

* Update 45.json

* Update Pennsylvania long rifle range

* Remove duplicate range entry

* Remove another duplicate entry
2023-07-25 18:54:36 -05:00
SandwichPie 88768e1f81 [Innawoods] Stream mapgen followup (#67165)
* Added nested mapgen

* Added nested mapgen

* Added custom spawn groups

* Added beaver dam

* Added burnt tree stump

* Un-added burned tree stump.

I could not find the "mx_point_burned_ground" mapgen definition, so I could not change the stumpt in to burned ones. Is it hardcoded?

This was the main intent of this furniture so I removed it again.

* Fix typo

* Update data/mods/innawood/furniture_and_terrain/misc.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-25 18:53:14 -05:00
Dillon Matchett 15f392c113 on_damage EOCs (#66752)
* on_damage EOCs

* Make separate test

* Update tests/melee_test.cpp

* Update tests/melee_test.cpp

* Update tests/melee_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Simplify test

* CLANG

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-25 15:22:46 -04:00
Hirmuolio a0b28994b3 fix saw for real (#67163) 2023-07-25 16:01:37 -03:00
TR Staake a5c9cf774c Update boots.json
Corrected to use the correct term for 'donning' per issue #67153
2023-07-25 11:13:47 -04:00
Maleclypse d48e1a156a Merge pull request #67159 from GuardianDll/patch-1
[Xedra evolved] even better message for inventor effect
2023-07-25 10:08:26 -05:00
ZigVert ddda9f556e yeet m4 and tazer (#67151) 2023-07-25 11:48:07 -03:00
David Seguin 009565207f Fix: parse missing fields for translation (#67074)
* fix: parse missing fields for translation

* peer review: return function translation + fixes

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-07-25 11:38:08 -03:00
Maleclypse 32cefd2b43 Update dreamer_spells.json 2023-07-25 09:17:05 -05:00
Maleclypse 7f6ff2a2e9 Update data/mods/Xedra_Evolved/spells/spell_eocs.json 2023-07-25 08:48:12 -05:00
Anton Simakov eb90286928 Update effects.json 2023-07-25 10:22:37 +02:00
Angela Graves 24a70acba4 Merge pull request #67142 from Maleclypse/Make-special-hunting-lodges-unique
Make special Hunting Lodge Unique and NPC lodge Globally Unique
2023-07-25 00:30:37 -05:00
Maleclypse ec73092c90 Update spell_eocs.json 2023-07-24 23:55:54 -05:00
Standing-Storm 94c0d83794 [MoM] Allow telekinetics to push very heavy objects and lift cars (#67110)
* initial commit

* Finish adding telekinetic jacks

* Add learning EoCs

* Update data/mods/MindOverMatter/effectoncondition/eoc_learn_recipes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Finishing touches

* "Illness-Purging Meditation" name change

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 23:35:34 -05:00
Standing-Storm 43a9b0357c [MoM] Fix monster power messages (#67145)
* Edit messages

* Edit messages
2023-07-24 23:33:21 -05:00
chichit1044 9f910f0d6d Vitrification (#66917)
* Add files via upload

Vitrifaction event alpha. Currently doesn't spawn in overmap generation. To test, spawn overmap special "quiet_farm" and enter either of the overmap tiles by crossing the boundary on foot.

TODO:

-set multiple spawn locations for glass totems
-adjust light levels
-create more welcoming terrain (i.e. allow a clear path with no more than one point of passing over glass grass)
-palatteswap at least one set of tileset sprites to make it less visually garbage

* Rename vitrified_snippets.json to data/json/vitrifaction/vitrified_snippets.json

* Rename vitrified_items.json to data/json/vitrifaction/vitrified_items.json

* Rename vitrified_farm_palatte.json to data/json/vitrifaction/vitrified_farm_palatte.json

* Rename vitrified_farm .json to data/json/vitrifaction /vitrified_farm .json

* Rename vitrifaction_effects.json to data/json/vitrifaction /vitrifaction_effects.json

* Rename vitrifaction_effect_on_condition.json to data/json/vitrifaction /vitrifaction_effect_on_condition.json

* Rename overmap_vitrified_terrain.json to data/json/vitrifaction /overmap_vitrified_terrain.json

* Rename overmap_vitrified.json to data/json/vitrifaction /overmap_vitrified.json

* Rename unvitrified_farm.json to data/json/vitrifaction /unvitrified_farm.json

* Rename terrain-vitrified.json to data/json/vitrifaction /terrain-vitrified.json

* Rename talk_vitrified.json to data/json/vitrifaction /talk_vitrified.json

* Rename furniture-vitrified.json to data/json/vitrifaction /furniture-vitrified.json

* Rename vitfrified_trait.json to data/json/vitrifaction /vitfrified_trait.json

* Rename vitrified_farm_palatte.json to vitrified_farm_palatte.json

* Rename vitrified_items.json to vitrified_items.jso

* Rename vitrified_snippets.json to vitrified_snippets.json

* Add files via upload

* Rename vitrified_items.jso to vitrified_items.json

* Delete data/json/vitrifaction  directory

* Update vitrified_items.json

* Linted

* Corrected file/folder names

* Linted vitrified_farm.json

* Update data/json/vitrification/vitrification_effect_on_condition.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/vitrification/vitrified_items.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/vitrification/furniture_vitrified.json

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update furniture_vitrified.json

* Update overmap_vitrified.json

* Update overmap_vitrified.json

* Update talk_vitrified.json

* Update terrain_vitrified.json

* Update unvitrified_farm.json

* Update vitrification_effect_on_condition.json

* Update vitrification_effects.json

* Update vitrified_farm.json

* Update vitrified_farm_palette.json

* Update vitrified_items.json

* Update vitrified_snippets.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* General grammar and syntax update; double spacing.

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Committing suggestions. Again.

I think trying to use git browserside is its own special circle of hell.

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* committing suggestions again, again.

github dot com I am begging you; please just show me all the suggestions the first time.

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* github PLEASE

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update furniture_vitrified.json

* Update overmap_vitrified_terrain.json

* Update vitrification_effect_on_condition.json

* Update vitrification_effect_on_condition.json

* Update vitrified_farm.json

* Update vitrified_farm_palette.json

* Update vitrified_snippets.json

* Last syntax tweaks.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Made time limit a little more generous.

* Apply suggestions from code review

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* the last of the single spaces has been slain. finally, there can be peace.

* spawn chance and city radius tweaked

* spelling fixes

* apparently ellipses will always fail double space checks.

* double friggin' spaces. the same one, even.

* last try to make it spawn properly before I just whitelist it

* Update overmap_test.cpp

* Update tests/overmap_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update overmap_test.cpp

* Update overmap_test.cpp

* Update overmap_vitrified_terrain.json

* Update overmap_vitrified.json

* Update unvitrified_farm.json

* Update vitrification_effect_on_condition.json

* Update overmap_test.cpp

* Update overmap_test.cpp

* Update overmap_test.cpp

* Create modinfo.json

* Rename data/json/vitrification/furniture_vitrified.json to data/mods/chichitech/vitrification/furniture_vitrified.json

* Rename data/json/vitrification/overmap_vitrified.json to data/mods/chichitech/vitrification/overmap_vitrified.json

* Rename overmap_vitrified_terrain.json to overmap_vitrified_terrain.json

* Rename talk_vitrified.json to talk_vitrified.json

* Rename terrain_vitrified.json to terrain_vitrified.json

* Rename data/json/vitrification/unvitrified_farm.json to data/mods/chichitech/vitrification/unvitrified_farm.json

* Rename data/mods/chichitech/overmap_vitrified_terrain.json to data/mods/chichitech/vitrification/overmap_vitrified_terrain.json

* Rename data/mods/chichitech/talk_vitrified.json to data/mods/chichitech/vitrification/talk_vitrified.json

* Rename data/mods/chichitech/terrain_vitrified.json to data/mods/chichitech/vitrification/terrain_vitrified.json

* Rename data/json/vitrification/vitfrified_trait.json to data/mods/chichitech/vitrification/vitfrified_trait.json

* Rename data/json/vitrification/vitrification_effect_on_condition.json to data/mods/chichitech/vitrification/vitrification_effect_on_condition.json

* Rename data/json/vitrification/vitrification_effects.json to data/mods/chichitech/vitrification/vitrification_effects.json

* Rename data/json/vitrification/vitrified_farm.json to data/mods/chichitech/vitrification/vitrified_farm.json

* Rename data/json/vitrification/vitrified_farm_palette.json to data/mods/chichitech/vitrification/vitrified_farm_palette.json

* Rename data/json/vitrification/vitrified_items.json to data/mods/chichitech/vitrification/vitrified_items.json

* Rename data/json/vitrification/vitrified_snippets.json to data/mods/chichitech/vitrification/vitrified_snippets.json

* Update modinfo.json

* Update modinfo.json

* Update modinfo.json

* Update overmap_test.cpp

* Apply suggestions from code review

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update talk_vitrified.json

* Update talk_vitrified.json

* Update modinfo.json

* Update data/mods/chichitech/vitrification/talk_vitrified.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Rename data/mods/chichitech/vitrification/furniture_vitrified.json to data/json/furniture_and_terrain/furniture_vitrified.json

* Rename data/mods/chichitech/vitrification/terrain_vitrified.json to data/json/furniture_and_terrain/terrain_vitrified.json

* Rename data/mods/chichitech/vitrification/vitrification_effect_on_condition.json to data/json/vitrification_effect_on_condition.json

* Rename data/mods/chichitech/vitrification/talk_vitrified.json to data/json/talk_vitrified.json

* Rename overmap_vitrified.json to overmap_special_vitrified.json

* Rename overmap_vitrified_terrain.json to overmap_vitrified_terrain.json

* Rename unvitrified_farm.json to unvitrified_farm.json

* Rename vitrified_farm.json to vitrified_farm.json

* Rename data/mods/chichitech/vitrification/vitfrified_trait.json to data/json/mutations/vitfrified_trait.json

* Rename data/mods/chichitech/vitrification/vitrification_effects.json to data/json/vitrification_effects.json

* Rename data/mods/chichitech/vitrification/vitrified_farm_palette.json to data/json/mapgen_palettes/vitrified_farm_palette.json

* Rename data/mods/chichitech/vitrification/vitrified_items.json to data/json/items/vitrified_items.json

* Rename data/mods/chichitech/vitrification/vitrified_snippets.json to data/json/snippets/vitrified_snippets.json

* Delete data/mods/chichitech directory

* Update overmap_test.cpp

* Update vitrified_items.json

* Update overmap_test.cpp

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update vitrified_farm.json

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-24 23:01:54 -05:00
fairyarmadillo b52bfceaf6 Cockroach Bonanza (#66294)
* Roach Bonanza

* Update data/json/furniture_and_terrain/furniture-seats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-storage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/creature.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monattack.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* More hiding spots

* Update data/json/furniture_and_terrain/furniture-appliances.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update furniture-recreation.json

* More hiding places

* Update data/json/furniture_and_terrain/furniture-domestic_plants.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-domestic_plants.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update monattack.cpp

* Hiding places

* Update src/monattack.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Scavengers can eat butchery refuse

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/terrain-flora.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update insect_spider.json

* Update monattack.cpp

* water is not food

* Update monattack.cpp

* Remove test messaging

* Update monster.h

* Updates

* Update JSON_FLAGS.md

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/monster.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mtype.h

* Update mtype.h

* Update creature.cpp

* Update monattack.cpp

* Update monattack.cpp

* Update mtype.h

* Update insect_spider.json

* Update insect_spider.json

* Update mtype.h

* Update monster.cpp

* Update monster.cpp

* Update monstergenerator.cpp

* this rebase will be the death of me

* redundant parentheses

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 22:46:52 -05:00
carmakazi 2579a79c12 Audit AR-15 upper receivers + .450 bugfix (#66949)
* Update ar15 upper stats

Attempt to rightsize weights, volumes, and linearize the language used in their naming.

* Fix reloaded .450 penetrator

Correct the copy_from field on reloaded .450 xtreme hunter, which changed this specific ammo to .50 beowulf ammo type and broke it's usage.

* Update conversions.json

Bring 16 inch .300BLK weight down
Remove previously added "civilian legal" from 16 inch .223

* Update m16 and m4 upper weights

* Update 300 blk 16 inch weight
2023-07-24 22:40:08 -05:00
Ranik a91199fa9a Mutant Dogs Initial Commit (#66864)
* Initial Commit

* Re-linted

* Formatting and grammar fixes

* Update mutant_mammal.json
2023-07-24 22:29:07 -05:00
Karol1223 73489da339 Police Robot Family Obsoletion (#66872)
* eyebot - first JSON pass

* eyebot schematics

* eyebot cpp + eyebot schematics in aftershock

* copbot first pass - JSON + CPP

* recipe ID fix

* fix duplicate entry

* port obsoleted robots to Aftershock

* riot bot - first pass

* schematics

* severely silly

* evil

* item bonanza

* camspy + linting

* gruh

* dictionary and typos oh my

* item obsoletion & itemgroups

* snippets snippets snippets

* backstory edits

Co-Authored-By: chichit1044 <139005418+chichit1044@users.noreply.github.com>

* C++ surgery (what can go wrong?)

* typos & dictionary

* do it work yet?

* I LOVE DOUBLE SPACES

* Update dictionary.txt

---------

Co-authored-by: chichit1044 <139005418+chichit1044@users.noreply.github.com>
2023-07-24 22:09:32 -05:00
Procyonae 9ff88e9155 "relative": can be used with qualities (#67055)
* "relative": can be used with qualities

* Made delete more sensible and went through (hopefully) all uses of both

* Made delete more sensible and went through (hopefully) all uses of both
2023-07-24 21:46:23 -05:00
fairyarmadillo 723aa0d5e5 Allow more mutants to eat grain (#66928)
* bugfixes for seeds

* Mutants can eat seeds

* Update flags.json

* Update seed.json

* Update data/json/items/comestibles/raw_grain.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/raw_grain.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/raw_grain.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/consumption.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/raw_grain.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* alphabetize declarations

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-24 20:05:49 -05:00
Maleclypse 7092554b4c Merge pull request #67143 from Devengel/reduce-motel-spawns
Reduce occurences of motel spawns
2023-07-24 20:02:40 -05:00
NetSysFire 2dfe60ebea initial commit 2023-07-25 00:12:10 +02:00
Kevin Granade 2d945da500 Weekly Changelog 2023-07-17 to 2023-07-24 (#67130)
* Weekly Changelog 2023-07-17 to 2023-07-24

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

* Update data/changelog.txt

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-24 17:01:06 -05:00
Standing-Storm cc7cf964ed [Magiclysm] Change the Utility Molding spell to allow selecting the starting tool (#67122)
* Initial commit

* remove "remove_items" to allow multiple tools

* Implement suggestions
2023-07-24 15:30:09 -05:00
Karol1223 8135e147d8 A bunch of random item reworks: 11 (#67135)
* vegetable peeler

* garlic press

* trash can

* brazier

* gallon can

* Update furniture-storage.json
2023-07-24 14:04:45 -05:00
Devengel 4ff0722c9d Reduce occurences 2023-07-24 21:56:11 +03:00
Maleclypse a6faba94ff Update specials.json 2023-07-24 13:38:26 -05:00
Maleclypse ec991a4272 Merge pull request #67123 from casswedson/i-do-ollie
fix reqs for install/uninstalling skateboard parts
2023-07-24 10:12:42 -05:00
Standing-Storm 5552edbe27 [MoM] Blood Purge removes mutagens, you can heal followers' (and your) diseases (#67080)
* Initial commit

* Initial commit

* Spelling errors

* Add EoC deactivate condition after learning recipe

* Add ability for Healthy Glow to stop an asthma attack

* spelling + add vitakinesis to dictionary

* Add "remove_effect: asthma" to Healthy Glow
2023-07-24 09:22:50 -05:00
Maleclypse e5a74fb42b Merge pull request #67127 from RenechCDDA/tourniquets_allowed
Allow leg tourniquets for mutants with tails
2023-07-24 09:10:26 -05:00
Angela Graves c238a025bf Merge pull request #67128 from CleverRaven/tileset-updates
Routine tileset updates on 23 July 2023
2023-07-24 00:08:42 -05:00
Devengel e94f440fe5 minor house_38 fixes (#67119)
* minor house_38 fixes

* revert #65662
2023-07-23 21:30:34 -05:00
Victoria Eastep 9e178a2a1a Futile Fighter and Overconfident Officer dialogue (#66835)
* Added More Civilian Dialogue

Created some new topics for the Futile Fighter and Overconfident Officer to talk about.

* Linting

Whoopsie, forgot to lint the new topics

* Typo Fixes

Accidentally used the dollar sign instead of the ampersand. All fixed now

* Apply suggestions from code review

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-23 21:23:27 -05:00
SandwichPie a1403af829 [Innawoods] - Added mutable stream (#67065)
* Create misc_palettes.json

Added a directory and file for mapgen palette definitions

* Create overmap_terrain_stream.json

Added directory and file for overmap_terrain definitions

* Moved misplaced file

* Added mapgen for new map element

* Create stream_mutable.json

Main file to generate the new mapgen

* Update data/mods/innawood/overmap/overmap_terrarin/overmap_terrain_stream.json

Concatination of overmap terrain IDs

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update overmap_terrain_stream.json

Added flag for better interaction with forest tiles

* Update stream.json

Allows better interaction with forest and swamp tiles

* Update stream.json

Increased animal spawn rates

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-23 21:20:04 -05:00
anoobindisguise 0d91fd5a90 Split kevlar into two types (stab and ballistic) (#67085)
* differentiate kevlar

* adjust kevlar materials

* adjust kevlar recipes

* ballistic kevlarize kevlar vest

* ballistic kevlarize kevlar vest

* fixes

* fixes

* kevlar recipes

* kevlar_patch

* kevlar_patch

* kevlar_patch

* add patchwork sheet to tailoring

* bite suit kevlar

* dummy out cotton

* Update tailoring.json

* stabweave kevlar sewing

* Update materials.json

* kevlar disassemblies

* sew kevlar reqs

* scrap kevlar weight

* kevlar harvests

* denimize bitesuit

* Update materials.json

* testfix

* Update tailoring.json

* recipe adjust

* Update data/json/items/resources/tailoring.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update tailoring.json

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-07-23 21:19:12 -05:00
Maleclypse e31f6d07e4 Merge pull request #67089 from John-Candlebury/hub-drones
Robofac robots and gear
2023-07-23 21:18:45 -05:00
Procyonae d919b4f1fa Non f_sign Signage (#67094)
* Non f_sign Signage

* Adds a flag for signs that should specifically always be signs and provide messages as such

* Documentation

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update doc/JSON_FLAGS.md

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* Update mapgen.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
2023-07-23 21:17:04 -05:00
Karol1223 c49787371c Big Blacksmithing Bonanza (#67103)
* first 11

* more more MORE

* IMMEDIATE regret (check if hotcut can be substituted)

* fix qualities for graded steel in cutting

* armor arms good golly

* feet & arm tongs

* hands

* head armor

* legs

* suit armor

* torso armor

* materials, parts and power cells

* others, vehicles, containers

* tools

* bash weapons

* cutting weapons (third time?)

* piercing weapons

* ranged weapons

* Update data/json/recipes/armor/suit.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/suit.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* first pass for forging

* more tools & cutting weaponry

* more weapon forging

* lint the linty

* kill tongs in recipes

* rename the tongs

* Update data/json/recipes/other/parts.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/electronics/parts.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/other/parts_construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/tools/tools_electronic.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/other/parts_construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/tools/tool.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* some hiccups

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-23 21:16:02 -05:00
randomtyper 653f6e6dff Craftable beast samples (#66933)
* Make beast samples craftable

* Update data/json/recipes/chem/mutagens.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update the recipe

* Add P90 to guns_swat

* Whoops, wrong branch

* Lower skill requirements for sample recipe

* I screwed up

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-23 21:06:40 -05:00
casswedson 455d6f00eb Routine tileset updates on 23 July 2023 2023-07-23 23:01:04 +00:00
RenechCDDA 2c0fcff904 Allow leg tourniquets for mutants with tails 2023-07-23 18:19:48 -04:00
anoobindisguise a2c8360c25 Adjust windbreaker to be nylon, less warm and encumbering (#67108)
* update windbreaker

* windbreaker recipe

* increase base req + add byproduct

* Remove wrong comma

* Fix wrong enc
2023-07-23 15:17:48 -05:00
KittyTac 2c3316b231 'Experiment' start and extra_mut_scen starts don't reveal the nearest city (#67118)
* Update scenarios.json

* Update mutation_scenarios.json
2023-07-23 15:17:12 -05:00
casswedson d8dba8d8c4 fix reqs for install/uninstalling skateboard parts
I was doing some scouting around a test word and happend to find a
skateboard, cool I rode a litte checked the parts and on dear it all
needs jacking

fix the requirements for installing and unintalling the parts

deck: no reqs, no time required to drop a skateboard deck in the ground
- add longest side too

trucks: you need something like an adjustable wrench and a screwdriver
to install them, also a little time, removing 8 screws really doesn't
take much time - they are also made mostly from aluminum

wheels: you need something like and adjustable wrench and very little
time to install them

I did not like the name of the folded stakeboard item "folded" doesn't
imply a healty skateboard
2023-07-23 15:03:03 -05:00
远方旅者 b5e01bdda4 Fix android build (#67090)
* Update character.cpp

* Update character.h

* fix clang-tidy error
2023-07-23 15:59:20 -04:00
LyleSY 107040df8f [DinoMod] Culling the Cute (#67100)
* [DinoMod] Culling the Cute

* Update juvenile.json

* Update dinosaur.json

* dedupe juvenile canplay
2023-07-23 15:58:01 -04:00
RenechCDDA 2749cfe06a Prevent workout overflow (#67102) 2023-07-23 15:57:29 -04:00
Fris0uman 311a6b5eec Fix remaining in progress contruction for wall wiring (#67117)
Co-authored-by: Fris0uman <sthapplz@gmail.com>
2023-07-23 15:55:57 -04:00
LISPCoC 5be97aa71d fix widget error if player has no body part (#67113) 2023-07-23 15:51:40 -04:00
mqrause 318ff4273f Refactor test for npcs boarding player vehicles (#66990)
* refactor test for npc boarding player vehicle

* clear pathfinding cache on adding/removing vehicles

---------

Co-authored-by: mqrause <martin@qrause.de>
2023-07-23 15:50:56 -04:00
Angela Graves bd86ffeee5 Merge pull request #67088 from CleverRaven/update-toc
Update the table of contents in doc/JSON_INFO.md
2023-07-23 00:30:22 -05:00
Anton Simakov 471d75e552 Trashcans are items now (#67105)
* Make trashcan it's own item

* move containers to container folder

* make it deployable back to f_trashcan

* tweak the terrain size accordingly

* lint

* make can actually watertight
2023-07-22 16:41:34 -05:00
Maleclypse c5489019fc Merge pull request #67095 from TheShadowFerret/TyposMagic
Typos: Reports of my death have been greatly exaggerated
2023-07-22 16:34:31 -05:00
Maleclypse 3430596255 Merge pull request #67098 from GuardianDll/patch-1
Update seasoning salt recipe
2023-07-22 15:17:14 -05:00
Maleclypse beadb72c4d Merge pull request #67101 from GuardianDll/patch-4
Fix mansonry saw being impossible to turn off
2023-07-22 15:16:21 -05:00
Anton Simakov 3cc742f63f Update masonry.json 2023-07-22 21:09:48 +02:00
Anton Simakov e462d9120c Update recipe_food.json 2023-07-22 20:12:36 +02:00
The Shadow Ferret 604fe34d3f Typos bad 2023-07-22 13:02:44 -04:00
Procyonae 1ba9bc838d Typos are extinct for now (#66993)
* Typos are extinct for now

* Spell checker

* Moved chunks of graded in line with lumps

* Went back and changed weps again

* Added some extras Sadenar spotted and a few others I found along the way

* Update dictionary.txt
2023-07-22 09:09:07 -05:00
anoobindisguise 89d4db1a95 make army clothing only nylon (#67083)
* make army clothes only nylon

* nylon only army clothes

* nylon only army clothes
2023-07-22 09:06:48 -05:00
chichit1044 0669946c31 EMT, Paramedic, and Paramedic Firefighter adjustment (#67084)
* Add files via upload

Vitrifaction event alpha. Currently doesn't spawn in overmap generation. To test, spawn overmap special "quiet_farm" and enter either of the overmap tiles by crossing the boundary on foot.

TODO:

-set multiple spawn locations for glass totems
-adjust light levels
-create more welcoming terrain (i.e. allow a clear path with no more than one point of passing over glass grass)
-palatteswap at least one set of tileset sprites to make it less visually garbage

* Rename vitrified_snippets.json to data/json/vitrifaction/vitrified_snippets.json

* Rename vitrified_items.json to data/json/vitrifaction/vitrified_items.json

* Rename vitrified_farm_palatte.json to data/json/vitrifaction/vitrified_farm_palatte.json

* Rename vitrified_farm .json to data/json/vitrifaction /vitrified_farm .json

* Rename vitrifaction_effects.json to data/json/vitrifaction /vitrifaction_effects.json

* Rename vitrifaction_effect_on_condition.json to data/json/vitrifaction /vitrifaction_effect_on_condition.json

* Rename overmap_vitrified_terrain.json to data/json/vitrifaction /overmap_vitrified_terrain.json

* Rename overmap_vitrified.json to data/json/vitrifaction /overmap_vitrified.json

* Rename unvitrified_farm.json to data/json/vitrifaction /unvitrified_farm.json

* Rename terrain-vitrified.json to data/json/vitrifaction /terrain-vitrified.json

* Rename talk_vitrified.json to data/json/vitrifaction /talk_vitrified.json

* Rename furniture-vitrified.json to data/json/vitrifaction /furniture-vitrified.json

* Rename vitfrified_trait.json to data/json/vitrifaction /vitfrified_trait.json

* Rename vitrified_farm_palatte.json to vitrified_farm_palatte.json

* Rename vitrified_items.json to vitrified_items.jso

* Rename vitrified_snippets.json to vitrified_snippets.json

* Delete data/json/vitrifaction  directory

* Updated EMT, EMT Firefighter, and Paramedic professions

An EMT from NE suggested we balance the professions a little to reflect reality: an EMT-B doesn't have the same qualifications as an EMT-paramedic, and only EMT-paramedics are hired as firefighters. So, minor changes;

-EMT firefighter is now Paramedic Firefighter
-EMTs have a slightly lower first aid skill, and don't have advanced wound care, or human dissection but do have an epipen and some asprin.
-Paramedic firefighters now have a single shot of morphine, an epipen, and a couple bandages.
-Paramedics have had epipens added to their kit.

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixed redundant first aid kit stuff

* linted. again. not sure why it didn't take the first time.

* aspirin typo

* Update data/json/professions.json

* paramedics may have a little opioid, as a treat

* commas.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-22 08:41:05 -05:00
randomtyper 375f7b613b Fish samples spawn in labs now (#67091)
* Fish samples spawn in one group...

* And in another group...
2023-07-22 08:14:45 -05:00
Angela Graves e4cce1307c Merge pull request #67087 from CleverRaven/i18n
Routine i18n updates on 22 July 2023
2023-07-22 00:08:03 -05:00
John-Candlebury 7cf1810249 Robofac robots 2023-07-21 22:27:54 -06:00
Maleclypse 50829808d4 Update the table of contents 2023-07-22 03:32:07 +00:00
Hirmuolio 8b462567b0 Tick_action as a separate thing from use_action (#66866)
* create tick action

* combat chainsaw

* all combat tools deactivate same

* toolweapons

* reorder

* fix

* doc

* astyle

* molotov

* unused

* merge fix

* move handling

* multiple actions

* iuse explosion

* explosion and sound

* lint

* astyle

* unused

* unused

* noise grenades

* obsolete things

* obsolete things

* fix gas grenade

* fix mod emp

* doc

* lint

* noises

* astyle

* doc

* doc

* doc

* fire weapons

* lint

* unused

* music instrument

* radio

* typo

* nonewline

* unused

* unused

* tests

* fix granade

* incendiary grenade

* firecracker and sound

* lint

* firecrackers

* emf detector

* fix test

* unused
2023-07-21 22:30:59 -05:00
anoobindisguise bc2cb58a1a Bionics can require another bionic (#66996)
* required_bionic

* required_bionic

* Update bionics.h

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update bionics.cpp

* Update src/bionics.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* hydraulics requires bio_weight

* put it in the itemdescription

* Update item.cpp

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update item.cpp

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* return false;

* astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* if rubik sells hydraulics, they also always sell titanium skel

* document required_bionic

* add a prob

* Update data/json/npcs/exodii/exodii_merchant_itemlist.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update bionics.json

* Update exodii_merchant_itemlist.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 21:48:03 -05:00
Standing-Storm 70b5d909c6 Add a synagogue (#67000)
* initial commit

* Update data/json/mapgen/synagogue.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/synagogue.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* map updates

* Add torah ark

* Update data/json/mapgen/synagogue.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-storage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update synagogue.json

* Add torah scroll

* Re-add roof

* Add some Judaica books

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* linting

* Updating itemgroups, adding items

* Remove church palette to fix loot placement

* Further changes

* Additional edits

* remove kittel and kippah spawn from churches

* remove Hebrew plurals

* Typos

* Torah volume much too low

* Add rain gutter

* Update data/json/mapgen/synagogue.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/mapgen/synagogue.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* religion services -> religious services

* Spelling and dictionary additions

* reduce volume on Torak Ark

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-21 21:45:21 -05:00
kevingranade 936db70bab Routine i18n updates on 22 July 2023 2023-07-22 02:06:52 +00:00
randomtyper b241a7987e Make padded feet quieter (#67048)
* Make padded feet quieter

* Desc update
2023-07-21 20:24:11 -05:00
Maleclypse 5fed6217ce Merge pull request #67082 from GalacticApple/goosuit
Make the second skin liquid armor fit mutated anatomy
2023-07-21 20:23:16 -05:00
Numbuh474 fe4fd216cf Update Lighting values. (#67061)
* Update Lighting values for modern, non-incandescent lighting. Floor and wall lamps are based on the Phillips EcoHome LEDBulb 10W E27 6500KHV 3PF/6AR. Floodlights and directed floodlights, using the 8000 lumen comment under directed_floodlight, are based on the BVP130 LED160-4S/740 PSU OFA52 ALU C1KC3 and BVP125 LED80-4S/740 PSU OFA52 ALU C1KC3 respectively.
Vehicle headlights were not changed as halogen bulbs are still fairly common.

* Update data/json/furniture_and_terrain/appliances.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-21 18:39:19 -05:00
Maleclypse 44b725b00a Merge pull request #67076 from Karol1223/claw-the-bar
Fix disassembly syntax for tin snips and claw bar
2023-07-21 18:38:40 -05:00
Maleclypse 2542e3dd03 Merge pull request #67077 from GuardianDll/patch-1
Obsoleted guns can't be installed as turrets anymore
2023-07-21 18:37:57 -05:00
Maleclypse f03e92cd03 Merge pull request #67068 from ampersand55/molotov
Molotov cocktails use flammable_liquid instead of accelerant_liquid
2023-07-21 18:37:24 -05:00
Maleclypse ec00dce758 Merge pull request #67079 from casswedson/red-charge
fix: reduce charge in trash bound items
2023-07-21 18:35:09 -05:00
BjoHart 8a68ff4c1e Add sundial, wind and radiation badge to "spacebar" sidebar (#67042)
* Add sundial, wind and radiation badge to "spacebar" sidebar

* Update data/json/ui/spacebar/sidebar-spacebar.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-21 18:33:59 -05:00
GalacticApple 5df84be1a2 Update exotic.json
Makes the second skin liquid armor fit mutated anatomy.
2023-07-21 18:54:14 -04:00
casswedson 9076a30af8 fix: reduce charge in trash bound items
found some dolls with full charge in the trash, reduce their battery
charge for inmmersion
2023-07-21 14:20:49 -05:00
Anton Simakov 26030c03f5 Update obsolete.json 2023-07-21 21:16:31 +02:00
Karol1223 456372fd0f fix the syntax 2023-07-21 18:48:58 +02:00
gettingusedto 29fe1f2ca1 Update missions_and_mapgen.json (#67059) 2023-07-21 12:38:05 -04:00
远方旅者 83051558af Add hallucination check (#67063) 2023-07-21 12:35:41 -04:00
LISPCoC d5d3d0dfaa In-game Armor sprite change (#66931)
* change sprite feature

* help

* Update src/armor_layers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character_attire.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Move to status menu

* remove help, fix keybindings and astyle

* Keybinding fix

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* improve menu

* astyle src/game_inventory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* astyle src/game_inventory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove unused argment

* bugfix

* fix clang error

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-07-21 13:09:43 -03:00
Anton Simakov c055ff7545 Making better EoC doc, part one (#67028)
* initial commit

* Apply suggestions from code review

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>

* ```

* Update doc/EFFECT_ON_CONDITION.md

Co-authored-by: Dillon Matchett <dillon.matchett@gmail.com>

* Add floats as possible value

---------

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
Co-authored-by: Dillon Matchett <dillon.matchett@gmail.com>
2023-07-21 13:06:57 -03:00
ampersand55 c738814f65 Molotov cocktails use flammable_liquid instead of accelerant_liquid 2023-07-21 13:08:54 +02:00
Angela Graves 2c4c7ee663 Merge pull request #66999 from anoobindisguise/patch-33
adjust 9mm gun range bonus
2023-07-21 00:25:27 -05:00
Procyonae 0b7deee7a9 Kukri tool qualities (#66951)
* Add cutting 2 axe 1

* Removes 1 extra line

* Made mc the copy-from target instead

* Update shortswords_dps.json
2023-07-20 22:29:49 -05:00
Karol1223 fa69398f0e A bunch of random item reworks: 9 (#67044)
* lug wrench

* crowbar

* claw bar

* heavy crowbar

* silly goose

* Update data/json/items/tool/entry_tools.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* oh golly! DPS!

* link cleanup

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-20 22:21:14 -05:00
Standing-Storm 0cfa6ebcc6 [MoM] Add psionic feral PARROT lines (#67050)
* Add parrots

* Update data/mods/MindOverMatter/snippets/speech.json

Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>

---------

Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
2023-07-20 22:06:58 -05:00
Karol1223 60fbd963f4 A bunch of random item reworks: 10 (#67054)
* casserole pot

* soap dish + casserole linting

* metal tongs

* office scissors

* vegetable cleaver

* density? fixed? wowie!
2023-07-20 22:05:43 -05:00
Maleclypse fad344d97f Merge pull request #67056 from Karol1223/links-ew
Shorten links in JSON comments
2023-07-20 22:04:46 -05:00
Standing-Storm a484909835 [Magiclysm] Reading the Earthbones spell fix (#67035)
* Update with math

* Name edit
2023-07-20 14:58:08 -05:00
Karol1223 5b5fca7b80 link shortening 2023-07-20 21:00:58 +02:00
Procyonae f43a3a8a6c Overwrite/delete/extend behaviour for techniques (#66960)
* Overwrite/delete/extend behaviour for techniques

* Update src/item_factory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Obeyed clang-tidy

* Forgot to update the header in line with last change

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-20 12:01:04 -03:00
SurFlurer 1acaa4969d Generate vehicle prototypes from vehicles in game (#66897)
* Add debug menu entry

* Function to export vehicles as prototypes

* Print the blueprint

Co-authored-by: irwiss <irwiss@users.noreply.github.com>

* Add test

* Add doc

* clang fixes

---------

Co-authored-by: irwiss <irwiss@users.noreply.github.com>
2023-07-20 11:56:48 -03:00
Standing-Storm 5c3f8b0c11 [MoM] Add psionic interactions to quests, part 1 (#66798)
* Rubik / portal voice dialogue

* telepathy on portal voice

* debug fixes and typos

* spaces, typos, some word choice edits

* Typos + Guard telepathy snippets

* formatting

* Dealing with the traitor guard

* Add generic dialogue options, edit traitor quest options

* Further guard edits

* Everything works except mapgen update

* more attempts to get refugee traitor teleport to work

* Add om_terrain

* Testing and fixes

* missing spaces

* Change stealing reset EoC to check for any stealing, not just stealing at the limit
2023-07-20 11:39:44 -03:00
randomtyper e03dd80f5f Update IFAK pouch weight and max item length (#66984)
* Update IFAK pouch

* Update containers.json
2023-07-20 11:39:07 -03:00
SurFlurer 0057f09938 Various perf improvements for moving the firing cursor (#66709)
* Cache whether a character has bionics with certain json flags

* inline effective_dispersion() and reuse parallax

* Cache those variables that are constant during aiming calculation

* Utilize the cache

* Astyle
2023-07-20 11:37:54 -03:00
Karol1223 d76e220ce9 Some cast iron edits (#66997)
* mmmmm iron crunchy

* more crunch

* ingots and evil
2023-07-20 11:32:33 -03:00
Paprika-H bb0f7178ed Update appearance_hair_styles.json (#67001) 2023-07-20 11:29:20 -03:00
anoobindisguise 283c59384d reduce unseen hunter bullet armor (#67025) 2023-07-20 11:28:47 -03:00
远方旅者 d530cb8651 [Magiclysm] Fix "Monsters don't cast spells" (#67043)
* Update lizardfolk.json

* Update zombified_monsters.json

* Update monsterspells.json

* Update lizardfolk_shaman.json

* Update lizardfolk_shaman.json
2023-07-20 11:28:16 -03:00
Standing-Storm 1e028d2668 [MoM] Rebalance and add scaling to psionic passives (#66972)
* Initial commit

* fix errors
2023-07-20 11:20:46 -03:00
David Seguin 6dc51c77b7 fix: properly derive item resist, and override when resist is defined (#67038) 2023-07-20 10:58:17 -03:00
Maleclypse 11cc9ea396 Merge pull request #67046 from GuardianDll/Sky_island_license
Update license of Sky Island mod
2023-07-20 07:01:44 -05:00
Anton Simakov 0e6eed9659 Update license of Sky Island mod
Co-authored-by: TGWeaver <45330325+TGWeaver@users.noreply.github.com>
2023-07-20 12:47:57 +02:00
Angela Graves f93ffe17a8 Merge pull request #67009 from Zapafaz/shod-staff-recipes
fix ironshod and steelshod quarterstaff recipe costs
2023-07-20 00:36:42 -05:00
LISPCoC cfdb9d39d0 Fix message in ter_furn_data don't be translated (#66985)
* fix ter_furn_data message translation

* Update src/magic_ter_fur_transform.cpp

astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_furn_transform.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/magic_ter_fur_transform.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* optional free

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-19 23:05:54 -04:00
Jianxiang Wang (王健翔) 7c0fca6152 Fix vehicle keybindings and update keybindings file match pattern in reviewers.yml (#66991) 2023-07-19 23:04:14 -04:00
Adam F. Wight 60a9620fe4 change chewing gum to not be a stimulant (#67004)
* change chewing gum to not be a stimulant

* Remove chewing gum from med.json

* add chewing gum to other.json, change comestible_type to FOOD
2023-07-19 23:02:35 -04:00
Alexey d7ab3d9be6 Make formatter enable Windows ANSI colors (#67021) 2023-07-19 23:00:53 -04:00
Procyonae 520db0cbb0 Fixes brigandine recipe typos (#67006)
* Listed typos

* Revert bo changes
2023-07-19 21:16:16 -05:00
Maleclypse a2fd9a093d Merge pull request #67012 from SurFlurer/patch-2
Fix feral flu check crash
2023-07-19 20:45:28 -05:00
Anton Simakov fd7a2648f0 [Sky Island] Add sky island mod into the repo (#66939)
* Initial commit of Sky Island mod

Co-authored-by: TGWeaver <45330325+TGWeaver@users.noreply.github.com>
Co-authored-by: waveyl <22638873+waveyl@users.noreply.github.com>
Co-authored-by: lettucegoblin <77356082+lettucegoblin@users.noreply.github.com>
Signed-off-by: GuardianDll <antisim009@gmail.com>

* linting and renaming

* add a sky island label

* spellchecker fixes

* Add double spaces after the full stop

* More spaces, `...` -> `…`

---------

Signed-off-by: GuardianDll <antisim009@gmail.com>
Co-authored-by: TGWeaver <45330325+TGWeaver@users.noreply.github.com>
Co-authored-by: waveyl <22638873+waveyl@users.noreply.github.com>
Co-authored-by: lettucegoblin <77356082+lettucegoblin@users.noreply.github.com>
2023-07-19 20:41:47 -05:00
Maleclypse ed4de58568 [XE] newspaper articles (#66167)
* Create newspapers.json

* Update newspapers.json

* Update newspapers.json

* Update newspapers.json

* Update newspapers.json

* Species adjustment for vampires

* Dictionary and spellcheck

* Update newspapers.json

Update newspapers.json

* Apply suggestions from code review
2023-07-19 21:51:42 -03:00
远方旅者 7c83b3c5ee Allow 'PARROT_AT_DANGER' to select player or NPC as target (#67015)
* fix

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-19 19:40:15 -05:00
Maleclypse b549de5e27 Merge pull request #67020 from bombasticSlacks/actually-fix-the-crash
Fix effect crash
2023-07-19 11:39:17 -05:00
bombasticSlacks 6a2b28ff8a Update effect.cpp 2023-07-19 09:32:02 -03:00
Surflurer 455a58d8ac fix crash 2023-07-19 15:41:51 +08:00
Angela Graves 55a749adc0 Merge pull request #67010 from bombasticSlacks/crash-fix
Effects Crash Fix
2023-07-19 00:07:50 -05:00
KittyTac b1c3059cff Split Skater profession into one with blades and another with a board (#66813)
* Update professions.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 22:53:10 -05:00
bombasticSlacks 3c75a0f61b clean up MOM json 2023-07-18 23:25:49 -03:00
bombasticSlacks 026942f972 fix alerts 2023-07-18 23:23:43 -03:00
Adam F. Wight 028a4f7e7e Update data/json/recipes/weapon/bashing.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 21:19:46 -04:00
MNG-cataclysm b9361dab08 Add a spell-using feral human to Magiclysm (#67003)
* add everything

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 19:50:32 -05:00
Zapafaz a041cd4cea fix ironshod and steelshod quarterstaff recipe costs 2023-07-18 20:48:47 -04:00
anoobindisguise 83f32d1a30 adjust 9mm gun range bonus 2023-07-18 12:47:10 -07:00
远方旅者 624dc0fff2 Add a accidental injury warning on reach attacks (#66989)
* add check

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* try to fix  clang-tidy 16  error

* ID sorting

* ID sorting

* Apply  Qrox suggestions

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-07-18 08:56:50 -05:00
randomtyper 1016bb4135 Rescuing Mi-Go prisoners should give at least some trust with them (#66982)
* Make rescued prisoners be grateful

* Some misc bonuses

* Update mi-go_prisoners.json

* Update data/json/npcs/prisoners/mi-go_prisoners.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-18 07:34:13 -05:00
Angela Graves d7f9f9e140 Merge pull request #66965 from Rewryte/asciitiles_anim
[ASCIITileset] Run and bash animations, shadows, fog tweak
2023-07-18 00:15:47 -05:00
Kevin Granade adac2908a6 Weekly Changelog 2023-07-10 to 2023-07-17 (#66962)
* Weekly Changelog 2023-07-10 to 2023-07-17

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-17 22:52:20 -05:00
SurFlurer 023244ae09 fix android build (#66981) 2023-07-17 22:41:57 -04:00
David Seguin 9b8cf22d27 Merge pull request #66859 from irwiss/map-memory-tidy
Map memory tidy and ghost vparts fix
2023-07-17 22:29:32 -04:00
Dillon Matchett c1c6014b38 Warn on suffocate (#66978)
* Added code

* added enum_to_string
2023-07-17 19:53:23 -05:00
Alexey c011e9de12 Improve output for JSON errors (#66623)
* Colorize JSON errors

* Make formatter feed source filename to TextJsonIn

* Throw exception instead of dumping output to std::cerr

* Adjust math parser's caret appearance

* Set color in chkjson

* Adjust tests and formatters

* Add json error cursor check for unicode string

* Squelch global state lint for entry points

* Adjust stream offset so the buffer for utf8_width is pointing at a codepoint
2023-07-17 19:51:50 -05:00
sadenar 1dbf6efc93 Half leggings (#66665)
* Added items

* Added recipes

* Added nested groups

* Forgot to reduce crafting time in recipes
2023-07-17 19:50:47 -05:00
RenechCDDA d490538705 Blob lieutenant: "Shadow" (#66869)
* Rough draft

* Basic concept done

* Minor fixes, WIP catchup EoC to prevent them from escaping the reality bubble

* Special attacks implementation(still WIP....)

* Fix alpha talker

* Fill in some more of the missing functions

* More cleanup

* More refinement

* Fix spell definitions

* Add the knock spell

* Remake illumination spell as an attack, which works.

* Implement attack_player_only faction

* Add all the tree transforms

* Finish off the special attacks

* Despawn shadow when it's time for him to go

* Implement catchup eoc (teleports towards you if you go too far)

* Add light weakening (needs separate C++....)

* Finishing touches...

* Get flamed. A lot.

* Please the faction relationship tests (hopefully)
2023-07-17 19:50:04 -05:00
randomtyper 35f4af8365 Small adjustments to rattlesnakes (#66832)
* Snek changes

* Wording, snakelets have less sharp eyes

* Change notes

* Update deathrattle desc

* More flags. Snakes can now climb, are counted as animals, avoid danger like living beings.

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:44:52 -05:00
Anton Simakov d0ae4ade05 Update smoke effect (#66660)
* Update effects.json

* further improvements

* Apply suggestions from code review

* Apply suggestions from code review

* fix tests and hardcoded effects using old smoke effect

* code is super confusing
2023-07-17 19:44:23 -05:00
Procyonae f447e98d84 neighbor_oter_check can use om_match_type (#66876)
* Excessive comments

* Removes comments

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Documentation

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:43:27 -05:00
anoobindisguise febff551ea Add work coveralls (#66783)
* work coveralls

* Update suits_clothes.json

* heavy version

* Update suits_clothes.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* coveralls spawns

* coveralls spawns

* comma

* coveralls spawns

* oh geez i forgot enviro prot

* outerize

* change loot distribution

* change loot spawns

* comma

* Update data/json/monsterdrops/zombie_technician.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Clothing_Gear/clothing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* astyle

* Update data/json/itemgroups/Clothing_Gear/clothing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* i just want to be normal

* re normalize

* normal

* remove bad comma

* Update data/json/itemgroups/Clothing_Gear/clothing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Clothing_Gear/clothing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:41:47 -05:00
RenechCDDA 6c60b04f94 Debug menu quick setup option for manual testing (#66794)
* Move character import/export to player submenu

* Add a quick setup option to the debug menu

* Remove orphaned functions
2023-07-17 19:40:48 -05:00
Ashes 11afecfca6 Make mattresses deployable in tents (#66880)
* Add trap and have mattress make it

* Down mattress addition

Added down mattresses, and gave both mattresses longest side entries.
2023-07-17 19:39:06 -05:00
Anton Simakov 989b93c367 [Xedra Evolved] Maintenance (#66885)
* fix the bug with unobtainable software_math anr software_electronic_reference

* Silence dream monsters spells

* electronic halo finally got it's battle mode

* boost dreamsmith's magic enchantments

* inventor's welder to more requirements

* fix #66723

* make some jmath template for future usage

* dreamsmith now has forged tools to make

* make dross research even cheaper, due the amount of recipes it has now

* Move inventor tools into tools category

* spell issues

* Update data/mods/Xedra_Evolved/items/tools.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Add moon_tears as pooka gladius material

* Update data/mods/Xedra_Evolved/items/tools.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/inventor/armor.json

* Update data/mods/Xedra_Evolved/items/inventor/armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* added belted flag for items, that cover torso_waist

* Update armor.json

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:38:14 -05:00
Procyonae 4dda724a8b Put Some Clothes On There Are Survivors Looking (#66902)
* Put Some Clothes On There Are Survivors Looking

* Put Some Clothes On There Are Survivors Looking
2023-07-17 19:35:28 -05:00
Standing-Storm 53f0987799 [MoM] Add additional portal storm remnant map extras (#66906)
* Initial commit

* Add alien grove

* Fixes

* Word choice
2023-07-17 19:34:25 -05:00
Maleclypse ae8ef10cfe Merge pull request #66924 from harakka/npc_grab_break_verb
Grab break message fixes
2023-07-17 19:30:27 -05:00
anoobindisguise 371527bb35 Clean back bay with less than 5 people (#66952)
* Clean back bay with less than 5 people

* Update NPC_Boris_Borichenko.json

* Update NPC_Boris_Borichenko.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update NPC_Boris_Borichenko.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update NPC_Boris_Borichenko.json

* Update NPC_Boris_Borichenko.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:27:52 -05:00
Maleclypse b3d2dc9022 Merge pull request #66942 from RenechCDDA/anesthesia
Re-add anesthesia kit recipe
2023-07-17 19:27:26 -05:00
anoobindisguise 14169c6dd9 heavily nerf ADS bionic (#66954)
* try nerf ads again

* Update character_armor.cpp

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* restore old functionality

* increase power cost

* Update character_armor.cpp

* Update character_armor.cpp

* Update character_armor.cpp

* Update character_armor.cpp

* Update character_armor.cpp

* Update src/character_armor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character_armor.cpp

* Update src/character_armor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 19:05:55 -05:00
FayFlightee a4776c3b80 Add compound crossbow to Hunting Supply Store's archery space itemgroup (#66973)
* add compound crossbow to itemgroup of archery space

archery space are what holds bows in the hunting supply store. I now added compound crossbow to the itemgroup.

* accidental linting issue fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-17 18:58:03 -05:00
RenechCDDA c14765b8a1 Jsonify succession cooldown + fix some bad bugs! (#66934)
* Expose succession cooldown to json

* Prevent large turn # from being improperly read in scientific notation
(e.g. turn 7.776e+06 would resolve as 7! That is very bad!)

* Only set the cooldown on a new game, not every time it loads! (This is also very bad!)

* Clean up succession EOCs to pass var instead of magic numbers

* Update data/json/npcs/missiondef.json

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>

---------

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-07-17 17:00:58 -04:00
RenechCDDA cc2a40fa5b Document most event types for EOCs (#66936) 2023-07-17 16:59:46 -04:00
David Seguin 2d1b3895c4 Merge pull request #66938 from Qrox/keycode
Keybindings fixes
2023-07-17 16:58:59 -04:00
Antti Riikonen 101d5d5c37 Add missing verb to npc grab break message, remove extra 'the' 2023-07-17 20:55:30 +00:00
Dillon Matchett 0a217c520f Fix messed up brs (#66970) 2023-07-17 16:50:34 -04:00
mqrause 53823481d7 seal itemgroup containers (#66971)
Co-authored-by: mqrause <martin@qrause.de>
2023-07-17 16:50:12 -04:00
Maleclypse 237374d4ec Merge pull request #66959 from bombasticSlacks/calng-fixes
Clang Fixes
2023-07-17 07:46:05 -05:00
Anton Burmistrov bb149cf6b4 Don't get randomly sick anymore (#66967)
* Don't get randomly sick anymore

* Sorting
2023-07-17 07:43:48 -05:00
Karol1223 0c7094d1b7 A bunch of random item reworks: 8 (#66774)
* ceramic cup

* cast iron pot

* stock & canning pots

* carving fork

* fixes

* carving knife (will probably need damage adjustments I figure?)

* Update dining_kitchen.json
2023-07-17 07:43:06 -05:00
Rewryte c53227df98 change to fg 2023-07-17 14:35:39 +08:00
Rewryte 027198f641 lint
http://dev.narc.ro/cataclysm/format.html
2023-07-17 13:41:09 +08:00
Rewryte a1e20aa304 asciitiles additions 2023-07-17 13:40:09 +08:00
Angela Graves 22a21bf53f Merge pull request #66958 from CleverRaven/tileset-updates
Routine tileset updates on 16 July 2023
2023-07-17 00:14:49 -05:00
Standing-Storm 8d18d80d79 [MoM] Add noetic resilience treatment (#66841)
* Add noetic resilience treatment

* Resilient -> Resilience
2023-07-16 18:34:07 -05:00
anoobindisguise b58ae8d3b8 Titanium skeletal bracing provides some bash armor (#66836)
* bio_weight provides some armor

* bio_weight provides some armor

* I before E except after C
2023-07-16 18:33:19 -05:00
anoobindisguise f0bb6e716e Adjust the way Intelligence affects focus (multiplier instead of flat bonus) (#66834)
* lower effect of int on effective focus

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-16 18:31:40 -05:00
MorvarchPrincess 305033b579 Add some splintmail additions: Splint mail greaves and vambraces (#66849)
* Initial items and recipes

* Adding recipes

* Fixes from functional testing

* Add splint mail to dictionary
2023-07-16 18:30:10 -05:00
bombasticSlacks f32dd7c217 fixes 2023-07-16 20:27:40 -03:00
Eric 8e30cceb1f Fix (#66953) 2023-07-16 20:23:12 -03:00
casswedson 93583e6a37 Routine tileset updates on 16 July 2023 2023-07-16 23:01:04 +00:00
sadenar 8d5677cdff Zombie Harvest Snippets (#66887)
* Wrote the snippets

* Switch boomer snippets to screamer snippets based on feedback + fix bone typo

* single character typo fix

* test commit to see if I can work on this

* added zombie_harvest_general_deeper

* Typo fixes following ShadowFerret's suggestions

* Adding composite zombie snippet categories

* Adding the new messages to the already existing harvest recipes

* new harvest categories + the monsters they apply to.

This should add all of the needed new harvest categories for the snippets so far added. Some of the applicable monsters for some categories were skipped for now (for example, howling waif is a screamer zombie, but it's also a child, so it will require a child+screamer harvest category for its specific flavor snippets to show up best.

* Tiny typo fix

* Punctuation fixes + Realized I forgot to change the variables in the generic zombie harvest composite group

* Oopsie

* Subdividing the zombie anatomy snippet groups into humanoid and animal alternatives

* New harvest groups and assigning zombies to them

I also fixed zombie dogs not dropping tainted leather as a bycatch.

* One debug monster was jumbling up everything.

* Giving up and giving the test monsters their zombie harvest group back

* pt. 1 of kevlar snippets

* typos

* pt. 2 of kevlar snippets

* animals dont have tattoos

* Update data/json/snippets/zombie_anatomy.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Part 3 Kevlar

* Ferret syntax change suggestion

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* more hulk snippets

* glandular

* Accept typo fix.

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Removing punctuation from composite harvest categories.

* Realized I forgot to change generic to generic animal for these.

* Fixing Kevlar Hulks

* Makes the hulk snippets more readable according to Procyanae's suggestions

* Duplicate but committing so it'll resolve

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: ZigVert <56202842+Daved27hundred@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-16 16:38:43 -05:00
Maleclypse 65ad4b3fdd Merge pull request #66937 from randomtyper/P90-SWAT
Add P90 to guns_swat so mags don't spawn alone
2023-07-16 13:55:02 -05:00
RenechCDDA 31572212cc Re-add anesthesia kit recipe 2023-07-16 10:46:38 -04:00
Anton Burmistrov 30fe61a8fd Player character now can get sick with common cold or flu only after contacts with sick NPCs or ferals (#66334)
* Player character now can get sick with common cold or flu only after contacts with NPCs or ferals

* Only 50% chance to cough for ferals and NPCs
2023-07-16 08:24:29 -05:00
Qrox 191d2003e5 Add Qrox as reviewer of keybindings.json 2023-07-16 20:11:12 +08:00
Qrox fb1d7ddfe8 Fix mod manager +/- key direction 2023-07-16 20:11:12 +08:00
Qrox 3a84c84d68 Unify PLUS/MINUS used as directional keys 2023-07-16 20:11:11 +08:00
Qrox 10540082af Add missing keyboard_code bindings 2023-07-16 20:11:11 +08:00
Qrox 364749941c Add keyboard_char and keyboard_code bindings to replace invalid keyboard_any bindings 2023-07-16 20:11:11 +08:00
randomtyper 1646dd30e7 Add P90 to guns_swat 2023-07-16 14:32:51 +03:00
Angela Graves b2117f3c7c Merge pull request #66909 from DonOfSandiego/changes-milbase-tac-grenade-pouch
Add tactical_grenade_pouch spawn to Military Warehouse
2023-07-16 02:52:58 -05:00
andrei d0716941e7 mapgen: use dbl_or_var for variable weights (#66919)
* mapgen: use dbl_or_var for variable weights

* squashme silence overzealous cata-almost-never-auto
2023-07-16 01:08:25 -04:00
Maleclypse c5487bd14e Apply different messages per intensity level (#65549)
* Apply messages

* Update creature.cpp

* Update creature.cpp

* Revert "Update creature.cpp"

This reverts commit 973377397eb232b245484f736f647d07216993c3.

* Update effects.json

* Attempting to copy decay msgs to apply

* Update src/effect.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

* Attempted Fixes

* Robusting makes me feel good

* cast to appease

* Update data/mods/Xedra_Evolved/effects/effects.json

* Update effects.json

* Update effects.json

* Update effects.json

* Update data/mods/Xedra_Evolved/effects/effects.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/effects/effects.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bombasticSlacks <dillon.matchett@gmail.com>
2023-07-16 01:02:55 -04:00
Procyonae 6e02791368 Allow nests to check for neighbouring flags (#66873)
* neighbor_flag_check

Co-Authored-By: Dillon Matchett <4514073+bombasticslacks@users.noreply.github.com>

* Docs and renaming

* Yeets check function, invalid flags are checked way before this

* It's a blank line bot, giz a break

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Dillon Matchett <4514073+bombasticslacks@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-16 00:59:45 -04:00
Maleclypse 4984855faf Update furniture-appliances.json (#66915) 2023-07-16 00:57:12 -04:00
andrei f51bf9a73f crafting: respect spec for std::normal_distribution (#66920) 2023-07-16 00:56:46 -04:00
Maleclypse 7f9b06131d Merge branch 'master' into globally-unique-npcs 2023-07-15 18:46:38 -05:00
Maleclypse 944de85697 Merge pull request #66910 from anoobindisguise/anoobindisguise-dodgeable
make arbitrarily undodgeable attacks dodgeable
2023-07-15 13:32:21 -05:00
anoobindisguise e7898f6f4a remove damage malus from sig 553 (#66912)
* remove damage malus from sig 553

* Update 223.json
2023-07-15 13:31:33 -05:00
Maleclypse 30c928f741 Merge pull request #66911 from anoobindisguise/anoobindisguise-reactorroom
put f_nuclear_fuel_cell in the microlab reactor
2023-07-15 13:31:14 -05:00
Kevin Granade eba6ef06fe Update stale.yml (#66914) 2023-07-15 01:40:54 -04:00
Rewryte 16edf492d0 fix shadows (#66903) 2023-07-15 01:39:13 -04:00
远方旅者 5c295928d0 Update character.cpp (#66901) 2023-07-15 01:36:30 -04:00
Hirmuolio cb9b116398 Fix grenade manhacks (#66899)
* debugmsg

* fix manhacks

* unused
2023-07-15 01:34:56 -04:00
LISPCoC 6717c348e1 Fix Nested List lag in crafting menu (#66894)
* Update crafting_gui.cpp

* Update src/crafting_gui.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-15 01:30:35 -04:00
Jianxiang Wang (王健翔) f074b39501 Suppress -Wmaybe-uninitialized false positives triggered by lambda's implicit anonymous data structure in debug builds (#66893)
Also remove redundant std::optional used for std::function
2023-07-15 01:27:55 -04:00
Dillon Matchett b23be74a58 Jmath functions for mapgen (#66890)
* untested code

* forgot the base weight stuff

* This still wont work

* fix non null

* Remove pointless file
2023-07-15 01:26:30 -04:00
Hirmuolio 45ae178253 Fix molotov (#66884)
* debugmsg

* fix molotov

* remove accidentally included
2023-07-15 01:21:18 -04:00
David Seguin cb82dcee31 Merge pull request #66883 from irwiss/vpslots-tidy
Clean up vpart_info fields, vpslots and their accessor functions
2023-07-15 01:18:07 -04:00
ehughsbaird f0b29a89ca Fix pathfinding around vehicles (#66877)
I noticed that my NPC companions were no longer very good at getting in
vehicles when I entered them. Sure, they would walk up to the side of
the vehicle, but then they would sit there and make no attempt to go
through the doors to get inside.

It turns out, pathfinding was now considering every vehicle tile a door,
so my companions were trying to open and walk through the walls of my
vehicle to get to me.

This behavior is easily demonstrated with a test vehicle:
(I used an ambulance)

 """"  " = windshield, + = door, - = quarterpanel, # = seat
 +!#+  ! =  player character, @ = npc companion
@----

A test has been added to demonstrate this scenario.

To get into the seat next to the player, the NPC will try to walk
through the quarterpanel to the east of it, when they actually need to
go around the vehicle and enter through the other door.

This is due to a bug in 7fa704b74f, where
the return value of vehicle::next_part_to_open  and
vehicle::next_part_to_unlock is treated as though is will be 0 (false)
when the tile cannot be opened/unlocked. However, these functions return
a vehicle part index, and as 0 is a valid vehicle part index, they
return -1 the tile cannot be opened/unlocked.

To fix, check for the correct value, instead of a non-zero value.
2023-07-15 01:12:13 -04:00
Angela Graves 0dd575edd9 Merge pull request #66916 from CleverRaven/i18n
Routine i18n updates on 15 July 2023
2023-07-15 00:10:00 -05:00
Alexey 0a1e1dd09a Fix off-by-1 in ablative coverage (#66874) 2023-07-15 01:09:52 -04:00
RenechCDDA 8a562b6dc1 Use activity actor to drop (#66863) 2023-07-15 01:06:08 -04:00
RenechCDDA e1d5ba9406 No suitcases inside suitcases (#66860) 2023-07-15 01:05:14 -04:00
David Seguin a2d6d4d627 Merge pull request #66851 from irwiss/veh-cargo-items-tidy
Tidy vehicle functions for cargo
2023-07-15 01:00:40 -04:00
kevingranade 819ecc46e6 Routine i18n updates on 15 July 2023 2023-07-15 02:51:45 +00:00
akrieger 31d07d8633 Inline sm_to_ms_copy for multi% cpu wins in congested places. (#66889)
Co-authored-by: SurFlurer <22912139+SurFlurer@users.noreply.github.com>
2023-07-14 19:16:11 -07:00
Maleclypse a51193c11c Merge pull request #66870 from Kamayana/patch-18
Allow crafting tools to use linked electricity
2023-07-14 19:41:51 -05:00
Procyonae 6512142952 More nest test fail fixes (#66878)
* More nest test fail fixes

* More nest test fail fixes
2023-07-14 19:40:44 -05:00
Maleclypse 0b6cdbdda2 Merge pull request #66904 from Procyonae/PlacementPlywoodChairBarStool
Places some of Karol's plywood chairs and barstools
2023-07-14 19:33:48 -05:00
DonOfSandiego 75a1021122 Update mil_base_z0.json 2023-07-14 17:35:39 -05:00
anoobindisguise 73530f27cc make arbitrarily undodgeable attacks dodgeable 2023-07-14 14:40:50 -07:00
DonOfSandiego 262aa6cba6 Add tactical_grenade_pouch spawn to Military Warehouse
In the current version, only "grenade_pouch" spawns inside the military warehouse, which only accepts 40mm grenade rounds. This changes it to also spawn "tactical_grenade_pouch" (which can hold a grenade) in the same spot.

Additionally, the maximum amount for both to spawn is reduced, since they will be sharing the same (x,y) coordinates.
2023-07-14 16:29:03 -05:00
Anton Simakov 542766713d Accessories obsoletion strikes back (#66830)
* WHY WON"T YOU DIE?

* EVEN MODS!

* belt_clip -> belt clip
2023-07-14 14:52:58 -05:00
anoobindisguise 8eb998016f put f_nuclear_fuel_cell in the microlab reactor 2023-07-14 09:25:17 -07:00
Procyonae 88ffdfc733 Places some of Karol's plywood chairs and barstools
Also removes nurse bot and fixes spawns at school
2023-07-14 17:07:24 +01:00
carmakazi 9b6ea1c422 Give the FN SCAR its attachment points back (#66888)
* Give FN SCAR back its attachments

* Give FN SCAR missing variables.json

* Un-add some added attachment points

Remove obsolete accessory points

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Use the whole quad rail

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-07-14 08:32:31 -05:00
Angela Graves 9b054bdacc Merge pull request #66862 from RenechCDDA/Unload_unload
Prevent Unload_container unloading NO_UNLOAD containers
2023-07-14 00:42:47 -05:00
irwiss b5fa6e59a3 Trim rotor_info accessors 2023-07-13 21:42:12 +03:00
irwiss f8d9fb6d68 Trim engine_info accessors 2023-07-13 21:42:09 +03:00
irwiss 21848e2f2f Trim wheel_info accessors 2023-07-13 21:42:06 +03:00
irwiss b2173d1881 Group up vpslots and make public, remove trivial getters 2023-07-13 21:42:03 +03:00
irwiss 40cd5853e6 Make transform_terrain use vpslot logic 2023-07-13 21:41:59 +03:00
irwiss c2a3c3f308 Propagate time_durations of vpart install/remove/repair times 2023-07-13 20:59:30 +03:00
Anton Simakov bf5848d1e0 Add more link ups (#66847)
* more link ups

* No more 1 meter cables
2023-07-13 14:08:46 -03:00
irwiss d9f2eae7f7 Make map memory initialization check explicit in autodrive code 2023-07-13 12:56:07 +03:00
irwiss 3e336e19c6 Clear decoration tile memory in map::displace_vehicle and vehicle::stop 2023-07-13 12:56:03 +03:00
irwiss 0bc43327b7 Use typed points in map memory 2023-07-13 12:55:35 +03:00
irwiss e10e9b7c10 Split memory map dirty caches and cleanup access functions 2023-07-13 12:55:27 +03:00
Kamayana e4dd1c99ad Use linked power in charges_of_internal() 2023-07-13 02:23:16 -07:00
Angela Graves 634a2544c9 Merge pull request #66846 from RenechCDDA/docs_docs_docs
Document more fields........
2023-07-13 02:29:17 -05:00
anoobindisguise 29cf306046 Fix fix_time (#66833)
* fix fix_time

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 21:30:23 -05:00
Ashes 7c04754667 More large building and up above start locations (#66808)
* More Large Building and Up Above  Start Locations

* Added school rooftop
2023-07-12 23:29:26 -03:00
LyleSY 00afcaaeaa [DinoMod] giganotosaurus (#65805)
* giganotosaurus

* Update dictionary.txt

* Update fungus.json

* Update hatchling.json

* Update juvenile.json

* Update zed-dinosaur.json

* Update zinosaur_burned.json

* Update zinosaur_upgrade.json

* Update egg.json

* Update monster_factions.json

* Update monstergroups_egg.json

* Update dinosaur.json

* Update carnivore.json

* Update harvest.json

* Update zinosaur.json

* siganotosaurus
2023-07-12 21:29:04 -05:00
SurFlurer 31528b9c68 [CR]Properly index active items (#66375)
* Properly cache using unordered_map

* Remove dead code
2023-07-12 21:28:30 -05:00
Theawesomeboophis 6a18e799d0 [Magiclysm] Return of the Elves (#66667)
* Create elf_workshop.json

* Update monstergroups.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update elf_workshop.json

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* Attempt to fix exit code 2 error

* Update monstergroups.json

* Lint Elf Workshop

* Update monstergroups.json

* Lint monstergroups

* depluralize monsters to monster

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* lint

* Update data/mods/Magiclysm/monstergroups.json

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* Update monstergroups.json

* Remove extra lines

* oops, forgot to lint

* Fix overmap terrain

* See about overmap special difficulty

* Separate furniture from terrain

* Figured it out re t_metal, I think

* Attempt to fix missing right wall

* Remove extra row

* 2nd attempt to fix missing walls

* Walls should be fixed now

* Remove 2 extra rows

* Hopefully fix south wall

* Add Furniture to make workshop more like a workshop

* A few workbenches + stools

The bottom area still looked blank. Next stage would be tools and materials on the workbenches and other places.

* Fixing JSON formatting

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>

* Item prep - metal-working workbenches ('m')

* Add items to anvil

* Move doors so not blocked

* Add Magical Forge with Alementum and lint

* Switch magical forge to forge that actually exists

* alumentum is hard to spell...

* Forge arrangement; metal-working workbench

I've arranged the forges close to the `m`, which are metal-working workbenches, and further from the `w`, which are wood-working workbenches. I've also added a bit of stuff for the metal-working workbenches - need to work on the wood-working ones.

* Add tools to workbenches (especially woodworking)

I also adjusted around the proportions slightly after taking a closer look at various tools.

* Add one jointer

* Elves are dangerous ( Changed Risk_LOW to Risk_HIGH)

* Fix killer elves

* Make Workshop Elves afraid

* Fix Name

* Fixes per curtwrist's suggestions.

* Linting

* place loot

* Create elf_workshop_roof.json

* Update elf_workshop_roof.json

* Update elf_workshop.json

* Update elf_workshop.json

* Fix File Beginning and End

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/mods/Magiclysm/worldgen/elf_workshop_roof.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 21:27:34 -05:00
Denis Bernard 6d4d2904de Implement all-wooden fermenting vat (see #65632). (#66672)
* Implement all-wooden fermenting vat (see #65632).

* Increase the amount of rope needed

It turns out that despite my initial feeling of having overestimated the
amount of rope needed, 1 short rope amounts to 15cm of rope per hoop,
which is a clearly not enough.

With 12 hoops with a diameter of ~3cm, the length of rope needed is at
least 10m (that's about 10 turns to tie up each hoop). I settled on a
long rope in order to keep the recipe simple.

* Use cordage isnstead of string

After testing this in game (Innawood), requirering rope instead of
cordage turned out to bas as time consuming as forging 13 small netal
sheets. Also what we consider makeshift ropes in game is probably closer
to the real thing. I did not implement a separate recipe for the sake
of not adding another hard coded vat.

* Fix clang-tidy warnings
2023-07-12 21:25:01 -05:00
Maleclypse 0e67dd62fb Merge pull request #66840 from RenechCDDA/no_fuel_air_bombs
Empty containers are not fuel-air bombs
2023-07-12 21:12:20 -05:00
Maleclypse dc5aa6a8ce Merge pull request #66842 from RenechCDDA/faction_succession_but_cooler
Clear character succession cooldown when PC is badly wounded
2023-07-12 21:04:24 -05:00
Maleclypse 981236b44b Merge pull request #66852 from BarndoBoi/Fix-Bash-Practice-Recipe
Add Aluminum Bat To Practice Recipe
2023-07-12 21:03:21 -05:00
anoobindisguise 4a0a3066bf Some brain bionics cannot be removed (#66856)
* some brain bionics can't be removed

* descriptions
2023-07-12 21:02:27 -05:00
RenechCDDA 4e96cea38f Update src/game_inventory.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-12 19:44:33 -04:00
RenechCDDA 4e8cb4fa1e Prevent unloading NO_UNLOAD containers 2023-07-12 19:22:07 -04:00
Maleclypse 74e3fd1a62 Merge pull request #66843 from Procyonae/StadiumStairs
Removes roof from top level stairs in stadiums
2023-07-12 16:51:00 -05:00
RenechCDDA 3075bd6753 Empty containers are not fuel-air bombs 2023-07-12 16:42:12 -04:00
RenechCDDA 25b25e4f9e Allow immediate character change when PC is badly wounded 2023-07-12 16:41:19 -04:00
RenechCDDA b33b3e24a0 Document more fields........ 2023-07-12 16:40:19 -04:00
Alexey 50917cfd4f Use vpart_position::cargo() instead of part_with_feature/get_items 2023-07-12 20:22:17 +03:00
Alexey 6320df8d45 Trim int overloads from vehicle::get_items 2023-07-12 20:22:09 +03:00
BarndoBoi dd45748621 Add Aluminum Bat To Practice Recipe
Aluminum bat is now an option when practicing beginner bash
2023-07-12 12:58:17 -04:00
Procyonae 5c2bf4bb21 Removes roof from top level stairs in stadiums 2023-07-12 17:37:13 +01:00
Alexey 76bc2d7b5e Trim int overloads for vehicle add_item/remove_item 2023-07-12 17:57:42 +03:00
Alexey a8917bf29b Move cargo volume funcs from vehicle to vehicle_stack 2023-07-12 16:36:26 +03:00
Alexey b569cce765 Add vehicle item overloads taking references 2023-07-12 16:35:58 +03:00
David Seguin 2cd9d43ab2 fix: update old GRAB_DRAG entry (#66839) 2023-07-12 09:32:08 -03:00
Angela Graves 68c0a0bd3a Merge pull request #66814 from Karol1223/damn-civilians
No more civilian de-aging
2023-07-12 00:14:06 -05:00
MorvarchPrincess a51439692d Arabic Armaments and book, More Graded Steel (#66676)
* Adding a whole bunch of arabic armor and weapoins, plus graded steelizing a bunch of stuff

* Oops, don't replace the western weapons book

* Remove duplicate entries, oops

* Remove errant styling file

* Fix errant comma and wrong volume

* Fix issues and remove fancy

* Apply suggestions from code review

Comitting a whole bunch of string change suggestions

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Fix some dictionary stuff

* Apply suggestions from code review

More string fixes

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Fix bad grip enum

* Fixing issues from functional testing

* Update data/json/items/melee/swords_and_blades.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/melee/swords_and_blades.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Fix nested recipe entries

* Removing spaces?

* I think this is the last of them

* Add more words to dictionary

* More dictionary additions

* Correctly spell gurkha

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-07-11 22:07:43 -05:00
MNG-cataclysm 55f0271f0b Fix #66712 (#66828)
* Fix missing dialouge

* Forgot to link
2023-07-11 21:48:24 -05:00
David Seguin 00ebda7966 Merge pull request #66816 from irwiss/veh-cleanups-2
Migrate some vehicle code from part indexes to part references pt2
2023-07-11 22:39:38 -04:00
LISPCoC 0392482624 NPC selects martial arts (#66793)
* npc martial arts

* Update data/json/npcs/common_chat/TALK_COMMON_ALLY.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix unresolved <npcname>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-11 21:38:58 -04:00
Kevin Granade cb905ba3ee Update the table of contents (#66800)
Co-authored-by: Maleclypse <Maleclypse@users.noreply.github.com>
2023-07-11 21:33:48 -04:00
Johannes 6ea6d110cd Fixed bug where 'w'ield can pick up NPC items without triggering warning (#66807)
* fixed issue where wield menu can steal without prompting warning

* Update src/activity_actor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/game.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixed naming for clang-tidy

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-11 21:32:51 -04:00
Hirmuolio ffe5a45099 Carrier for items on ground is nullptr (#66292)
* remove forced player

* multicooker

* radio controller

* mp3

* manage_exosuit

* electricstorage

* incendiary grnd

* crater mapgen

* put avatar back

* geiger

* gasmask

* fishing trap

* astyle

* ehandcuffs

* dive_tank

* style

* message_iuse

* remove activation

* iuse_actor switch from references to pointers

* astyle

* worn items

* p checks

* put thing back

* merge fix

* astyle

* invoke

* can_use

* revert can_use

* transforming item in processing

* unused var

* throw activation test

* remove reference to nullptr

* fix previous commit

* fix fireweapon

* astyle
2023-07-11 15:29:16 -07:00
Nebnis df22f25400 New monster: Colossal Zombullfrog, and zombie frogs no longer fear fire/pain. (#65702)
* New monster, removed amphibian tag
2023-07-11 14:43:34 -07:00
irwiss 9039d5f4e2 Make vehicle::handle_trap use references 2023-07-12 00:38:36 +03:00
irwiss 9191106322 Make vehicle::{explode_fuel,break_off,damage_direct} use references 2023-07-12 00:38:36 +03:00
irwiss d4061142ea Make vehicle::remove_part use references 2023-07-12 00:38:36 +03:00
irwiss b9596ebbde Make vehicle::remove_remote_part use reference 2023-07-12 00:38:36 +03:00
irwiss 753dfdda3e Make vehicle::can_unmount use ret_val and references 2023-07-12 00:38:36 +03:00
Kevin Granade 11b7fc811e Apply suggestions from code review
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-11 14:28:57 -07:00
Jianxiang Wang (王健翔) 9ac690e3e4 Fix typo in src/third_party/CMakeLists.txt (#66806) 2023-07-11 14:26:57 -07:00
John Bytheway 1059561f3c Enable performance-unnecessary-copy-initialization (#66803)
This clang-tidy check looks for opportunities to replace a copy with a
captured reference.

There was just one example it found in our code.
2023-07-11 14:26:33 -07:00
Maleclypse 408af4a067 Merge pull request #66826 from Karol1223/quick-fixies
Tiny fixes to books
2023-07-11 14:23:02 -05:00
randomtyper 954a95c4ba Bugfix: rebreather regenerator cartridges spawned without charges (#66827)
* Make rebreather regenerator cartridges accept KO2

* Kick the tests

* Kick the tests 2
2023-07-11 13:44:23 -05:00
Karol1223 2013bb833c Update data/json/monsters/civilians.json
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-11 18:57:28 +02:00
Karol1223 8ab9934c80 mini fixes 2023-07-11 18:25:13 +02:00
ZigVert 8ef5de8d90 Added some additional labels on graves. (#66704)
* Update grave_labels.json

* i definitely misspelled that on purpose

* suggestions

* Apply suggestions from code review

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* shorten and quality check list

* added comment

* Update data/json/snippets/grave_labels.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
2023-07-11 10:14:15 -05:00
Karol1223 48822931ad no more deaging 2023-07-11 15:12:51 +02:00
Angela Graves 96c7690569 Merge pull request #66779 from HuajiSama/1919810
Typo fix
2023-07-11 00:12:20 -05:00
David Seguin 4ceb3e2057 Merge pull request #66796 from irwiss/veh-cleanups-1
Migrate some vehicle code from part indexes to part references
2023-07-10 21:54:34 -04:00
casswedson 7f44c5808d fix: missing spaces (#66797)
* fix: missing spaces

* Update src/item_pocket.cpp

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Update src/item_pocket.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-10 21:51:52 -04:00
Maleclypse a097f964fb Merge pull request #66782 from casswedson/miss-fix
magiclysm: diviner exodii mission fix
2023-07-10 20:50:07 -05:00
Kevin Granade e8b7f654cc Weekly Changelog 2023-07-03 to 2023-07-10 (#66787)
* Weekly Changelog 2023-07-03 to 2023-07-10

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-10 20:49:24 -05:00
Maleclypse c8d83c34b7 Update material.json (#66802) 2023-07-10 21:48:52 -04:00
randomtyper c68e5e31b5 Rattlesnake retouch, Tamable Wildlife tamable rattlesnakes (#66707)
* Initial commit, makes rattlesnakes tamable.

* Remove frog clone

* No snakes were harmed in their update

* Egg group update, now danger noodles spawn as hatchlings

* Turns out... Rattlesnakes hatch their eggs inside em.

* Rattler friends 2.0

* Tamable Wildlife fixes.

* No sneks for reptile eggs

* No rattlers for wild eggs

* Update dictionary.txt

* Update data/json/monsters/reptile_amphibian.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove snake spawngroups for eggs

* More rattlers on birth

* Rattler snakelets are less venomous now

* Argh, plural autogenned forms needs a dictionary entry too

* Some fixes

* Default value is 0, sure...

* Lower big rattler dodge

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-10 21:48:25 -04:00
Angela Graves 26aff4d1b4 Merge pull request #66786 from CleverRaven/tileset-updates
Routine tileset updates on 09 July 2023
2023-07-10 19:59:10 -05:00
ZigVert 55526cebe5 Make portal storm ending more apparent to the player (#66733)
* bap

* Update data/json/npcs/EOC_talkers/portal_storm.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-10 12:48:56 -05:00
RenechCDDA 3fc59edc0c Better scenario worldbuilding by giving PC knowledge of the nearest city on start (#66781)
* Most scenarios provide vision of nearest city on start

* Don't forget to document your json levers!

* Oops, no need for test messages

* Please clang tidy

* Blacklist a bunch of scenarios that should not reveal anywhere on start
2023-07-10 12:46:54 -05:00
Maleclypse 924ff20282 Merge pull request #66790 from Standing-Storm/coruscating_bugfix
[MoM] Fix coruscating matrix crystal not draining on use
2023-07-10 12:44:52 -05:00
Standing-Storm aa66f1d32a [MoM] Add Zener cards (#66788)
* Add and distribute Zener cards

* item -> group
2023-07-10 12:44:22 -05:00
David Seguin 12e198612d Jsonify monster flags (#66722)
* jsonify monster flags: code and flag conversion

* jsonify monster flags: docs and lang parser

* jsonify monster flags: optimizations

* jsonify monster flags: remove expensive debug stats tracker for mflags
2023-07-10 13:54:00 -03:00
irwiss 99d63fe4b6 Remove vehicle::part_info(...) 2023-07-10 16:21:34 +03:00
irwiss dc6881b57d Remove vehicle::part_flag(...) 2023-07-10 16:21:21 +03:00
Rewryte 1f5aaac9d4 Creatures above cast shadows onto tiles below (#66730)
* tiles

* curses

* prevent shadow sprite fallback

* optimization and formatting

also remove some rogue code comments from my previous PRs

* prevent drawing overlay twice

* blinking indicators for curses

* update docs and py

* check sees for overlay

* merge fixes

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

* add NOLINT

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-07-09 22:56:55 -04:00
Dillon Matchett 50471ecd91 Grab cleanup (#66732)
* Grab cleanup

* Didn't save my JSON changes woops

* actually clear effects on 1 mon

* Saving and clang
2023-07-09 22:55:21 -04:00
Alexey 20a0875174 Clear tile map memory on part removal (#66775) 2023-07-09 22:53:38 -04:00
Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm b3a81bbb51 Fix coruscating not draining on use 2023-07-09 21:24:16 -05:00
casswedson c5ad38c3e0 Routine tileset updates on 09 July 2023 2023-07-09 23:01:30 +00:00
casswedson 848b2eecbf magiclysm: diviner exodii mission fix
the forge diviner's can show you the way towards the exoddi base, it
failed for me in my current save, it was mostly a search range thing I
just changed it a little so it has the same values as the pictographic
signpost mission

```
       "assign_mission_target": {
         "om_terrain": "exodii_base_x0y3z0",
         "om_special": "exodii_base",
```

also include an increase of the price of mana mutagen given it was
pointed out by vorm, I am sneaking it in
2023-07-09 15:21:57 -05:00
ampersand55 6fac4abdcd Update claw bar volume to be consistent with crowbar (#66765)
* Update claw bar volume to be consistent with crowbar

* Adjust claw bar volume to be proportional to weight of crowbar.

* fix expected dps

* Revert "fix expected dps"

This reverts commit 6a1edfadee.

Revert test change

* Reduce damage to match test
2023-07-09 13:27:39 -05:00
SurFlurer 0573277784 Use active item cache to only grab corpses (#66753) 2023-07-09 13:40:42 -04:00
Johannes f506e5216d MELEE_DAMAGE and ITEM_DAMAGE_BASH enchantments should affect bashing damage to tile (#66735)
* incorporated strength and melee damage enchantment into smash

* removed strength enchantment calculation and added calculation for any ITEM_DAMAGE_BASH

* fixed style

* refactored so that MELEE_DAMAGE enchantment will always be factored in, not just when player is wielding weapon

* forgot a semicolon lol
2023-07-09 13:34:53 -04:00
Dillon Matchett 6141fbd608 Material Replacement For Items (#66757)
* Code

* Perk
2023-07-09 13:24:19 -04:00
SurFlurer 2aff8064d1 Also cache weapon_value for bare-handed characters (#66766) 2023-07-09 13:21:20 -04:00
RenechCDDA 1446858861 Misc maintenance to innawoods (#66777)
* Innawoods maintenance

* Make lye recipe autolearned in innawoods
2023-07-09 13:20:45 -04:00
Huaji_Sama a4fc52218b Update mre.json 2023-07-09 23:51:50 +08:00
Maleclypse 6585b7f386 Merge pull request #66773 from Karol1223/quick-json-cleanup
Quick JSON fixes
2023-07-09 10:44:34 -05:00
Huaji_Sama eb418ea095 Update mre.json 2023-07-09 23:22:00 +08:00
Huaji_Sama dc4a9b10c8 Update tool_armor.json 2023-07-09 23:17:17 +08:00
anoobindisguise e4105523d4 reduce impact of bmi on healthiness (#66494)
* reduce impact of bmi on healthiness

* fixes

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* force normal kcal values

* move it to the right place

* test sanity checks

* Update char_healing_test.cpp

* Update char_healing_test.cpp

* make sure OoO isn't screwing up

* add another healthy_kcal setter?

* keep forcing healthy kcal

* test

* this wasn't it

* set healthy kcal again?

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:56:53 -05:00
Standing-Storm 767b56252f [MoM] Move arithmetic to math, standardize and update awakening EoCs (#66724)
* arithmetic->math

* Fix deactivate condition

* Separate values per storm distance

* Change exact probability slightly
2023-07-09 09:56:18 -05:00
anoobindisguise 56d008ed64 Calcium carbonate and antacid tablet creation (#66763)
* add caco3

* caco3 synthesis recipes

* caco3 spawns

* caco3 spawns

* antacid tablets recipe

* adjust it

* Update data/json/recipes/recipe_medsandchemicals.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* adjust

* Update recipe_medsandchemicals.json

* Update chemicals.json

* Update data/json/recipes/recipe_medsandchemicals.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/chem/chemicals.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update chemicals.json

* correct salt byproduct

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:54:41 -05:00
fairyarmadillo 5d00d62cd5 Grain farming expansion and seed adjustments (#65924)
* Rebalanced generic zombie drops and bugout bags

* Update data/json/monsterdrops/zombie_default.json

I obey the bot

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Farming expansion

* Update .gitignore

* Update generic.json

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/junkfood.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update dictionary.txt

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/corn.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/dairy_products.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/dry.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/mapdata.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Don't turn off portal storms

* Minor fixes

* Update data/json/items/generic.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/generic.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/generic.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* spellign

* Update wheat.json

* Various fixes

* Linting

* fodder fixin'

* Canola fodder and lentil fixes

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix inedible

* Update faction camps and tacoma for seed consistency

* Finishing touches

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/mission_companion.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* resolve conflict

* Resolving conflicts

* Update flags.json

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/consumption.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update construction.json

* Update construction.json

* Update flags.json

* Update data/json/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update dictionary.txt

* it's double space thursday

* Update other.json

* Update raw_fruit.json

* Update raw_veggy.json

* Update fruit.json

* Update data/json/uncraft/comestibles/fruit.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update seed.json

* Update seed.json

* Update veggy_dishes.json

* Update seed.json

* Update seed.json

* Update seed.json

* Update other.json

* Update other.json

* Update seed.json

* Update other.json

* Update raw_fruit.json

* Organize jsons

* minor bugfix

* consistent names

* obey the tests

* Update src/consumption.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* change canola stalk description (no flowers)

* Update raw_grain.json

* Update seed.json

* Update iexamine.cpp

* Update raw_grain.json

* harvest_seeds was redundant

apparently seeds: false exists and works it just hadn't been used in nine years

* Organizing grain jsons

* Update raw_grain.json

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update seed.json

* Update seed.json

* Update seed.json

* Update seed.json

* Update raw_grain.json

* Update seed.json

* Update iexamine.cpp

* minor cleanup

* extra spaces

* Update seed.json

* cut eggplant item

* Update seed.json

* eggplant uncraft

* Update .gitignore

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 09:54:08 -05:00
Huaji_Sama eb3d4d74a5 #66756
fix
2023-07-09 22:32:49 +08:00
Huaji_Sama d2ca5fb26c Merge branch '1919810' of https://github.com/HuajiSama/Cataclysm-DDA into 1919810 2023-07-09 22:32:39 +08:00
GalacticApple a566717675 Digitigrade Mutation Line-of-Sight Fix (#66764)
* Update character.cpp

* Update lightmap.cpp

* Update mutations.json

* Update character.cpp

* Update character.h

* Update lightmap.cpp

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 08:47:02 -05:00
LordBarkBread 243f46888d Sluggish Love for Wildlife_Mod (#66755)
* Tamable_Wildlife Mod, Tamable Slugs

Allows taming of the other mollusks, slugs. For Tamable_Wildlife

* Update mollusk.json

* Update mollusk.json

* Update mollusk.json

* Update data/mods/Tamable_Wildlife/mollusk.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-09 08:41:05 -05:00
Standing-Storm bec464130a [MoM] Implement jmath, include it in calculations (#66770)
* Implement Jmath

* Remove RANDOM_AOE
2023-07-09 08:40:25 -05:00
anoobindisguise 5317a179f9 Nerf subdermal carbon CBM (#66769)
* nerf the nanotubes

* clarify description
2023-07-09 08:33:44 -05:00
Karol1223 f8fdee0c36 quick json fixes 2023-07-09 12:11:14 +02:00
Angela Graves 3fb846e5cc Merge pull request #66767 from anoobindisguise/patch-31
gold rings are rigid conflicts layer only
2023-07-09 02:09:21 -05:00
Maleclypse f43f0444ab Merge pull request #66748 from flybye3o6/dark-wyrm
change dark wyrm's blood type to foul acidic blood
2023-07-08 21:19:52 -05:00
anoobindisguise e8f219dccb gold rings are rigid conflicts layer only 2023-07-08 18:17:48 -07:00
WhiteCloud0123 ebe08f3611 When placing items in a pet's bag, also consider the maximum length that can be accommodated (#66750)
* think about length

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-08 14:47:56 -04:00
RenechCDDA bc8f5657b6 Document a bunch of missing fields (#66740) 2023-07-08 14:47:00 -04:00
Kamayana 691969d6e8 Always debug spawn undamaged cars both unlocked and faultless (#66739)
* Always debug spawn usable undamaged cars

* Don't break debug spawned car solar panels, either
2023-07-08 14:46:29 -04:00
flybye3o6 7426dc5261 change dark wyrm's blood type to foul acidic blood 2023-07-08 17:45:54 +10:00
Angela Graves b69ae48e9c Merge pull request #66745 from CleverRaven/i18n
Routine i18n updates on 08 July 2023
2023-07-08 00:44:42 -05:00
anoobindisguise 7dba942d24 Nerf lycra (#66737)
* nerf protection of lycra

* zentai has less prot now

* nerf zentai

* Update coverage_test.cpp
2023-07-07 23:44:41 -05:00
RenechCDDA 118edf4287 Document more fields for our monsters (#66738) 2023-07-07 23:50:22 -03:00
kevingranade 64fef50ebd Routine i18n updates on 08 July 2023 2023-07-08 02:19:54 +00:00
Maleclypse 0f47eeb341 Merge pull request #66734 from Theawesomeboophis/car-fix
Fix Central African flag description
2023-07-07 19:26:02 -05:00
Theawesomeboophis cbb6b382ee Fix Order 2023-07-07 15:04:25 -04:00
Karol1223 105f568e80 Quick cardboard roll fixes (#66731)
* quick fix

* docs
2023-07-07 14:38:32 -03:00
Karol1223 c347c8aebe yeet it (#66726) 2023-07-07 13:14:39 -03:00
Karol1223 9cba5c34ba Duct tape rework (#65531)
* ducty

* no crafting

* fixies

* ducty

* no crafting

* fixies

* re-add and change the recipe (1st iteration)

* further edits to the recipe

* swap IDs real quick
2023-07-07 11:11:46 -03:00
Alm999 820656c229 Adjust collapsible solar arrays (#66478)
* Increased collapsible arrays' mass a little

Mass adjusted to accommodate additional hinges and wires

* Fixed collapsible solar arrays' output

The 60% power output loss was not justified because the cells are not blocked from the light by any additional cover, which means the only losses would be:
1) on wiring (which is bonkers as 2 additional wires won't make a difference), or…
2) from cutting 60% of the initial solar array area (which is not true because the disassembly gives us full solar array back, not the remaining 40% of it).

* Update data/json/vehicleparts/vehicle_parts.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-07 09:08:25 -05:00
Procyonae e4d4b6a373 s_restaurant merge (#66563)
* Initial commit

* Update restaurant.json

* Fixing downstairs, deals with coords upstairs

* Update restaurant.json

* Made foodperson variants of foodplace more likely

* Changes lower floor weightings

* Added non-NPC nests to foodplace downstairs

* Linted

* Removes No Hope override

* Adds new No Hope override

* Adds new No Hope override

* Overmap mods
2023-07-07 10:50:56 -03:00
Dillon Matchett d22e389ae4 Spell Event (#65932)
* cast event

* Update memorial_logger.cpp

* Unit tests + docs

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-07-07 09:02:05 -04:00
Angela Graves e62f537ef6 Merge pull request #66715 from Karol1223/ceramic-evil
Ceramic shard sanifying
2023-07-07 01:03:20 -05:00
Maleclypse 94c819d31b Merge pull request #66718 from ashGlaw/Electric-Blanket-Power-Cord
Added cord to electric blankets
2023-07-07 00:11:18 -05:00
Johannes 2d625efc41 Added new allergen flags and updated carnivore blacklist (#66669)
* updated allergen flags for future proofing and bug fixing

* fixed style issue

* added cheese allergen to set_allergy_flags

* reordered static vars in alphabetal order
2023-07-06 23:28:09 -04:00
Maleclypse 4869c92942 Merge pull request #66713 from ashGlaw/Practice-throwing-with-golfballs
Practice throwing with golf ball
2023-07-06 20:19:42 -05:00
Dillon Matchett 112b97a671 Move field halflife initialize to seperate function (#66700)
* add initialize function

* Testing
2023-07-06 19:54:09 -04:00
Antti Riikonen eb590a0ef2 Add myself to confirm-bug list (#66714) 2023-07-06 19:11:19 -04:00
Maleclypse 390e094c92 Merge pull request #66711 from KittyTac/patch-14
extra_mut_scen fixes
2023-07-06 15:15:58 -05:00
Jianxiang Wang (王健翔) e60b2be868 Assorted tile rendering fixes (#66638)
* Skip drawing when memorizing off-screen tiles, to avoid large off-screen sprites overwriting on-screen sprites due to incorrect drawing order and (hopefully) improve performance

* Fix and unify player position <=> tile position => screen position mapping

* Draw item highlight in lower levels at the correct height

* Fix drawing order and 3d height of vision effects and use hidden sprite for tiles outside view range

* Show boomered vision effect in place of hidden vision effect when boomered

* Reduce number of lower z-levels to iterate through

* Fix map memory range in isometric mode

* Improve comments

* Always draw partial tiles on current z-level

* fix clang-tidy warnings

* Fix clang-tidy warnings again

* Fix top tiles in lower z-levels undrawn in isometric mode
2023-07-06 17:03:16 -03:00
Ashes af5c16309f Added cord to electric blankets 2023-07-06 15:01:09 -04:00
Ashes 57bc9f8ca1 Repair Firearm Repair Kit Repair (#66664)
* Repair Firearm Repair Kit Repair

Firearm repair kits used too much energy compared to similar items and its own components.

* Changed charge and descriptions
2023-07-06 13:59:27 -05:00
Maleclypse f56e8f55ff Merge pull request #66710 from PatrikLundell/palettization_cleanup
palettization cleanup
2023-07-06 13:55:59 -05:00
anoobindisguise 7920ed62f2 Add antacid tablets (#66698)
* add antacid tablets

* Update med.json

* antacid spawns

* antacid spawns

* size adjust

* it's looks_like, not looks-like like copy-from
2023-07-06 13:52:48 -03:00
Andrey Andreyevich Bienkowski d9554a7100 Implement export&import of the protagonist and follower NPCs (#66473)
* Refactor: swap_character now takes 1 arg

1. swap_npc is basically std::swap. Just use that
2. swap_character has a confusing signature. It swaps `this` with the character provided
   in the first parameter, but takes an extra parameter of type `Character&`. A reader may
   think that it swaps the two characters.

* Refactor shadow_npc - use getter

This refactor will be useful later

* NPC export/import

* Cleanup npc after importing

There are many data fields in the npc class that refer
to world-specific things. This fields should not be exported&imported.

Alternative approaches considered:
1. Instead of cleaning up the fields after the NPC is imported
   simply don't export them in the first place.
   Good: If someone opens exported file, they will not be
         confused by a bunch of fields that do nothing.
   Bad: If we forget and accidentally export one field
        that we should not have, the cat is out of the bag:
        players export their characters and save them and
        we are stuck having to cleanup the field on import.
2. Omit the fields on export and then ignore the same fields import
   Good: see above
   Bad: Dont Repeat Yourself. Over time the two codes might start
        filtering different sets of fields.
3. Instead of cleaning up after calling deserialize() skip
   reading the fields in npc::load(), Character::load() and creature::load()
   Bad: The load() code is already quite complex. This seems easier.

* Fix warning about missing mission on import

When importing an NPC into a different world from the original
a mission id her or his chatbin references may be unused.
This commit silences the warning.

Note: if a mission with this id happens to exist, that is ok too
because it will be cleared in npc::import_and_clean().

* Add version header to export files

* Handle import errors

* Remove includes: code that used them was moved

* Fix windows build error

* Improvements suggested by clang-tidy

* Retry CI (#66413 got merged)

* Delete oom

Where did this file come from?
2023-07-06 13:48:09 -03:00
balinck effcb1f2fb Add skateboard vehicle (#66596)
* Add skateboard vehicle

* Fix typo

* Fix clang-tidy regression

* Fix conditional

* JSON fixes

* Update data/json/vehicleparts/frames.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add skateboards to appropriate vehicle groups

* Make folding of skateboards instant

* Adjust skateboard weight/vol

* Add foldable skateboard item & put in some appropriate item groups

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-06 11:47:18 -05:00
Andrey Andreyevich Bienkowski 4fc9ba640f Cleanup legacy (#66408) 2023-07-06 13:39:08 -03:00
Karol1223 569b87f0c3 ceramics 2023-07-06 18:38:41 +02:00
Standing-Storm d40b2576b0 [MoM] Change psionic drain to a vitamin, add ways for the player to reduce it (#66673)
* Drain to vitamin

* Add anti-drain recipes

* Active Exercise -> Brisk Exercise

* linting

* == -> =

* change matrix dust to count 10

* Add limb scores to Drain effect

* Reduce base Drain mods to account for additional limb score penalties

* slightly reduce Breathing penalty
2023-07-06 13:38:14 -03:00
Kamayana 4245f16333 Fix tow cable checking can_mount on the opposite vehicles it should (#66706) 2023-07-06 13:37:14 -03:00
MNG-cataclysm 6c1a968aee Tone Down Assassin Spawns (#66703)
* Update recipe_deconstruction.json

* Update recipe_deconstruction.json

* Update recipe_deconstruction.json

* Add myself to comment commands list

* Update effect_on_condition.json
2023-07-06 13:35:50 -03:00
sadenar 9db86013ab The Nestening (Part I) (#66674)
* Simple bycatch of undesirable single string name for mutant bronze greaves

* Bronze Greaves Nested Category

* Iron Greaves Nested Category

* Bycatch that none of the loincloths had a plural

* Loincloth Nested Category

* Pouch Nested Category

* Small typo on Loincloth Nested Category

* Cloak Nested Category

* Primer Nested Category

* Forgot to change the category description

* Mutagen Nested Category

* Acid Nested Category

* Removing accidental duplicate items

* Simple bycatch of undesirable single string name for mutant bronze vambraces

* Bronze Vambraces Nested Category

* Bronze Helmet Nested Category

* Corinthian Helm Nested Category

* All Bronze Helmets Nested Group of Nested Groups

* small typo fix

* Cleaned up Categories

* Nesting the Mutagen items

* Small fixes

* Fix to from_sample alpha recipe + Fix to rapier nesting

* Slight fixes to the Acid group before I publish as draft and go sleep.

* Pesky typo let me go to sleep.

* Hiding all the recipes except the acids (still need to work on that group)

* Fixing the Nested Acid Group, hiding its recipes outside the nest

* Last few fixes to the Acid Nested Group + Add purifier to Mutagen Group

* Fixed loincloths to let the game auto generate their plurals
2023-07-06 11:35:03 -05:00
Ashes b583367a66 Practice throwing with golf ball 2023-07-06 12:23:58 -04:00
KittyTac 8d05f2efe1 Update mutation_scenarios.json 2023-07-06 19:13:05 +06:00
PatrikLundell a70ae71852 palettization cleanup 2023-07-06 14:16:41 +02:00
Angela Graves 79cb8e52b7 Merge pull request #66690 from anoobindisguise/anoobindisguise-saltedmeatspoiltime
increase spoil time of salted meat
2023-07-06 00:28:35 -05:00
anoobindisguise e473500e00 Redo nomad gear to be more sensible (#66502)
* denimize nomad jumpsuits

* adjust nomad cowl

* Update custom_bodysuits.json

* marloss voice isn't an exodii

* do the recipes

* remove duplicate secret flags

* astyle

* Update custom_bodysuits.json

* that may -> which may

* flannel jacket denimize

* allow flannel jacket

* make padded

* fixes

* denim the harness

* denim harness and other adjusts

* fix a typo

* lots of typos huh

* add fastener requirement

* Fixenate

* lower thickness of denim

* lower denim inputs slightly

* lower weight
2023-07-05 23:41:45 -05:00
Maleclypse 9160ca4e59 Merge pull request #66684 from CleverRaven/dseguin-patch-1
Fix: show slowed message on slow terrain
2023-07-05 23:39:53 -05:00
Karol1223 905ded91ce New fish (#66600)
* fish fish fish

* three more

* dictionary

* sizes according to weight

* Capitalizing the American

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* looks_like

* eggz

* hatchies

* requirement group

* spawns

* descriptions

* ew words

* proofreading

Co-authored-by: Antti Riikonen <harava@gmail.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Antti Riikonen <harava@gmail.com>
2023-07-05 23:39:18 -05:00
Maleclypse 60193c819b Merge pull request #66692 from anoobindisguise/anoobindisguise-maso-surgery
regular masochists aren't sad about anesthesia
2023-07-05 23:37:58 -05:00
Procyonae 90084d2df8 Vegans don't eat people (#66694)
* Update mutations.json

* Update mutations.json
2023-07-05 23:37:14 -05:00
Maleclypse f85aba908f Merge pull request #66697 from anoobindisguise/patch-28
soapy water can't be drunk
2023-07-05 23:36:35 -05:00
LordBarkBread 729ebed95f Snail Mail Its Tamable Snails (#66702)
* Snail Mail Its Tamable Snails

Adding Tamable Snails in the Tamable Wildlife mod

* Update data/mods/Tamable_Wildlife/mollusk.json

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-07-05 23:16:31 -04:00
Theawesomeboophis 51c61a004d CAR goes vrooom (#66686)
* Add CAR

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Fix grammar

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-05 23:09:25 -04:00
anoobindisguise a3126f564a 30gal_drum time fix (#66689) 2023-07-05 23:08:00 -04:00
anoobindisguise 26e163e452 bugfixes for armor bionics (#66693)
* fixes for armor bionics

* astyling

* goosebumps
2023-07-05 23:05:04 -04:00
Dillon Matchett 245d2c818d Field Immunity At Effect Level (#66683)
* Code, Tests, Docs

* Update doc/JSON_INFO.md

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-07-05 23:04:13 -04:00
anoobindisguise 47f8c6e296 armor penetration gets used up like damage (#66653)
* armor penetration gets used up like damage

* documentation
2023-07-05 20:58:26 -03:00
Karol1223 415f63db8e ew legs (#66687) 2023-07-05 18:31:54 -03:00
MNG-cataclysm 551b828aaf Allow the player to ask Rubik about Zomborgs (#63477)
* add the stuff

* Update data/json/npcs/exodii/exodii_merchant_talk.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove visible reference to the secret robots

* Update data/json/npcs/exodii/exodii_merchant_talk.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* correct talk topic

* add explanation

* Update effect_on_condition.json

* Linting

* Apply suggestions from code review

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>

* Update data/json/npcs/exodii/exodii_merchant_talk.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/npcs/exodii/exodii_merchant_talk.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix weird typeless error

* Update condition command

* Lets try that again

* Debugging

* Update dictionary.txt

* Alphabetize the additions to the dictionary

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
2023-07-05 16:11:19 -05:00
Maleclypse db87b6b60e Merge pull request #66678 from Miner239/patch-1
Update blackpowder recipes following charcoal item stat changes
2023-07-05 16:09:20 -05:00
Maleclypse abcc5d73e1 Merge pull request #66680 from GuardianDll/patch-3
[Xedra Evolved] better material for jump driver
2023-07-05 16:08:24 -05:00
Standing-Storm 66e88e59d7 [MoM] Wielding a matrix crystal enhances your powers (#66644)
* Initial commits

* Move crystal draining to dedicated EoCs

* rename
2023-07-05 16:07:51 -05:00
WhiteCloud0123 b0ae1c2568 Fixed the issue of not properly handling pre existing items in the bag after installing it on the pet. (#66379)
* Update monexamine.cpp

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Duplicate definition

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-05 18:05:13 -03:00
anoobindisguise 889d445c83 soapy water can't be drunk 2023-07-05 12:16:30 -07:00
DoctorBoomstick e284941365 Fixes 66637 and wraps up some typos. (#66648)
* fixes merge errors.

* does the stuff.

* changes around how the migration is handled.
2023-07-05 13:30:33 -05:00
Standing-Storm 0a1faf0196 [MoM] Documentation updates (#66643)
* documentation updates

* Spelling fixes and clarifications
2023-07-05 12:32:37 -05:00
Maleclypse ef9cf1f2ad Merge pull request #66682 from GuardianDll/patch-4
[Magiclysm] remove deduction from stormshaper skills
2023-07-05 12:28:15 -05:00
Maleclypse d55d1c4b67 Merge pull request #66679 from GuardianDll/patch-2
Mutant lard uses surface_heat now
2023-07-05 11:57:04 -05:00
Maleclypse bd7e2e1ed3 Merge pull request #66681 from PatrikLundell/modular_shelter_2_palettization
palettized modular shelter 2
2023-07-05 11:55:34 -05:00
anoobindisguise 3bc9c5f1dc regular masochists aren't sad about anesthesia 2023-07-05 09:18:14 -07:00
David Seguin c45a8cf3e2 slow terrain || fungus 2023-07-05 10:06:11 -04:00
Anton Simakov 33df002a8e Update stormshaper.json 2023-07-05 13:53:54 +02:00
Anton Simakov 78a2d74bdf Update armor.json 2023-07-05 12:43:14 +02:00
PatrikLundell f3edf49807 palettized modular shelter 2 2023-07-05 12:18:50 +02:00
Anton Simakov 889cbc70de Update recipe_food.json 2023-07-05 12:02:23 +02:00
Miner239 b9874643bf Update blackpowder recipes 2023-07-05 16:25:45 +07:00
Angela Graves 94a1481d53 Merge pull request #66675 from Standing-Storm/dino-mod-innawood
Add MAN_MADE flag to dinosaur exhibit
2023-07-05 01:18:44 -05:00
Alexey 17a4f0667b Remove cata::optional leftovers (#66635) 2023-07-05 01:01:16 -04:00
Maleclypse 4097f0c2a4 XE Rubik's discussion of vampires text (#66518)
* Update rubik.json

Update field_type.json

* Update field_type.json

* Update field_type.json

* Update field_type.json
2023-07-05 00:51:35 -04:00
Kevin Granade 140b11ceea Weekly Changelog 2023-06-26 to 2023-07-03 (#66628)
* Weekly Changelog 2023-06-26 to 2023-07-03

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-04 23:45:22 -05:00
MNG-cataclysm 8c07ed6c30 Fix the epilogue for the New England Church Community (#66668)
* Update recipe_deconstruction.json

* Update recipe_deconstruction.json

* Update recipe_deconstruction.json

* Add myself to comment commands list

* Update epilogue_factions.json
2023-07-04 23:37:07 -05:00
Beatdotroot 062fd68a2b Dock Construction Updates (#61526)
* Dock Construction Updates

Allows certain docks to be placed on non-flowing shallow and deep water.

* Update data/json/construction.json

* Update data/json/construction.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-04 20:45:23 -05:00
Maleclypse 3af8f366af Merge pull request #66590 from fairyarmadillo/Supplydrop
Reduce airdrop frequency
2023-07-04 20:38:25 -05:00
OtpalTS 5d7f10cc4e Xl survivor boots (#66650)
* Fix XL Survivor Boots

* XL Survivor Boots Fix

* Update data/json/items/armor/bespoke_armor/custom_boots.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/bespoke_armor/custom_boots.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-04 20:33:42 -05:00
Kamayana 53dd919450 Make "Undamaged" the default for debug spawning vehicles (#66656) 2023-07-04 20:29:47 -05:00
Maleclypse 7851510312 Merge pull request #66663 from CleverRaven/kevingranade-patch-2
reign in horse milk yield
2023-07-04 20:25:43 -05:00
Standing-Storm 69ec2c0dd1 Add MAN_MADE flag to dinosaur exhibit 2023-07-04 19:19:48 -05:00
anoobindisguise cd4e6fe81c increase spoil time of salted meat 2023-07-04 16:24:34 -07:00
Maleclypse 8db7cd65cd Merge pull request #66642 from Procyonae/OfficeBuildingStairs
Fixes office building's stairs
2023-07-04 16:04:53 -05:00
randomtyper e89b5914f6 Tamable Wildlife: Tamable spiders (#66619)
* Tameable nopes!

* Rideable superspiders, tamable centipedes

* Update data/mods/Tamable_Wildlife/insect_spider.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Blob magick

* Whoops...

* Another whoops

* Another one...

* Centipede larvae do not resist taming now

* Update insect_spider.json

* Update eggs.json

* Update eggs.json

* Update eggs.json

* Update recipe_egg.json

* Yup, knew I missed something

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-04 13:49:07 -05:00
anoobindisguise 8eb8c32d1b bp fault fix removes rust_timer (#66654) 2023-07-04 15:31:44 -03:00
Kevin Granade 3766eff75b reign in horse milk yield
Initial pr was overly optimistic about milk yield from horses,  focusing on raw production rather than sustainable yield.
2023-07-04 09:21:50 -07:00
Maleclypse c65e9c4eab Merge pull request #66645 from Procyonae/NoHopeMilBaseBlacklist
[No Hope] Blacklist overrun scenario
2023-07-04 11:06:11 -05:00
Maleclypse fe6a5f6734 Merge pull request #66658 from PatrikLundell/modular_shelter_1_palettization
palettized shelter 1
2023-07-04 10:15:02 -05:00
randomtyper 1781d66690 Dry duffel bags are actually watertight (#66652)
* Watertight duffel bag...

* Watertight survivor duffel...
2023-07-04 08:44:08 -05:00
Maleclypse bef1b3b218 Merge pull request #66655 from Standing-Storm/Fix-you-cast-%
[MoM] Fix "You cast %" bug
2023-07-04 08:43:42 -05:00
PatrikLundell 40c6cd7198 palettized shelter 1 2023-07-04 11:08:58 +02:00
Angela Graves a71a91179f Merge pull request #66639 from linewriter1024/dev-0-horse-milk
Make horses milkable
2023-07-04 03:35:08 -05:00
Standing-Storm 753dc92aca Update monster_deaths.json 2023-07-03 22:26:12 -05:00
Procyonae 945288b146 Stops Hub 01 buying back some of their newer stuff (#66634)
* Update robofac_trade.json

* Alphebetised
2023-07-03 21:10:30 -05:00
Procyonae 19858bf5bd Map Item Audit (#66218)
* Initial Commit

* Should be done with maps.json

* Corrections discovered while typing out changes

* Makes a new flag PAPER_SHAPED for leather_journal

* Added spawns

* Update id_cards.json

* Added a helpful comment and linted

* Public work sewer map spawn

* Update data/json/itemgroups/books.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-03 17:20:44 -05:00
Procyonae 0d745c8f2f Create scenario_blacklist.json 2023-07-03 22:13:19 +01:00
Procyonae bf9554bde3 Update office_tower.json 2023-07-03 20:57:13 +01:00
ZigVert 42285e4eec update to kerosene spawns and refillable lighter (#66585)
* update zippo

* make it take camphine too

* added fuel tin + fixed missing comma

* the price is now right

* lamp oil in homes

* added kerosene and empty kerosene tanks to spawn pools

* fixed mess up

* Revert "fixed mess up"

This reverts commit 04ce67adb2.

* Revert "added kerosene and empty kerosene tanks to spawn pools"

This reverts commit edbeec0aca.

* redo previous change without mangling supplies.json

* removes unnecessary line about camphine

* fix missing ml in pocket

* i should stop changing numbers when i have no idea what they do

* always the typo

* im stupid
2023-07-03 14:21:17 -05:00
Maleclypse 2d0fe67d3f Merge pull request #66607 from irwiss/degradation-fix
item::set_degradation sets value of 0 on items with degradation disabled
2023-07-03 14:19:25 -05:00
Maleclypse 412aad1098 Merge pull request #66627 from Stephen2/sp-fix
Fix line endings for MindOverMatter README.md
2023-07-03 14:18:37 -05:00
Maleclypse 008e16b7b5 Merge pull request #66633 from PatrikLundell/modular_shelter_palettization
palettized modular shelter
2023-07-03 14:18:08 -05:00
Benjamin Leskey e8ce8ad7d3 Make horses milkable 2023-07-03 14:03:01 -04:00
casswedson 10875c225f fix for first hub mission & more gear for Dr.Prado (#66458)
* fix for first hub mission & more gear for Dr.Prado

a while back I ran into this rare error involving sunflowers and dirt;
get rid as the game suggest, add a flag to remove all that's there
before placing our custom mapgen

also add a little more loot to Dr. Prado the woman killed by the hub
prototype robot you take care of in the first mission
add some paper, writing utensils and a laptop for the report she's
probably making
a little water, sunglasses and gum - damage the spawned items, the
murder bot presumably trashed the gear

* Update data/json/npcs/robofac/NC_ROBOFAC_SCIENTIST.json

* Update data/json/npcs/robofac/NC_ROBOFAC_SCIENTIST.json

---------

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-03 10:02:30 -05:00
Procyonae 089b2b5f7f Bastion fort fallback_predecessor, palette tweaks, tourist and closed variants (#66508)
* Bastion fort fallback_predecessor, palette tweaks

* More palette tweaks, tested item spawns, changed monster spawns

* Couldn't resist parameterising it too

* Finished parameterising

Getting a weird crash on "closed" variant

* Makes variants equally likely

* Makes variants equally likely

* Update overmap_terrain.json

* Another random punt even though I already tried this

* Update mapgen.cpp

* Update src/mapgen.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monstergroups/zombies.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-03 10:01:50 -05:00
DoctorBoomstick 5b306addac Phone case variants, to infinity, and beyond. (#66462)
* adds the phone cases. all the cases. the endless amount of phone cases which will devower the world and plunge it into a kingdom of phone cases by sheer numbers. cases. cases. cases. dear god, so many cases.

* Update data/json/items/containers.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/containers.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/containers.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/containers.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/containers.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-07-03 10:00:27 -05:00
Standing-Storm 842c3a6ff4 [Mom] Change Telekinesis +10% weight passive into Telekinesis lifting field (try 2) (#66612)
* Create obsolete.json

* Update obsolete.json

* Update psi_passives.json

* Update psions_summon_items.json

* Create power_improvements.json

* Change telekinetic update recipe name

* Add lifting field recipe to telekinetic learning

* Create eoc_mutations.json

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Updating starting telekinetic mutations

* Updating starting telekinetic mutations

* Updating starting telekinetic recipes

* linting

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/psions_summon_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Linting

* Linting

* Update power_improvements.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-03 09:45:32 -05:00
Empyrean-Heaven 20c552604b Some more nightmares (#66520)
* Update nightmares.json

* Update nightmares.json

* Update nightmares.json

* Update nightmares.json

* Update nightmares.json

* Update nightmares.json

* Apply suggestions from code review

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/snippets/nightmares.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-03 09:44:53 -05:00
anoobindisguise 4da6291267 increase search radius for hub01-related missions (#66559)
* 10x search_range

* 10x search_range

* Update data/json/npcs/refugee_center/surface_staff/Smokes/free_merchant_shopkeep_missions.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-03 09:44:08 -05:00
Stephen Pittman aebdc6d8ba Fix text encoding for MindOverMatter README.md 2023-07-03 06:37:25 -07:00
PatrikLundell f54889bfdf palettized modular shelter 2023-07-03 12:21:12 +02:00
Angela Graves 002dab7a4b Merge pull request #66626 from CleverRaven/tileset-updates
Routine tileset updates on 02 July 2023
2023-07-03 01:17:16 -05:00
Maleclypse 595f4f73a6 Merge pull request #66527 from ashGlaw/Tactical-Slingshot
Made Slingshot more Tacticool
2023-07-02 23:05:50 -05:00
casswedson 1a42bab2d8 mom: remove invalid spell id reference (#66622)
* mom: remove invalid spell id reference

started a game and looked at the scenarios of mom; one produced an error

`char_perfect_path` is not in the repo so… decided to just remove the
reference

* Add power that Perfect Path replaced to Doomseer

---------

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
Co-authored-by: Standing-Storm <120433252+Standing-Storm@users.noreply.github.com>
2023-07-02 23:04:32 -05:00
Anton Simakov 70e3860375 [Xedra Evolved] Maintenance (#66618)
* accessories obsoletion

* soften requirements for dreamsmithing researches

* remove copy-from from arrows and bows, because they inherit name, desc and result_eocs when they shouldn't

* add custom FIT flag to items, spawned by dreamsmith armor EoC

* Revert "accessories obsoletion"

This reverts commit e75e3be1fc.

* compound crossbow -> dreamforged crossbow
2023-07-02 23:03:56 -05:00
Maleclypse be253991e0 Merge pull request #66624 from GuardianDll/arc_welder
Make arc welder and co able to plug
2023-07-02 23:02:14 -05:00
casswedson a8c8f636d0 Routine tileset updates on 02 July 2023 2023-07-02 23:27:12 +00:00
theyareclose c65d3a8dc7 Various Down Bed Fixes (#66457)
* Various Down Bed Fixes

1. Fixed the number of down feathers acquired from smashing down beds to account for down feathers coming in sets of 20. (900-1100 rather than 20x that).

2. Created new furniture "f_down_bed" and "f_down_bunkbed" that use down beds, along with construction recipes to make them.

3. Removed down mattresses from being used in previous "regular" bed construction recipes.

* Update construction.json

* Update furniture-sleep.json
2023-07-02 18:14:08 -05:00
Ashes 69027596c6 Make lanterns plug-in-able (#66611)
* Make lanterns plug-in-able

* linting
2023-07-02 17:40:27 -05:00
Maleclypse 61f2f723bf Merge pull request #66615 from PatrikLundell/modular_firestation_1_palettization
palettized firestation1
2023-07-02 17:39:46 -05:00
GuardianDll 489e9518ed pluggin in 2023-07-03 00:11:19 +02:00
Vgoloshivskiy 458a53eb98 This should add hm-12 to robofac trades (#66592)
* Update robofac_trade.json

added hm12 to blacklist

* Update robofac_intercom.json

added hm 12 to possible trade after figuring out it works
2023-07-02 16:37:27 -05:00
Vladimir Masarik bc824266e4 Add lore information on the New England Church Community into the design document (#66530)
* Removed trailing spaces

* Add lore information on the New England Church Community

* Updated old names of the New England Church Community

* Mention which currency NECC is using, and which direction it could develop in.

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Add suggestion for how the NECC might evolve when the player is involved

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Update NECC relationship description

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

---------

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-07-02 16:36:50 -05:00
Maleclypse c26c04afbc Merge pull request #66610 from Procyonae/CraterCoreMigration
Crater core migration
2023-07-02 16:36:13 -05:00
Maleclypse 2f2db58212 Merge pull request #66617 from GuardianDll/lable_2
Add Standing-Storm to Mind over Matter notification list
2023-07-02 16:35:40 -05:00
Dillon Matchett 6c5ffff1d7 EOC Run Until (#66449)
* Run Until

* iteration count

* spelling and docs

* Fix double get
2023-07-02 15:42:46 -04:00
randomtyper 3c56d636a5 Add ability to make slime globs into slime samples (#66595)
* Microcentrifuge now uses charges.

* Slime samples from slime globs

* Added some qualities where it made sense

* Rotary is not precise enough for fine distill
2023-07-02 15:42:32 -04:00
Angela Graves 662245d5f1 Merge pull request #66605 from GuardianDll/accessories
Further accessories obsoletion
2023-07-02 13:40:22 -05:00
Anton Simakov e09ed7123c Update reviewers.yml 2023-07-02 19:18:10 +02:00
PatrikLundell f4c4e0d7a3 palettized firestation1 2023-07-02 18:12:37 +02:00
Procyonae 2888154548 Update migration_oter_ids.json 2023-07-02 16:03:28 +01:00
irwiss 856af60c64 item::set_degradation sets value of 0 on items with degradation disabled 2023-07-02 17:06:18 +03:00
Procyonae 37003bf75a Motel changes (#66584)
* Initial Commit

* Alt map key

* No Hope

* No Hope
2023-07-02 11:03:02 -03:00
Procyonae 8c98bff55c Lessens chance to fall on school start (#66591)
* Initial Commit

* No Hope
2023-07-02 11:01:31 -03:00
Karol1223 969af9180b A bunch of random item reworks: 7 (#66588)
* wine glass

* sponge

* can opener

* blanket

* cast-iron frying pan

* can opener grip

* dish towel

* idk increase it ig? I'm not fighting tests, this is bullshit
2023-07-02 11:00:27 -03:00
Paprika-H c6349a0351 Binders! (the trans kind) (#66540)
* Update undergarment.json

* Update clothing.json

* Update torso.json

* Update undergarment.json

* Update torso.json

* Fix

* Flora

* tgq3ewagsrh

:)

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Thank you Knut-Aage_Hofseth!

Co-authored-by: Knut-Aage-Hofseth <15341115+Knut-Aage-Hofseth@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Knut-Aage-Hofseth <15341115+Knut-Aage-Hofseth@users.noreply.github.com>
2023-07-02 09:49:03 -04:00
Anton Simakov ac0372530f Update perkmenu.json (#66603) 2023-07-02 09:32:25 -04:00
Anton Simakov a9af914160 Update zed_misc.json (#66602) 2023-07-02 09:31:15 -04:00
Anton Simakov 1546098741 Update labeler.yml (#66601) 2023-07-02 09:30:02 -04:00
RenechCDDA 61d4a83771 Add ability to cull more farmed/bred animals (#66575)
* Add ability to cull more farmed/bred animals

* Add sheep+goat children and goat(adults) to the cull list

* Update data/json/monsters/mammal.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-02 09:25:28 -04:00
PatrikLundell e7aea1959c palettized fbmc radio tower (#66574) 2023-07-02 09:22:49 -04:00
Ivan Demchuk c8677ef7e4 Fix endless teapot error (#66571)
* Remove not used relic_data field

* Only allow activating endless teapot if it is empty

* Add documentation for transform json fields
2023-07-02 09:19:46 -04:00
Addison Schuhardt 3a72f363bd Don't report monsters breaking free from unknown grabbers if the play… (#66570)
* Don't report monsters breaking free from unknown grabbers if the player cannot see them

* fix tabbing

* fix whitespace

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-02 09:19:02 -04:00
Karol1223 d83cfebd8c Park benches in parks!? More likely than you may think! (#66544)
* parks

* fixie

* more park
2023-07-02 09:18:23 -04:00
SolventMercury 5a96ac8d98 Turret Weakpoints & Review (#65424)
* Turret Weakpoints & Review

- Added a set of weakpoints for turrets, and a weakpoint set specific to the searchlight (mostly for flavor).
- Gave turrets stab armor. I feel like stab would be the weakest form of attack against turrets.
- Removed STUN_IMMUNE flag from turrets and stuff. Mostly to facilitate them getting locked up through weakpoint effects.

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monster_weakpoints/turret_weakpoints.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* turrets.json: lint, reapply armor change

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>
2023-07-02 09:10:31 -04:00
GuardianDll e75e3be1fc accessories obsoletion 2023-07-02 14:52:02 +02:00
randomtyper 1560777d9d Rebreather recipe fixes (#66580)
* Add lye as alternative material for soda lime

* Update recipes so they are different

* Update other.json

* Abort, abort

* Update filter.json
2023-07-01 20:41:09 -05:00
Procyonae 0e57fb81c8 Unhardcode "crater", improve appearance of mutable craters (#66499)
* Initial commit

* Fills one type of gap

* Backup before I change course

* New method spawning entire craters overlapping

* Spawn craters adjacent instead to take up less room

* Considered making crater bombs fall from above so they could be placed over the whole OMT randomly

Works fine but #59781 means it looks bad

* Revert "Considered making crater bombs fall from above so they could be placed over the whole OMT randomly"

This reverts commit 139cd1e0f83e1d5840251b9623fc95c658ae985a.

* Testing wibbly wobbly craters

* Revert "Testing wibbly wobbly craters"

This reverts commit 99335b05eb06f237637ff155967ebac8600128b8.

* Splits nests so they don't interfere negatively

Removes wreckage bc it's just a weird item group that doesn't make much sense

* remove_vehicles

* Unhardcoding I missed

* Small crater

* Makes mutable file more sensible

* Corrected and added a couple of phase variants

* Added new distibution stuff and reduced check location area to match min size

* Added new distibution stuff and reduced check location area to match min size

* Updates the docs so they don't reference the old version

* Removes innawoods crater.json

Only appears to exist to remove the radioactivity and that's been removed from the vanilla crater anyway
2023-07-01 21:00:46 -04:00
Procyonae 38735bb19b Couple of nest related test fail fixes (#66552)
* Initial commit

* I should really check how to set my n++ indent

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Another one

* Whoops

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 20:54:49 -04:00
Johannes 62e1c2bfdf added flesh property to snail_garden (#66569)
* added flesh property to snail_garden

* removing snail_garden
2023-07-01 20:51:43 -04:00
DoctorBoomstick 1f26c26002 does the stuff. (#66572) 2023-07-01 20:51:14 -04:00
Vladimir Masarik a41c3bc5fc Add missing buildings to Alternative Map Key (#66578)
* Add missing buildings to Alternative Map Key

* Update data/mods/alt_map_key/overmap_terrain.json formatting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 20:48:54 -04:00
RenechCDDA b7db497c81 Fix operator check (#66582) 2023-07-01 20:47:17 -04:00
fairyarmadillo 46cafbdfca Reduce airdrop frequency 2023-07-01 14:17:57 -07:00
Karol1223 593bafd772 Meatball in the spaghetti (#66573)
* meatball mmm

* double the meatball
2023-07-01 07:15:29 -05:00
Standing-Storm 4d78bdb083 Add Mind Over Matter to C:DDA repository (#66391)
* Create NewPowerGuide.md

* Add files via upload

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_crafting.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_crafting.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_crafting.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_crafting.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_crafting.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update pyrokinetic lamp with variant symbol field

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* looks like it works

* Lint modinfo.json

* Lint skills.json

* Update data/mods/MindOverMatter/NewPowerGuide.md

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/README.md

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/README.md

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_matrix_awakening.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/effects/effects_overload.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/psi_passives.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/medical.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/effectoncondition/eoc_portal_awakening.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/MindOverMatter/hobbies.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Add addition power guidelines

* remove additional return

* remove additional return

* Add descriptions to extended professions

* added missing words

* Explain lack of intelligence bonuses

* CRLF -> LF

* Update data/mods/MindOverMatter/modinfo.json

* Update data/mods/MindOverMatter/skills.json

* Update data/mods/MindOverMatter/modinfo.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/skills.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_lab_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_lab_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/books.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/weapons.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/teleporter_start_items.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/files_post_it.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/books.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/items/schematics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_lab_psychics.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Change Discern Weakness from [item] to [hostile]

* Remove non-UTF-8 No symbol emoji

* Return to hardcoded BIO_OP_DISARM until JSONified

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update crafting_tools.json

* Update belt.json

* Update snippets_new.json

* Update snippets.json

* Update vitakinesis.json

* Update telekinesis.json

* Update pyrokinesis.json

* Update clairsentience.json

* Update biokinesis.json

* Update monsters_spells.json

* Update monster_eoc_spells.json

* Update feral_psychics.json

* Update feral_psychics.json

* Update temporary.json

* Update data/mods/MindOverMatter/items/tools/crafting_tools.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update crafting_tools.json

* Update feral_psychics.json

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add ids to monster spells

* Add ids to psionic feral spells

* Add files via upload

* Update data/mods/MindOverMatter/monsters/feral_psychics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/traits.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update traits.json

* Update traits.json

* Update data/mods/MindOverMatter/mutations/traits.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Delete traits.json

* Create traits.json

* Update data/mods/MindOverMatter/mutations/traits.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/traits.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/MindOverMatter/mutations/traits.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GuardianDll <antisim009@gmail.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-07-01 07:14:26 -05:00
Angela Graves 9afa65ce6b Merge pull request #66568 from CleverRaven/i18n
Routine i18n updates on 01 July 2023
2023-07-01 01:10:35 -05:00
Standing-Storm c94dc03875 Change single Talmud to multiple volumes of English Talmud Yerushalmi (#63701)
* correct weight and volume of Talmud

* Update spiritual.json

* Update spiritual.json

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add tractate 3

* Correct individual book weight

* add Tractate Demai

* Add tractates through Eruvin

* Add missing "

* Add through Tractate Chagigah

* Change volume to correct units

* Add Weight to variant spawns

* Update spiritual.json

Add tractates through 35

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spiritual.json

* Update spiritual.json

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spiritual.json

* remove ,

* Extra "

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/book/spiritual.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* 6a ->6

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-01 00:00:43 -05:00
GalacticApple cef2327708 Digitigrade mutation (#65942)
* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Adds knock down chance

Also removes carry-weight penalty.

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update character.cpp

* Update mutations.json

* Remove knockdown

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character.cpp

* Update data/json/mutations/mutations.json

Co-authored-by: Drew4484 <57647637+Drew4484@users.noreply.github.com>

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mutations.json

Closed loop-hole in speed boost logic.

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

* Update mutations.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Drew4484 <57647637+Drew4484@users.noreply.github.com>
2023-06-30 23:57:22 -05:00
David Seguin 391a7f40dc Merge pull request #66551 from RenechCDDA/appliance_generators
Active backup generator ---> Functional generator appliance, useable in player grids
2023-07-01 00:57:10 -04:00
PatrikLundell 0f520a51d5 palettized workshop 1 (#66470)
* palettized workshop 1

* Reroll test D20ies hoping for all critical successes

* Reroll test D20ies hoping for all critical successes

* Adjusted Aftershock by removing now redundant entries

* Update data/json/mapgen/basecamps/expansion/modular_workshop/version_1/modular_workshop_common.json

* Update data/json/mapgen/basecamps/expansion/modular_workshop/version_1/modular_workshop_common.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-30 23:56:01 -05:00
David Seguin fef08ae6ed Merge pull request #66248 from Qrox/assert
Avoid potential execution of assert conditions in release builds
2023-07-01 00:54:24 -04:00
Procyonae 069c7612f2 Typos (#66536)
* Well that was dull

* Update mutations.json

* Apply suggestions from code review

* Update mutations.json
2023-06-30 23:47:14 -05:00
Vladimir Masarik 8c68400930 [Alternative Map Key] Building alternatives now show correctly on the map (#66554)
* Add store alternatives from overmap_terrain_commercial

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>

* Add OM alternatives from overmap_terrain_recreational

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>

---------

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2023-06-30 23:46:11 -05:00
Procyonae 2386ec23ec Counter gate move cost (#66429)
* Update furniture-surfaces.json

* Removes cupboard change
2023-06-30 23:42:45 -05:00
Alexey c7e5c9f20e Autopilot tests (#66556) 2023-07-01 00:41:24 -04:00
Karol1223 030a61068c Fish size cleanup (#66548)
* salmons

* bass & perch

* sunfish

* catfish & pike

* cyprinids & oddballs

* dictionary eugh
2023-06-30 23:41:14 -05:00
RenechCDDA adb5a77c6f Camps display required calories for crafting and building upgrades (#66482)
* Display calories consumed for camp crafting

* Display calories for camp *building*

* Do not highlight camp upgrades that we have insufficient recipes for

* Colorize calorie cost if insufficient

* Implement suggestions from code review

* Update src/faction_camp.cpp

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-07-01 00:40:07 -04:00
anoobindisguise d79d5ad244 Increase world spawns of welding consumables (#66557)
* more weld consumables

* increase weld spawns

* lower price to $1 per 10cm

* welding spawns

* smokes sells more weld stuff

* more weld consumables

* spawns

* Update locations.json

* Update garage.json

* Update garage.json

* Update locations.json

* Update garage.json

* Update tools.json

* Update garage.json

* a comma

* Update data/json/itemgroups/SUS/garage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/SUS/garage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove box

* remove box

* remove box

* remove box

* remove box

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-30 23:38:59 -05:00
kevingranade 1873fe5a64 Routine i18n updates on 01 July 2023 2023-07-01 02:28:09 +00:00
Maleclypse 843112fbad Merge pull request #66562 from GuardianDll/literally_unplayable
[Xedra Evolved] did you know dreamsmith was broken? neither did i
2023-06-30 21:27:58 -05:00
Maleclypse 747287eba6 Merge pull request #66558 from anoobindisguise/anoobindisguise-weekly-weaker-gambeson
Partially reduce coverage of gambesons
2023-06-30 20:41:25 -05:00
SurFlurer e908678c97 Update basecamp fake char kiln's ammo restriction (#66550)
* Update basecamp fake char kiln

* typo

* typo2
2023-06-30 19:56:28 -05:00
Maleclypse 51f7905951 Merge pull request #66561 from RenechCDDA/test_test_test
Update clear_character to remove mutation categories
2023-06-30 18:40:37 -05:00
Maleclypse a52b0058ab Merge pull request #66546 from NetSysFire/nomoreadobe
No more adobe brick stadiums
2023-06-30 18:39:37 -05:00
Anton Simakov fefa01a018 Update dreamsmithing.json 2023-06-30 23:08:50 +02:00
RenechCDDA f9ad92466f Update clear_character to remove mutation categories 2023-06-30 15:43:24 -04:00
RenechCDDA f96d404a90 Normalize generator's fuel capacity (should be steel jerrycan) 2023-06-30 15:00:23 -04:00
RenechCDDA 31aec8abc0 Update world spawns of some existing generators 2023-06-30 14:47:41 -04:00
Anton Simakov 70b17047e4 [Xedra Evolved] Magic MTFs (#66512)
* no message

* Fix alchemy perk issue while i'm here

* Update dreamer_spells.json

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* spaces

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-30 13:26:32 -05:00
PatrikLundell 86c9a548e1 fbmc pottery cottage palettization (#66522)
* fbmc pottery cottage palettization

* Update data/json/mapgen/basecamps/base/fbmc_pottery_cottage/fbmc_pottery_cottage_blacksmith.json

* Update data/json/mapgen/basecamps/base/fbmc_pottery_cottage/fbmc_pottery_cottage_blacksmith.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-30 13:22:11 -05:00
Paprika-H 2b653594a4 Condom Variants (#66529)
* Update containers.json

* Thank you Ferret!

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/containers.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update containers.json

* Update data/json/items/containers.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-30 13:21:36 -05:00
Maleclypse 19a9c05054 Merge pull request #66541 from anoobindisguise/patch-27
fix mine spawns of coal
2023-06-30 13:19:25 -05:00
Maleclypse 129f04e426 Merge pull request #66542 from irwiss/4x4-rams
Use ram parts in 4x4_car
2023-06-30 13:18:26 -05:00
RenechCDDA 816c19252a Faction succession without death (#65732)
* Faction succession without death (final C++ implementation)

* horrifying cooldown implementation (but it works)

* Apply suggestions from code review

Co-authored-by: Brambor <tondadrd@seznam.cz>

* move string declaration too

* update EOC to not double-assign mission

* fix take two: clear mission before assigning to prevent dupes

* EOC fixes, take three

* remove bizarre dead code for consumption in non-consumption tests

* more test fixes

* MORE test fixes.....

* remove accidental space to preserve comment

* Update json with now mandatory field

* Remove previously added kludge for somtach contents test

* silence clang tidy

---------

Co-authored-by: Brambor <tondadrd@seznam.cz>
2023-06-30 13:14:54 -05:00
anoobindisguise d8df649e49 Update gambesons.json 2023-06-30 10:29:57 -07:00
RenechCDDA 54a3bc0016 Implement generator recipe 2023-06-30 13:03:48 -04:00
RenechCDDA 6acf2c1fd0 Move generator furniture deconstruct results to new generator item disassembly 2023-06-30 12:42:18 -04:00
RenechCDDA e5d56d7d53 ACTIVE active generator 2023-06-30 12:17:46 -04:00
NetSysFire af9935c6fb no more adobe stadiums 2023-06-30 16:52:46 +02:00
irwiss 8c00208233 Use ram parts in 4x4_car 2023-06-30 11:23:20 +03:00
anoobindisguise b556876e94 fix mine spawns of coal 2023-06-30 00:34:03 -07:00
Angela Graves 83224ec684 Merge pull request #66534 from deepvelocity/master
Remote vehicle controller and programmable autopilot fixes
2023-06-30 00:10:06 -05:00
Jianxiang Wang (王健翔) 19df0e3825 Fix check_clang_tidy.py doc string (#66538) 2023-06-29 23:56:07 -04:00
Procyonae 53bff0516e Update migration_oter_ids.json (#66537) 2023-06-29 23:50:54 -04:00
Alexey 54368d9525 Don't access out of lightmap bounds (#66431) 2023-06-29 23:48:49 -04:00
randomtyper 13d9decbf8 Rebreathers rework and general revisit (#66271)
* Add WIP soda lime cartridges

* Adjust ammunition types, prepare ammunition type for O2 regen powder

* Soda lime cartridges

* Now cartridges accept charges according to weight

* Add soda lyme granules and potassium superoxide powder as ammunition

* Weight adjustment

* Make rebreathers use soda lime cartridges by default, balance tweaks, restoration of xs divemask

* Fix

* Oxygen regenerator cartridge

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Timing adjustments

* Update ammo.json

* Update ammo.json

* Update dictionary.txt

* Update ammo.json

* Update ammo.json

* Masks should be able to use KO2 as ammo too

* Update generic_guns_validator.py

* Update professions.json

* Update classes.json

* Update activities_hobbies.json

* Update locations.json

* Update hazmat_gear.json

* Update gear.json

* Update clothing.json

* Update filter.json

* Cartridge recipes

* Update data/json/recipes/armor/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/other.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add potassium

* Potassium recipe

* Chemistry stuff

* Update other.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update known_bad_density.json

* Update tool_armor.json

* Update tool_armor.json

* Update tool_armor.json

* Update head.json

* Update head.json

* Update tool_armor.json

* Update migration_items.json

* Axe the old filters

* Update data/json/obsoletion/migration_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update other.json

* Update recipe_medsandchemicals.json

* Update other.json

* Update supplies.json

* Update flags.json

* Update hazmat_gear.json

* Update ammo.json

* Make mags watertight.

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dillon Matchett <dillon.matchett@gmail.com>
2023-06-29 22:05:57 -05:00
Zhilkin Serg eddecf66df Update EFFECT_ON_CONDITION.md (#66533)
* Update EFFECT_ON_CONDITION.md

* Update EFFECT_ON_CONDITION.md
2023-06-29 20:49:17 -03:00
Maleclypse 2fbf8e4184 Merge pull request #66528 from irwiss/vpart-variant-fixes
Bypass variant picking on install if there's only one choice
2023-06-29 17:12:00 -05:00
Maleclypse ce2aa5973c Merge pull request #66531 from bombasticSlacks/fuel-efficiency-docs
Updated generator docs
2023-06-29 17:11:30 -05:00
Deep Velocity 9b0a76f979 Update src/vehicle_use.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-29 15:48:33 -04:00
Deep Velocity 46db004181 Update src/vehicle_use.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-29 15:48:26 -04:00
Deep Velocity ac2a4ac1f2 Update src/vehicle_use.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-29 15:48:10 -04:00
Deep Velocity e1d3ac0df1 Update src/vehicle_use.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-29 15:48:00 -04:00
Deep Velocity 63fbc4dc41 Update src/vehicle_use.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-29 15:47:54 -04:00
desu f20226773d Sync up with master 2023-06-29 15:12:04 -04:00
desu 8c01806286 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/vehicle_use.cpp
2023-06-29 15:09:13 -04:00
desu bc5f28819f Check for player proximity when building action menu for vehicle interaction 2023-06-29 15:03:59 -04:00
desu 4ea5c45cab Fixed a bug that prevented any self-driving capabilities on vehicle without harnessed animals.
Vehicle remote controller now correctly works for single action work (used to throw a null pointer since it could not locate a vehicle)
2023-06-29 13:45:01 -04:00
bombasticSlacks ee18510ce3 Updated the value in docs 2023-06-29 11:13:04 -03:00
Alexey 93d1f4abe9 Enable mod tracker for vpart_info (#66526)
* Enable mod_tracker for vpart_info

* Remove LOCKABLE_DOOR from cloth doors
2023-06-29 09:33:19 -04:00
irwiss 60d4765e1e Bypass variant picking on install if there's only one choice 2023-06-29 16:18:26 +03:00
Karol1223 6089a7d830 Cast iron (#66380)
* cast the iron

* big ingot

* Update metal.json

* magiclysm evils
2023-06-29 07:46:54 -05:00
Alexey 4250d573ca Remove redefined door fields (#66523) 2023-06-29 08:38:58 -04:00
Angela Graves 5820766101 Merge pull request #66496 from anoobindisguise/patch-25
Readd Glorious to Elf-A
2023-06-29 00:09:05 -05:00
Paprika-H f0cadfeb68 Vegan Trait (#66511)
* Create polymer_plant

* Merge branch 'master' of https://github.com/Paprika-H/Cataclysm-DDA

* Update character_attire.cpp

* Update mutations.json

* Update character_attire.cpp

* faux fur gloves

* faux fur feet styuff

* faux fur scarfs

* faux fur boots recipes

* Update hands.json

* Update feet.json

* Update hands.json

* Update character_attire.cpp

* Update flag.h

* Update flag.cpp

* Update consumption.cpp

* Update flags.json

* Update dairy.json

* Update consumption.cpp

* Update flag.cpp

* Update consumption.cpp

* Update flags.json

* Update boots.json

* Update gloves.json

* Update suits_protection.json

* Update suit.json

* Update flag.h

* Update flag.cpp

* Update flags.json

* Update dairy.json

* Update character_attire.cpp

* Update consumption.cpp

* Update suits_protection.json

* Update scarfs.json

* Update legs_armor.json

* Update legs_armor.json

* Update legs.json

* Update legs_armor.json

* Update holster.json

* Update storage.json

* Update holster.json

* Update holster.json

* Update holster.json

* Update scarfs.json

* Update scarfs.json

* Update legs.json

* Update nested.json

* Update suits_protection.json

* Update wheat.json

* Update legs.json

* Update legs.json

* Update mutations.json

* Delete polymer_plant

* Update boots.json

* Update gloves.json

* Update holster.json

* Update scarfs.json

* Update feet.json

* Update hands.json

* Update legs.json

* Update storage.json

* lint

* Update scarfs.json

* Update feet.json

* Update mutations.json

* Update holster.json

* Update holster.json

* Update consumption.cpp

* Update flag.cpp

* Update character_attire.cpp

* Update holster.json

* Update storage.json

* Update nested.json

* Update consumption.cpp

* Update character_attire.cpp

* Update consumption.cpp

* .22 ar

* Update magazines.json

* Update magazines.json

* Update magazines.json

* Update magazines.json

* Update mechanism.json

* Update 22.json

* .22 ar

* Update gunmod.json

* lint

* Update gunmod.json

* Update magazines.json

* Update 22.json

* Update mechanism.json

* Update data/json/mutations/mutations.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update character_attire.cpp

* Update holster.json

* Update item_factory.cpp

* Update holster.json

* Update nested.json

* Update storage.json

* Update nested.json

* Update holster.json

* Update holster.json

* Update gear.json

* Update gunstore.json

* Update military.json

* Update clothing.json

* Update locations.json

* Update item_factory.cpp

* Update item_factory.cpp

* Update holster.json

* Update storage.json

* Update sheath.json

* Update storage.json

* Update holster.json

* Update storage.json

* Update storage.json

* Update storage.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update nested.json

* Update holster.json

* Update boots.json

* Update legs_armor.json

* Update consumption.cpp

* Update consumption.cpp

* Update character_attire.cpp

* Update sheath.json

* Update suits_protection.json

* Update legs.json

* Update holster.json

* Update holster.json

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

* Update src/consumption.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Ferride <78005870+Ferride@users.noreply.github.com>
Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-06-29 00:42:24 -04:00
Perry Fraser eee86cbaa6 fix: call set_language even when LOCALIZE is off (#66460)
This was causing a frankly hilarious bug that would cause Name::get to return
"Tom" no matter what search flags were passed whenever localization was
disabled. This meant that EVERYTHING was Tom. Have you been to Tom Town yet? No?
That's because it's also called Tom Tom. Can't remember that person's name? It's
Tom. Their last name? Also Tom. Committing some identity theft but stuck on
"Mother's maiden name"? I'll give you a hint: it's Tom.

This commit should fix this disastrous issue by making sure set_language, which
is what loads the names file initially, gets called even when localization is
disabled.
2023-06-29 00:03:05 -04:00
Rewryte d678fe6012 Fix and re-enable 3D map memory (#66505)
* 3d cached

* remove safeguards

* limit cache to view range

additional safeguards prevent segmentation fault when switching from legacy to 3d draw mode

* comment and astyle

* clang tidy

* fix tests
2023-06-28 23:45:47 -04:00
Kevin Granade 37c1f71475 Routine tileset updates on 25 June 2023 (#66461)
* Routine tileset updates on 25 June 2023

* Update gfx/ASCII_Overmap/tile_config.json

* Update gfx/ASCII_Overmap/tile_config.json

---------

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-28 23:43:59 -04:00
Dillon Matchett 530fa4bc1e Autostyle on save for VSC (#66446)
* Documentation + Configuration

* Update .vscode/settings.json

Co-authored-by: Alexey <irwiss@users.noreply.github.com>

* Doing Irwiss thing instead

Co-Authored-By: Alexey <irwiss@users.noreply.github.com>

---------

Co-authored-by: Alexey <irwiss@users.noreply.github.com>
2023-06-28 23:30:56 -04:00
David Seguin 5ad00bd038 Merge pull request #66450 from irwiss/vpart-factory-checks
Add more generic_factory checks to vpart_info loader
2023-06-28 23:29:50 -04:00
SurFlurer 9176ffb7eb Move emitter processing to idle() (#66504)
Co-authored-by: irwiss <irwiss@users.noreply.github.com>
2023-06-28 23:14:40 -04:00
SurFlurer 3ac8e71b39 Add fuel efficiency data to generator ups items (#66509) 2023-06-28 22:58:04 -04:00
Alexey 8699d06f6b No debug_mode when npc starts looping (#66516) 2023-06-28 22:57:13 -04:00
Binrui Dong 9a44ac7560 Fix conflicting BSD macro on macOS (#66513) 2023-06-28 22:56:22 -04:00
Maleclypse bf8e3bb43e Merge pull request #66514 from anoobindisguise/patch-26
make welding practice less resource intensive
2023-06-28 19:02:27 -05:00
Procyonae d6e2d61ed0 Better special placement and road connections (#66463)
* Removes city building roads

These roads can spawn the wrong way round facing buildings bc there's no way to control rotation/connections and if there was a way they'd be redundant anyway.

* Gives the Rest_Area proper road connections

Also adds a bike rack furniture bc I needed the corner to look less weird

* Improves State Park 's road connection

Connects road, removes SIDEWALK, lines terrain up better

* Fire Lookout Tower moved to trail

Flipped map so it faces north
Made it spawn on existing trail using forest_trail_intersection to make a nicer connection using a nest (connecting it with regular trail worked but "from": didn't make the extra connection weirdly)
Renamed trail_intersection forest_trail_intersection and changed it's OMT to a more appropriate O

* Reverses test occurences

* Wind turbines spawn in 3s near road

Can't think of a good way to slightly displace each one in a line neatly without z-level nests or 3 copies of the map so they're in a very boring grid straight line
Claimed the corners to prevent silly spawns, could claim the whole outside but that seems fairly unnecessary
Upped occurrences to account for more difficult spawn condition, may need tweaking

* Gun shows spawn near roads in fields and can rotate

Changed OMT symbol to a G so the rotation makes sense

* Campsites spawn in sensible places

Regular campsites spawn adjacent to trails
Survivor field campsite spawns in field

* Removes lumbermill sidewalk, occupied GLOBALLY_UNIQUE

* junkyard meh road connection

Removed SIDEWALK
Added from connection
Slightly tweaked terrain but can't make it look good with minor changes

* Corrects hotel tower coords

* Adds looks like to bike rack

* Rotates Public_Works so it faces north

Hopefully I didn't mess up any coords, it looks fine from a little testing tho

* Removes malls extra road

Missed it before, same issue as the others

* Replaces road_end with from

* Adds flags to the TCL

* Fixes prison OMs

* Adds a version of s_lot without SIDEWALK

Applies it to all specials using s_lot
Changes mine road connections

* Removes mansion's SIDEWALK

They could do with proper parking though

* Lint

* Fixes lumbermill ocu occurrences

* Adds migration for trail_intersection

* Restores but renames mansion abstracts to work with OM mods

* Restores but renames mansion abstracts to work with OM mods

* Saw kevin has a open PR dealing with making things GLOBALLY_UNIQUE so removed them

Removed "LAB" from TCL to see if it fixes the test fail
2023-06-28 19:01:49 -05:00
Procyonae d0008889eb Fixes typos and adds more talk tag lines (#66501)
* Fixes typos and adds more <acknowledged> lines

* Attack text punctuation/minor grammer improvements and some spirals (nothing to see here)

* Update data/json/npcs/portal_storm/Portal_NPC.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

* Update data/json/npcs/talk_tags.json

* Update mutations.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-28 18:09:58 -05:00
DoctorBoomstick 08753fe124 Pantsaclysm, Trouser Variants Ahead. (#66484)
* Adds the stuff.

* bug fix.

* Update data/json/items/armor/boots.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Makes pants that’s made from cotton actually sound like it’s made from cotton rather than defying the laws of material properties.

* last tweeks, adds colours to all the pants and removes the flag pants.

* fixes bug.

* retrigger checks

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-28 18:55:31 -03:00
Maleclypse 9b17ade5bf Merge pull request #66507 from PatrikLundell/fbmc_lightindustry_palettization
light industries palettization
2023-06-28 14:38:24 -05:00
anoobindisguise 3360bef984 Merge branch 'CleverRaven:master' into patch-25 2023-06-28 11:27:25 -07:00
anoobindisguise d57700dedb make welding practice less resource intensive 2023-06-28 09:37:57 -07:00
Paprika-H 5ed96718d1 Add double holsters (#66498)
* Update holster.json

* Update nested.json

* Update storage.json

* Update data/json/recipes/armor/storage.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/nested.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/holster.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update holster.json

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-28 10:00:47 -05:00
ZigVert b6c07b6384 adds some new possible nightmares (#66503)
* Update nightmares.json

* Update data/json/snippets/nightmares.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/snippets/nightmares.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-28 09:58:45 -05:00
Numbuh474 7fa704b74f Lock vehicle doors (#61087)
* Reproduce lock-vehicle-doors changes without the infinite files changed issue.

* Fix typos, copy paste errors, and linting.

* Astyle. Fix typos, copy paste errors, and linting.

* Make sure the selected lockpick location is actually locked.

* Astyle

* Add missing avoid locks true_text and false_text.

* Add check to prevent removal of lock (and door) while locked.

* Astyle

* Remove unused variable and replace instances of cata::optional.

* Remove unused variable and replace instances of cata::optional. Fix logic on vehicle::damage.

* Remove unused variable.

* Fixes

* Update vehicle_parts.json

* Update doors.json

* Update vehicle_parts.json

* Update vans_busses.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-28 09:56:22 -05:00
MorvarchPrincess df99f38850 Adding ranged damage enchantment and Old guns perk to bombastic perks (#66407)
* Add ranged damage enchant

* Adding perk config for the old guns perk

* Add perk to perk menu

* Fix one more merge issue

* Add old guns file. Add original antique colt SAA

* Remove old gun tag from main game

* Remove old colt SAA, fix json isues

* Add comma back

* Update data/mods/BombasticPerks/perkdata/old_guns.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/ranged.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/ranged.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* lint fixes

* Trying to switch to LF

* Removing whitespace

* Proper lint

* Fix some build issues

* Issues fixed, merged

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-06-28 09:29:35 -03:00
PatrikLundell e0548a8b9e light industries palettization 2023-06-28 12:55:24 +02:00
irwiss 4840a2525e Make vpart_info store time_durations 2023-06-28 11:18:45 +03:00
irwiss fabc84280b Add strict checking on most vpart_info fields 2023-06-28 11:18:45 +03:00
irwiss 5489c543b6 Remove ROTOR_SIMPLE flag 2023-06-28 11:18:45 +03:00
irwiss 3002351a6a Trim vpart_info::load_* functions 2023-06-28 11:18:45 +03:00
irwiss 696fdb1494 Move flag comments to json 2023-06-28 11:18:45 +03:00
Angela Graves b805ca2f35 Merge pull request #66493 from anoobindisguise/patch-24
remove fine screwdriving from multitool
2023-06-28 01:50:21 -05:00
RenechCDDA 30f23ec0a2 Add missing mutagen types to mutagen item groups (#66485)
* Add missing mutagens to mutagen item groups

* Add comments to account for future content
2023-06-27 21:40:14 -05:00
Anton Simakov eddf858866 [Xedra Evolved] Maintaining (#66456)
* dream armor is comfort now, and not varsize

* fix some dreamsmith weapon descriptions

* Remove artifact reference from mad genius mutation, add to dreamer one

* Fix space issues

* Fix lizard tail doesn't learn devil tail spell

* Further decreasing of inventor sparks, because it's still super slow
2023-06-27 20:21:33 -05:00
PatrikLundell 46456916f5 palettized fbmc fire lookout tower (#66495)
* palettized fbmc fire lookout tower

* JSON lint

* JSON lint
2023-06-27 20:20:24 -05:00
anoobindisguise 6d5bcf8de6 test fixes for ranged balance (#66413)
* test fixes for ranged balanced

* Update ranged_balance_test.cpp
2023-06-27 18:10:27 -05:00
Kevin Granade a00e1fd88f Weekly Changelog 2023-06-19 to 2023-06-26 (#66464)
* Weekly Changelog 2023-06-19 to 2023-06-26

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-27 18:09:50 -05:00
Maleclypse b645520e50 Merge pull request #66490 from RenechCDDA/bookstore_urns
Move mansion bookcase memorial items out of the mansion_books item group
2023-06-27 17:55:43 -05:00
PatrikLundell 8daffcdf62 storehouse 1 palettization (#66447)
* storehouse 1 palettization

* Update data/json/mapgen/basecamps/expansion/modular_storehouse/version_1/modular_storehouse_common.json

* Update data/json/mapgen/basecamps/expansion/modular_storehouse/version_1/modular_storehouse_common.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-27 17:52:43 -05:00
anoobindisguise bdcc22569a Update mutations.json 2023-06-27 12:17:11 -07:00
anoobindisguise 7433ed4a27 Readd Glorious to Elf-A 2023-06-27 11:23:35 -07:00
anoobindisguise f035f71193 remove fine screwdriving from multitool 2023-06-27 09:30:47 -07:00
Light-Wave 83a92bd171 [Magiclysm] Fixes runes' duration (#66472)
* Fixes spell levels

* retrigger checks

* retrigger checks

* retrigger checks

* retrigger checks
2023-06-27 12:50:41 -03:00
Dillon Matchett b26f5526be Migrate lore docs to dev documentation (#66476) 2023-06-27 08:28:13 -07:00
anoobindisguise 434f752c78 No cities = no roads (#66487) 2023-06-27 11:02:03 -03:00
DoctorBoomstick 6d6c3a255d Adds barrel-length entries to firearm conversion kits. (#65915)
* adds the barrel lengths to the mods.

* Update data/json/items/gunmod/conversions.json

* Refactors MDRX conversion kit volumes to bring them in line with the numbers already put down. Couldn’t find any statistics that could lead to a more real-world faithful representation, so the numbers were all factored using ratios.

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-27 10:42:07 -03:00
RenechCDDA 18baed09bb Move mansion bookcase memorial items out of the mansion_books item group 2023-06-27 05:31:23 -04:00
Angela Graves 04770e3d51 Merge pull request #66481 from akrieger/fix_legacy_arches
Fix inverted visitied member conditional for large Json objects.
2023-06-27 01:24:14 -05:00
Andrew Krieger 7fe24151ea Fix inverted visitied member conditional for large Json objects. 2023-06-26 12:10:29 -07:00
anoobindisguise f13d34ade8 Functionality for armor draining energy when taking damage (#66374)
* Flag to use charges when hit

* use power when hit

* use power when hit flag

* Update flag.cpp

* Update flag.h

* Update tool_armor.json

* Update character_armor.cpp

* Update character_armor.cpp

* Update character_armor.cpp

* handle running out of energy

* Update src/character_armor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character_armor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-26 12:06:18 -03:00
Procyonae b9ee35e1db More distribution options and bounds for mutable maps max field (#66282)
* Json test map

* Copy and pasted some code

* Actually bothered looking how it works

* Made up more code

I'll probably try to pull the distribution member out as a member of mutable_overmap_placement_rule instead, need to figure out how to change to value depending on the bounds bc I think it's a pointer rn

* Still no idea what I'm doing

I'll work out how to do the bounds in the right scope eventually

* Temp

* Revert "Temp"

This reverts commit 63dc1e6b0a.

* Maybe getting somewhere?

* Actually compiles :D

* Updating the json test map

* Error for multiple distributions

* Bot go brrr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Bot missed something the first time somehow idk

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Removes test map

* Documentation

* Include climits for INT_MAX

* A picture is worth 1000 words, shame I'm stuck with words :c

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-26 12:04:42 -03:00
Dillon Matchett 189f4ee25c Update the MOTD (#66474) 2023-06-26 10:55:57 -04:00
Maleclypse 81a5897df5 Merge pull request #66425 from PatrikLundell/livestock_1_palettization
palettize livestock 1
2023-06-26 03:43:31 -05:00
Cobweb 0ea0f736c3 Fix for #66466 (#66468)
Clears up the error and restores the entry to the menu.
2023-06-26 03:11:56 -04:00
akrieger f8f5c8aa9e Pre-strip comment members before deciding whether to create TextJson (#66438) 2023-06-26 03:10:12 -04:00
casswedson 1f6fef3262 fix: UPS transform target (#66455)
fix an id so ups don't do an irreversible transformation
also take care of some old id references

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-26 03:08:11 -04:00
Angela Graves 4ad39d3cd2 Merge pull request #66465 from Paprika-H/firebrickforge
Add firebricks to electric forge
2023-06-26 01:46:22 -05:00
Paprika-H 3aa572cf1a Update recipe_others.json 2023-06-25 20:57:57 -06:00
randomtyper 2b4083d251 Megafauna quickfix (#66445)
* Update mf_predators.json

* Update wilderness.json

* Update mf_predators.json

* Update mf_predators.json

* Thanks, Venera, but this threw a wrench into my plan for relly quick fix

* Dammit
2023-06-25 19:39:07 -05:00
Maleclypse 00a54988c6 Merge pull request #66352 from RenechCDDA/tree_ash
Burning down forests for fun and profit (and wood ash)
2023-06-25 10:23:31 -05:00
Procyonae 8ee94d968a Motel TWD parameterisation and roofs (#66386)
* Initial Commit bc I've stashed a million times

* Need to rebase for nest

* First proper commit

* Misc changes

* Added overrun furniture, vehicle spawns, not overrun spawns

* Second Pass

* Fixes

Makes zeds spawn correctly in overrun version
Removes array from f1 case nests bc it doesn't seem to be supported
Changes half walls back to full walls and adds barbed wire 'roofs' bc you can see and move through half walls
Corrects map items spawn location

* Tweaks and migration

Adds migration for renamed id
Makes trash spawn chance 100% rather than 1% in dumpsters
Removes half the bible/phone book spawns so it's just one set per room
Removes the internal chair and trashcan in overrun variant
Adds a couple of potential outside spawns on the regular variant
Replaces dresser item group with the more appropriate traveller item group
Fixes forest trash location

* Changes overrun parameter to a bool bc it's an unused feature

* Fixes downspout placement

* Reworks road connection

Removes SIDEWALK, adjusts terrain on border, makes it spawn on existing roads
Also fixes too many arrows spawning/no bolts with crossbow
2023-06-25 10:22:19 -05:00
Angela Graves 1b983260a7 Merge pull request #66412 from anoobindisguise/anoobindisguise-hk_usc45spawns
add hk_usc45 to rare display guns group
2023-06-25 00:19:21 -05:00
Venera3 0bdd97d252 Grab fixes and drag overhaul (#65774) 2023-06-24 22:11:21 -07:00
Bence e444689c4d New location: speedway (#66402)
* speedway

* another commit

* oops
2023-06-24 23:44:44 -04:00
casswedson f92c7e8063 fix: dirt floors inside doctor's office (#66437)
noticed some dirt tiles under those chair vechicles, add terrain
definitions for symbol - fixfixfix

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-24 23:42:30 -04:00
Ashes 446a5dd73c Made Slingshot more Tacticool
Since the wrist rocket has a wrist brace, but isn't craftable, I wanted the one you can craft to have an optional wrist bract, too. I added it through the replacement stock mount and the tail hook stock. It improves the slingshot, but even with the laser sight it's still weaker than the wrist rocket in every regard.
2023-06-24 23:30:38 -04:00
Perry Fraser 9404d56703 Improve CMake behavior on Unix and macOS (#66369)
* Improve CMake behavior on Unix and macOS

* Make USE_PREFIX_DATA_DIR on by default on unix

* Create LC_MESSAGES dir for CMake's lang/mo targets

I'm not sure when exactly this became a problem, but msgfmt expects its output
directory to exist, which includes LC_MESSAGES and CMake wasn't doing that. This
should also correct a CI failure for CMake.

My guess is this issue went unnoticed for a bit since if the LC_MESSAGES
directory was previously created (e.g., by running lang/update_pot.sh) it tends
to stay around until you do a fresh clone of the repo.
2023-06-24 21:48:15 -04:00
anoobindisguise 19333701f4 Easy deconstruct floor mattress (#66436)
* Easy deconstruct floor mattress

* Update data/json/furniture_and_terrain/furniture-sleep.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-24 21:46:33 -04:00
Alexey 85a6ae02b2 JSON formatter html build (#66414) 2023-06-24 21:44:28 -04:00
Andrey Andreyevich Bienkowski 7b0ca53e1e Delete optional_test.cpp (#66421)
This used to be a test for cata::optional, but now it pointlessly tests std::optional. I am sure we can assume that the standard library has its own test suite. Ref:  #64333
2023-06-24 21:42:45 -04:00
Andrey Andreyevich Bienkowski a0ee81f13c Remove redundant read (#66430)
`underwater` is a member of Creature. Creature::load already reads it. Character::load calls Creature::load. No need to read it again.
2023-06-24 21:41:07 -04:00
anoobindisguise 777e921954 fix mistakes (#66417) 2023-06-24 22:35:04 -03:00
Kevin Granade 46b2b05bdb Update the table of contents (#66406)
Co-authored-by: dseguin <dseguin@users.noreply.github.com>
2023-06-24 22:34:09 -03:00
ZigVert d505f22d68 recruiting static NPCs makes them lose their static traits (#66397)
* added player_display

* addeded npc_lose_trait to talk_agree_follow

* revert changes to mutations.json

* thats a bug. THATS A BUG, THAT IS A BUG.
2023-06-24 14:15:13 -05:00
PatrikLundell f1f66e98a8 palettize livestock 1 2023-06-24 13:10:12 +02:00
Angela Graves 87764273a7 Merge pull request #66420 from CleverRaven/i18n
Routine i18n updates on 24 June 2023
2023-06-24 00:13:39 -05:00
kevingranade d534c1c9bf Routine i18n updates on 24 June 2023 2023-06-24 02:18:41 +00:00
Maleclypse 720adec379 Merge pull request #66403 from PatrikLundell/canteen_1_palettization
palettized canteen 1
2023-06-23 15:01:49 -05:00
anoobindisguise bdd37755a9 add hk_usc45 to rare display guns group 2023-06-23 12:58:51 -07:00
Procyonae e9fc0c0fa3 Gutter Unify Tool Part 5 (#66401)
* Ran the tool

* Minor unrelated changes

* Runs over data/json/obsoletion/

* Removes the now unused definitions
2023-06-23 12:28:40 -05:00
David Seguin c9664dc21f Merge pull request #66295 from irwiss/vpart_info-generic_factory
Use generic_factory for vpart_info
2023-06-23 12:23:10 -04:00
Dillon Matchett a26aa39c11 Docs Fixes (#66345)
* docs first batch

* Updates for visuals
2023-06-23 12:21:55 -04:00
Kevin Granade 1fc71037c2 Merge pull request #66404 from bombasticSlacks/codeowners-fix
remove int-ua
2023-06-23 08:03:59 -07:00
Alexey 7070a097dc Clear memory map on furn/trap removal (#66399) 2023-06-23 11:59:20 -03:00
Dillon Matchett ce98c5c431 Melee EOCs (#66288)
* Melee work

* CLANG + test fixes

* missing brace

* Update src/condition.cpp

Co-authored-by: David Seguin <davidseguin@live.ca>

* Update src/condition.cpp

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
2023-06-23 10:46:13 -04:00
Rewryte 6ce851fd71 3D vision for isometric tilesets (#66383)
* enable iso

* reimplement height_3d

* store zlevel_height in json

* scaling fallback fog intensity

* height_3d for fields and indicators

* disable 3d memory for now

memorized tile gets drawn on the wrong z-level

* astyle

* disable fog for legacy iso

* Update compose.py

* lint py

* tweak ultica height

measured from t_wall sprite

* update fog calculations

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-23 11:21:52 -03:00
anoobindisguise 619f62b5ee Add the Hi-Point 3895, a .380 ACP PCC (#66373)
* add the hpt3895

* add 3895 mag

* spawns for hp3895mag

* nested_hpt3895

* add spawns for hpt3895

* Hi Point -> Hi-Point

* remove a comma

* Update data/json/items/gun/380.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes

* desgined->designed

* migration

* migration

* _10rd

* Update data/json/items/gun/380.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* remove CF from name

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-23 11:14:30 -03:00
John Candlebury 1eea8b2fa7 Add a doctor/autodoc to the Ancilla bar (#66377)
* Add a doctor to the Ancilla bar

* Spacing
2023-06-23 10:13:20 -03:00
Fris0uman 04b2ec698e Fix dodge training (#66392)
Co-authored-by: Fris0uman <sthapplz@gmail.com>
2023-06-23 10:12:17 -03:00
bombasticSlacks 6a63888106 remove int-ua 2023-06-23 10:03:03 -03:00
anoobindisguise 1787d4fd2b adjust/fix cunning feral drops (#66303)
* adjust/fix cunning feral drops

* adjust stats

* Update data/json/monsterdrops/feral_humans.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* reduce incidence of bonus loot

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-23 09:52:44 -03:00
anoobindisguise f2d9712814 Rebalance leather jackets and some other leather gear (#66389)
* pass over leather stuff and trenchcoats

* Update data/json/items/armor/coats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/coats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* astyle

* adjust json data for modded jackets/gear

* copy-from

* recipes

* weights

* Fixes

* weights

* leather police jacket spawns

* leather police jacket spawns

* leather police jacket variants

* leather police jacket variants

* leather police jacket variants

* variant weighting

* fixes

* equestrian

* Update data/json/monsterdrops/zombie_cop.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Clothing_Gear/clothing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* touring suit weight and prot up

* equestrians

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-23 09:52:18 -03:00
anoobindisguise b36311ddbf Guns need more skill, performing much worse at low skills (#66347)
* increase penalties to dispersion at low skills.

* make skill effect on base_aim_speed_cap frontloaded

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* make aiming a combo of limb scores

* Low marksman skill makes it harder to reorient your aim

* add a final divisor to aim speed based on skill

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* attempt #1 to fix this test

* test fix

* more test fixes

* more fixes

* Update ranged_balance_test.cpp

* Update ranged_balance_test.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-23 09:46:37 -03:00
andrei 4cab2427f2 item: add auto whitelists to spawned containers (#66260)
* mapgen: mark spawned items as active on the main map too

* item: add auto whitelists to spawned containers
2023-06-23 09:44:07 -03:00
PatrikLundell d66f869434 palettized canteen 1 2023-06-23 13:34:49 +02:00
irwiss d1883de071 Prune vpart_info::get_id() 2023-06-23 08:37:02 +03:00
irwiss 3047ff98f0 Prune vpart_info::all() 2023-06-23 08:37:02 +03:00
irwiss cf294e5e5a Remove redundant looks_like entries from json 2023-06-23 08:35:18 +03:00
irwiss 4697b98c69 Use custom inheritance handler for vpart_info::looks_like 2023-06-23 08:35:18 +03:00
irwiss 63680c5b11 Custom inheritance handler for generic_factory 2023-06-23 08:35:18 +03:00
irwiss b4ba2510b0 Use generic_factory for vpart_info 2023-06-23 08:35:18 +03:00
Angela Graves 3da11dba48 Merge pull request #66351 from Karol1223/evil-robots
Disable the Bionic Professions mod by default
2023-06-23 00:11:10 -05:00
Bence 6e134a1325 Will this fix the mutable? The answer may surprise you! (#66312)
* the thing

* no tee

* lint
2023-06-23 00:18:46 -04:00
Dillon Matchett 338f911be6 Try This (#66382) 2023-06-23 00:11:56 -04:00
Alexey af7b369cd7 Allow TOW_CABLEs on harnesses/protrusions (#66385) 2023-06-23 00:11:41 -04:00
Valentin a5ff7d78d9 setup catalytic cracking reactor as appliance (#64830)
* setup appliance, and move tool into a fake

* linting

* relint

* add construction recipies

* * disconnected -> disassembled
* new guess at powerdraw
* removed reference to appliance from appliance

* lint data/json/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* correcting item and furniture names. Ought to be final touches.

* Lint.

* Apply suggestions from code review

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>

* Update data/json/furniture_and_terrain/appliances.json

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>
2023-06-22 21:40:52 -05:00
Procyonae c03d64f3a4 Gutter Unify Tool Part 4 (#66395)
* Run the tool

* Unrelated changes/fixes
2023-06-22 21:03:45 -05:00
Kevin Granade 5ef2204dcc Merge pull request #66299 from CleverRaven/changelog-weekly-2023-06-19
Weekly Changelog 2023-06-12 to 2023-06-19
2023-06-22 15:00:35 -07:00
Perry Fraser 1a121e70c5 Minor bird description tweaks (#66368)
* pedantry: "A Canadian goose" to "A Canada goose"

* pedantry: only mention ruby-throated hummingbirds

Change the description for a generic hummingbird to just mention ruby-throated
hummingbirds instead of saying it may be another species.

There are rare, rare, rare sightings of a Rufous hummingbird in New England but
for gameplay purposes this is basically never, meaning any hummingbird seen is ruby-throated.

* fixup! pedantry: only mention ruby-throated hummingbirds
2023-06-22 17:33:01 -04:00
andrei d17d9b2fe8 main: fix cmdline parsing (#66359) 2023-06-22 17:31:54 -04:00
Procyonae 75fbb0d8d2 Gutter Unify Tool Part 3 (#66328)
* Ran the tool

* Minor unrelated changes
2023-06-22 14:21:16 -05:00
Maleclypse 78719412c5 Merge pull request #66381 from PatrikLundell/garage_2_palettization
garange 2 palettization
2023-06-22 14:18:56 -05:00
Maleclypse 938d39a086 Whitelist Deserter Bandit camp from overmap_test.cpp (#66320)
* Whitelist Deserter Bandit camp

* Update overmap_test.cpp

* Fix ordering

* Update overmap_test.cpp

* Update overmap_test.cpp
2023-06-22 08:32:25 -03:00
Karol1223 fb56b938d6 cleanup (#66378) 2023-06-22 08:29:11 -03:00
PatrikLundell 3cbc236a88 garange 2 palettization 2023-06-22 13:16:03 +02:00
ZigVert d9b1c7041b [Aftershock] recipe for processed lichen fix (#66372) 2023-06-21 23:28:55 -06:00
Angela Graves 35de26ce33 Merge pull request #66356 from Procyonae/SingularTypo
Single Typo
2023-06-22 00:10:31 -05:00
Maleclypse abf276ae1d Merge pull request #66355 from Procyonae/RestAreaTableFloor
Very minor Rest_Area floor under table fix
2023-06-21 22:30:10 -05:00
waxcatape 3b2e3d064e Add wall light recipe (#66362)
* Add wall light recipe

* Fixed a few errors
2023-06-21 20:27:53 -05:00
randomtyper a45d273339 Drybags (#66262)
* Add 30L dry bag and 60L dry duffel bag

* Update storage.json

* Survivor drybag initial stats.

* Update tool_armor.json

* Balance touch

* Large dry bag

* Balance touch

* Update storage.json

* Crafting recipes

* Update storage.json

* Update custom_storage.json

* Update tool_armor.json

* Update storage.json

* Update storage.json

* Update storage.json

* Update custom_storage.json

* Update storage.json

* Update locations.json

* Update containers.json

* Update containers.json

* Update collections_domestic.json

* Update locations.json

* Update activities_hobbies.json

* Update activities_hobbies.json

* Update clothing.json

* Update clothing.json

* Update clothing.json

* Update gear.json

* Update NC_JUNK_SHOPKEEP.json

* Update NPC_Smokes.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update custom_storage.json

* Update custom_storage.json

* Update storage.json

* Update containers.json

* Update storage.json

* Update dictionary.txt

* Bumped up crafting requirements

* Same for the normal dry bag

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-21 20:25:47 -05:00
Maleclypse fdfd598755 Merge pull request #66353 from PatrikLundell/workshop_2_palettization
workshop 2 palettization
2023-06-21 16:49:31 -05:00
Dillon Matchett a319d9566b Fix Mutation issues with process (#66364) 2023-06-21 15:56:28 -04:00
Dillon Matchett ef3187dc80 Added power consumption for generator UPS (#66348)
* Added power consumption for generator UPS

* Missed This Line

* Min 1 charge always
2023-06-21 15:56:14 -04:00
Karol1223 8ad9f72aef Update data/mods/package_bionic_professions/modinfo.json
Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
2023-06-21 19:42:02 +02:00
SurFlurer 3f63919b76 Revert "Use unordered_set to deduplicate active items (#66310)" (#66360)
This reverts commit 49b2acbda6.
2023-06-21 12:25:55 -04:00
Procyonae 6fd12df259 Update data/json/npcs/refugee_center/surface_visitors/NPC_hunter.json 2023-06-21 15:03:25 +01:00
Dillon Matchett b3e4a9c90f embed context vars (#66321)
* embed context vars

* linting

* Additional stuff

* unit test
2023-06-21 07:48:43 -05:00
waxcatape e01c8daf2c Add a recipe for disconnected standing directed floodlight (#66346) 2023-06-21 09:35:01 -03:00
anoobindisguise 7ef1c785c9 Adjust blackpowder fouling mechanics and other fault_fix QoL (#66341)
* Add an "EASY_CLEAN" flag

* add two new fields

* add two new fields

* prof_gun_cleaning

* split clean normal and bp again

* clean bp fouling differently

* quick clean bp fouling

* stopgap blackpowder rusting

* Update fixes_gun.json

* time

* Update src/fault.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update fixes_gun.json

* blackpowder makes casings filthy

* adjust final time based on possession of flags and profs

* train profs that are relevant

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update ranged.cpp

* Update fault.cpp

* Update activity_handlers.cpp

* Update character.cpp

* Update character.cpp

* Update item.cpp

* Update item.cpp

* Update ranged.cpp

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update ranged.cpp

* Update ranged.cpp

* Update ranged.cpp

* Update ranged.cpp

* Update ranged.cpp

* Update toolsets.json

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* explain why it's not EASY_CLEAN

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* Update ranged.cpp

* Update ranged.cpp

* Update ranged.cpp

* Update ranged.cpp

* change EASY_CLEAN flagging

* change EASY_CLEAN flagging

* change EASY_CLEAN flagging

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* ad

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* add EASY_CLEAN flags

* Update 300.json

* Update 303.json

* Update 44.json

* distribute "prof_gun_cleaning"

* distribute "prof_gun_cleaning"

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* redo the way fouling rusts

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update activity_handlers.cpp

* Update character.cpp

* Update item.cpp

* double rusting timescale

* fix some oopsies

* Update data/json/faults/fixes_gun.json

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* remove unneeded "quick" requirement

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-21 09:34:35 -03:00
anoobindisguise 1dd7c04be8 re-reduce zombie survivor drops (#66323)
* re-reduce zombie survivor drops

* outright remove non holstered guns
2023-06-21 09:32:13 -03:00
anoobindisguise df4108a51b alter/dilute everyday carry drops (#66322)
* alter/dilute everyday carry drops

* Update data/json/monsterdrops/zombie_default.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* outright remove non holstered guns

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-21 09:31:52 -03:00
Procyonae 71cf837c11 Noone gets easy purp name on my watch :^) 2023-06-21 10:57:47 +01:00
Procyonae e89dd2c96c Very minor Rest_Area floor under table fix 2023-06-21 10:47:36 +01:00
RenechCDDA 0201847a4d Update flammable terrain to properly leave ash in all circumstances
Delete furniture before setting destroyed(by fire) terrain
2023-06-21 05:13:19 -04:00
PatrikLundell 8598146e9a workshop 2 palettization 2023-06-21 10:48:50 +02:00
Karol1223 9a909d6284 no more 2023-06-21 10:38:14 +02:00
Angela Graves 05fe4bd44c Merge pull request #66343 from Drew4484/More-Lore
Additional Factions to Lore.md
2023-06-21 00:15:15 -05:00
Maleclypse cbf5442391 Apply suggestions from code review
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-06-20 23:20:14 -05:00
SurFlurer 49b2acbda6 Use unordered_set to deduplicate active items (#66310)
* index active items using unordered_set

* Add invalidation of the index cache

* Fix include

* clear the index when invalidated

* rearrange

* Comment updates

* andrei's patch: use safe_reference instead of bare pointers

Co-authored-by:  andrei8l <andrei8l@users.noreply.github.com>

* Remove remove() dead code

* Try to satisfy clang-tidy

* Make it build

---------

Co-authored-by: andrei8l <andrei8l@users.noreply.github.com>
2023-06-20 23:17:30 -04:00
David Seguin 8be4ed70a7 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-20 23:11:09 -04:00
SurFlurer 8aca017322 verify the oter id when updating (#66217) 2023-06-20 23:01:10 -04:00
Alexey 8f13236a08 Better diagnostics for overmap_terrain_coverage test (#66306) 2023-06-20 22:51:31 -04:00
Jianxiang Wang (王健翔) 6a01ce0733 Fix clang-tidy tests on Windows (#66315)
* Allow setting clang-tidy path for check-check_clang_tidy.py and fix doc string

* Fix clang-tidy test errors on Windows

* Suppress -Wredundant-decls for deliberate redeclaration

* Suppress clang-tidy warnings for gettext deprecation
2023-06-20 22:47:12 -04:00
waxcatape ef320da977 implement wall-mounted appliances, abstract wiring (#66316)
* implement wall-mounted appliances, abstract wiring

* remove unused vars in construction.cpp

---------

Co-authored-by: waxcatape <waxcatape@waxydude.xyz>
2023-06-20 22:43:46 -04:00
Dillon Matchett 652accb39e Code, Tests, Docs (#66270) 2023-06-20 22:41:26 -04:00
Alexey 654e02b61c Fix map memory clearing without vision on tile (#66327) 2023-06-20 22:39:19 -04:00
David Seguin b38af21d89 Merge pull request #66330 from irwiss/disentangle-veh-init_state
Refactor vehicle constructors, init_state, map::add_vehicle
2023-06-20 22:36:37 -04:00
Jianxiang Wang (王健翔) 249579b41e Fix NPC putting items in open air when fetching items during an activity (#66337) 2023-06-20 22:33:06 -04:00
Aerin ec199e7f57 Remove BLADED_FARMING. Replace with SHORT_SWORDS where applicable. (#66338) 2023-06-20 22:32:31 -04:00
John Candlebury 412cb1f0b6 Hound afterimages also copy nicknames (#66339) 2023-06-20 22:31:31 -04:00
Drew4484 cfa64e6af9 Update doc/LORE.md
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-20 18:55:17 -07:00
Anton Simakov aff0985056 [Xedra Evolved] Another batch of random stuff (#66289)
* fix mad damage amount when the game tries to add flat MELEE_DAMAGE enchantment

* apply new welding standards from #64868

* bio warhead has bigger damage and AoE now

* you can link up inventor tools now

* add xedra laptop snippets

* add visibility to karma arms

* fix some weird limb and item interactions

* add xedra_laptop to xedra office location

* fix some effect descriptions

* Two new spells for dreamer - Stalker's Oculars and Devil's Tail

* fix me using wrong escape character for color code

* spelling

* Apply suggestions from code review

Leaving the text message typos for Guardian to decide

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Fixing local file spaces

* Fix dreamforged items gives boosts when held insteand of worn/wield

* Fixing space problem with snippets

* Replace inproper spaces with proper

I curse you, QuillBot

* and again

* and again

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-20 20:26:24 -05:00
Drew4484 b8d26a0b05 Update LORE.md
Add Maleclypse as owner for Nether
2023-06-20 14:35:25 -07:00
Drew4484 7506e67eb8 Update LORE.md 2023-06-20 13:40:11 -07:00
Drew4484 c5df27e609 Add additional factions 2023-06-20 13:23:44 -07:00
Deep Velocity de20ef895e Merge branch 'CleverRaven:master' into master 2023-06-20 16:13:12 -04:00
Rewryte fef7122015 Fix large sprites not displaying correctly (#66332)
* add var to tile_render_info

* tile per layer

* reorder draw_min_z

* add row data to draw_points

* fix legacy draw

* comment and astyle

* apply review suggestions

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-20 12:41:03 -03:00
Jianxiang Wang (王健翔) d756a6a8ae Exclude tools/spell_checker/dictionary.txt from auto-request-review config (#66335)
* Exclude tools/spell_checker from auto-request-review config

* Only exclude dictionary.txt
2023-06-20 12:34:27 -03:00
SurFlurer dfdd9b4e34 Various perf improvements (#66333)
* Reserve vector size when deserializing vparts

* Move the fake part instead to avoid copying overhead

* Early exit when there's definitely nothing to butcher

* Clang-tidy
2023-06-20 12:33:49 -03:00
Angela Graves 20cf1efba1 Merge pull request #66329 from Maeyanie/patch-2
Typo fix
2023-06-20 10:32:59 -05:00
irwiss 1691c80848 Prune faction and may_spawn_locked args 2023-06-20 17:24:22 +03:00
irwiss d7f5dcb3d2 Disentangle mapgen and vehicle constructor 2023-06-20 17:24:04 +03:00
irwiss 89a0bd509d Prune legacy stuff 2023-06-20 11:03:43 +03:00
irwiss 23b716288f Prune point add_vehicle overload 2023-06-20 11:03:40 +03:00
irwiss 0ac3285e7e Prune vgroup_id add_vehicle overloads 2023-06-20 11:03:35 +03:00
Qrox 941488fc31 Suppress clang-tidy deadstore warnings and update cata_assert comment 2023-06-20 12:44:00 +08:00
Qrox 4b15626050 Avoid potential calculation of assert conditions in release builds 2023-06-20 12:44:00 +08:00
Maeyanie 3b18ceb32e Typo fix
"apply them the in a real fight"
2023-06-19 19:02:13 -04:00
Jianxiang Wang (王健翔) 0d97f08895 Automatically request review regardless of reviewers' collaborator status (#66072)
* Replace non-functional code owner file with auto-request-review action

* Add an entry for myself to test it

* Add @GuardianDll to reviewers.yml

* Use modified version of auto-request-review

* Only keep the last instance of the request review action running
2023-06-19 19:26:00 -03:00
Drew4484 137c24d88f START-I (#65700)
* Remove mininuke and mininuke-hack spawns.

* Removes mininuke from radioactive accident

Needs build testing

* Remove unused hazmat bot
2023-06-19 19:24:24 -03:00
Ryan a90cc553fe Ignored .sav extention until we get to the filename. This will prevent false positives in the folder path (#66293) 2023-06-19 17:52:07 -03:00
Alexey ab999ab9f4 Refresh vehicle points in DefaultRemovePartHandler (#66281) 2023-06-19 17:49:04 -03:00
Alexey 84b14a81ee Fix clang-tidy check (#66308)
* Add -DSDL_SOUND to CMakeLists.txt

* Fix clang-tidy lint of PATH_INFO::init_base_path
2023-06-19 17:47:43 -03:00
Procyonae eae8ce79f8 Gutter Unify Tool Part 2 (#66313)
* Ran Tool

Manually did both island prisons

* Minor unrelated bungalow changes
2023-06-19 17:46:33 -03:00
Procyonae 5ba63a0217 Very minor bakery roof changes (#66317) 2023-06-19 17:45:43 -03:00
milk-geologist 6060d00d3f Bandit city outpost (#65524)
* Added city outpost for bandits

* Adding bandit outpost in cities

* Linting everything

* Changed flavor from bandits to military deserters

* Linting, folder name

* Fix spawn likelihood

* Changing space in folder name to underscore

I believe the space is causing one of the tests to fail, so I'm trying this to see if it works with an underscore instead.

* cut redundant entries/general map fixes

* Change "B" in overmap to "D"

* Change theming from mini lab to military cache

* Adding unique flag + increasing spawn weight

* Push spawn weight up a touch

Trying to pass a test that failed because the new map locations were never spawning.
2023-06-19 08:23:42 -05:00
TheShadowFerret 50c516a6b9 [Xedra Evolved] Artifact looks_like things other than books (#66229)
* [Xedra Evolved] Artifacts look like things other than books

* Name

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Apply suggestions from code review

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-19 08:14:19 -05:00
Maleclypse caeff79e89 Merge pull request #66304 from anoobindisguise/patch-15
Airplane seats have seatbelts
2023-06-19 08:12:37 -05:00
Alexey 22e9c95c2c Revert 4x4_car ram change (#66309) 2023-06-19 08:45:50 -03:00
anoobindisguise 5df8b00b2b Airplane seats have seatbelts 2023-06-18 22:38:29 -07:00
Angela Graves 8846e84f1d Merge pull request #66296 from CleverRaven/tileset-updates
Routine tileset updates on 18 June 2023
2023-06-19 00:24:12 -05:00
Ivan Demchuk b43755d5e7 Don't allow to scan books that are owned by other characters (#65927)
* Don't allow to scan books that are owned by other character

It was possible to scan books from merchant inventory without
buying them.

fixes #65840

* Fix formating

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-18 23:46:11 -05:00
randomtyper 80641328ad Heavy close helms (#65962)
* Add new helmet variations, reflavour the existing close helm

* Add recipes

* More thickness = more steel needed

* Whoops

* Update data/json/items/armor/helmets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Bot forced me to do this

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Include new recipes into nested groups

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-18 23:44:06 -05:00
Swatch 18666c9b4e Oversize Single-strap Bags (#66063)
* Oversize Duffel Bag

Adds the OVERSIZE flag to the duffel bag.

* Oversize single-strap bags

Adds the oversize tag to various single-strap bags that were missing it.
2023-06-18 23:41:47 -05:00
John Candlebury 6eeb155804 Add a generic shotgun to Aftershock (#66268)
* Add a generic shotgun to aftershock

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-18 23:38:55 -05:00
Maleclypse dd6b962c5b Merge pull request #66265 from John-Candlebury/nre-record-storms
NRE recorder captures data in Close and distant storms
2023-06-18 23:30:08 -05:00
randomtyper f93b6465f4 Add titanis walleri from Aftershock to Megafauna, small Megafauna fixes (#66244)
* Egg for titanis

* Add titanis and hatchling

* Predatory bird faction

* Some tweaks and a fix

* Eggs now spawn birds, added spawn for t. walleri

* Add t. walleri to spawns

* Update data/mods/Megafauna/monsters/mf_predators.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Megafauna/monsters/mf_predators.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove a comma

* Update data/mods/Megafauna/megafauna_factions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Plural name for adult titani

* Update dictionary.txt

* Volume error fix

* Update mf_predators.json

* Update mf_predators.json

* Update mf_predators.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-18 23:28:56 -05:00
Maleclypse d57e5330a0 Merge pull request #66284 from Procyonae/SubwayRampReststopOMTFix
Very minor roadstop/subway ramp OMT fix
2023-06-18 23:23:20 -05:00
Maleclypse 11d4ec875d Merge pull request #66285 from Procyonae/PillowFortsForEveryFloor
Very minor pillow fort fix
2023-06-18 23:22:23 -05:00
David Seguin 4b5985f151 Weekly Changelog 2023-06-12 to 2023-06-19 2023-06-19 01:11:50 +00:00
casswedson 1b42c4ce0a Routine tileset updates on 18 June 2023 2023-06-18 23:01:08 +00:00
alef c3e2de83c5 Hotfix for #66273 (#66287)
* Append a path delimiter for the 'dot' directory.

* Update src/filesystem.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-18 16:33:03 -03:00
Procyonae a454b16366 Update overmap_terrain_transportation.json 2023-06-18 15:28:45 +01:00
Procyonae ad29983ba0 Update construction.json 2023-06-18 15:27:04 +01:00
casswedson f771f3b5f9 reduce police roadblock monster spawns (#66266)
police roadblocks can spawn 20+ zed cops swat zeds etc combined with the
distraction offered by the nearby turrets and decent supply of guns and
ammo around in corpses and the back of police cars makes for a super
easy loot party, pretty much everyone in the road block is easy prey for
someone with half a working brain

reduce the zed spawns by half, the special still gives a good amount of
loot, the cars and corpses have good changes of setting up for a good
gunfight, just not as much anymore

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-18 09:12:18 -03:00
casswedson e8bf8eaba7 reduce loot in cars a bit (#66267)
quite a few hours of play testing deemed the chances of first aid kits
and survival kits in cars a little too much; I live on the run myself
just hopping from place to place in my good old car, I just found too
much stuff in other cars, so much I don't bother hitting specific places
for med supplies

tone down the chances I added in my expansion of stuff spawning in cars

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-18 09:09:28 -03:00
Light-Wave a387843699 Update core_eocs.json (#66274) 2023-06-18 09:07:13 -03:00
Angela Graves 2af2001cc1 Merge pull request #66087 from Rewryte/async_anim
Asynchronous animation type including sprinting and smashing
2023-06-18 01:14:00 -05:00
Kevin Granade c766859d6b Merge pull request #66015 from CleverRaven/changelog-weekly-2023-06-05
Weekly Changelog 2023-05-29 to 2023-06-05
2023-06-17 19:26:42 -07:00
Maleclypse a36cd132e5 Gastropod Foot limb (#66033)
* Gastropod Foot limb

* Venera Suggestions

* Venera Suggestions

Update body_parts.json

* Update body_parts.json

* Update enchantments.json

* Update body_parts.json

* moved to mutation folder

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 23:19:19 -03:00
Procyonae e4feefcdca Typos and Engrish (#66259) 2023-06-17 17:59:20 -07:00
Kevin Granade a241fe33f7 Update the table of contents (#66258)
Co-authored-by: kevingranade <kevingranade@users.noreply.github.com>
2023-06-17 17:57:32 -07:00
CatWithFourEyes 4bc5a8dd04 Ammunition weight fixes (#66160) 2023-06-17 17:57:20 -07:00
Procyonae bbf54554d8 Clearer Crashed Airliner OMTs (#66086) 2023-06-17 17:55:41 -07:00
fairyarmadillo 302769f032 Fix skin and armor mutations (#66068)
* Fix skin and armor mutations

* minor fixes

* Update data/json/mutations/mutation_eocs.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* linting

* Update mutation_eocs.json

* Update mutations.json

* Forgot that I still need a skin_rough

* Aftershock compatibility

* Dinomod compatibility

* Magiclysm compatibility

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 19:54:13 -05:00
John Candlebury 1bd6caf4cf NRE recorder captures data in Close and distant storms 2023-06-17 17:09:58 -06:00
MorvarchPrincess 306abed48a Aventails, Turban Helmets and Updated Nasal Helmets (#66013)
* initial work

* Initial commit for new armors, doesn't work as its complaining about mc_chainmail_face

* Last few fixes, hopefully

* More fixes

* Add case hardened versions, also realized why there wasn't a tempered metal already and removed it as a result

* Adjust coverage of leather, make heavier

* lint json

* More linting and add to dictionaries

* fixing build issues
2023-06-17 18:08:42 -05:00
Kevin Granade 042d71cf29 Merge pull request #66253 from irwiss/more-test-tweaks
Test tweaks for less order dependency
2023-06-17 15:52:16 -07:00
Drew4484 448ee0c0c0 Living lore (#66238) 2023-06-17 15:49:54 -07:00
Kevin Granade c6be56377a Merge pull request #66252 from irwiss/minor-vehicle-tweaks
Minor vehicle tweaks
2023-06-17 15:48:17 -07:00
Kevin Granade deebd71e57 Flip many specials to globally unique to prevent duplicate NPCs.
Core-game version of https://github.com/CleverRaven/Cataclysm-DDA/pull/63627
2023-06-17 15:28:08 -07:00
andrejlevkovitch 8fc6bc152e fix uninitialized field in damage_info_order (#66132) 2023-06-17 14:53:50 -07:00
Deep Velocity 9f0871c370 Disable MOLLE compatible item attachment empty check. Remove all items from MOLLE compatible item after incorporating it into additional pockets. (#66026) 2023-06-17 14:53:34 -07:00
randomtyper bd6b280622 Clear up description of WATERPROOF flag (#66257)
* Update flags.json
* Update iteminfo_test.cpp
2023-06-17 14:37:37 -07:00
Dillon Matchett bd5a3f8c01 Default to first scenario if Generic is blacklisted (#66245) 2023-06-17 14:32:53 -07:00
Procyonae d896c450a4 Gutty Unify Tool Part 1 (#66236)
* Run the tool

* Minor unrelated changes

Just removes a few redundant definitions seeing as I'm looking through these all
2023-06-17 14:30:13 -07:00
Dillon Matchett 0c232e14fb EOC Selector (#66222) 2023-06-17 14:18:05 -07:00
andrejlevkovitch 6876f6b633 check last_world_pos before deleteing world (#66171)
otherwise it can cause heap overflow in case of removing last world in
list
2023-06-17 14:15:59 -07:00
Hirmuolio 35a64b772c Refactor timer items to be a bit more time based (#66161)
Co-authored-by: Brambor <tondadrd@seznam.cz>
2023-06-17 14:15:15 -07:00
Dillon Matchett e2b75bd049 Nested EOC Variable Resolution (#66138)
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-06-17 14:11:01 -07:00
KittyTac 4a21fedfe6 Update integrated.json (#66067) 2023-06-17 14:03:49 -07:00
Drew4484 c20579bda9 Gas Mask Filters Update (#66057) 2023-06-17 14:00:28 -07:00
Kamayana 380f422120 Charge integrated magazines when plugged in (#66022) 2023-06-17 13:46:12 -07:00
anoobindisguise 6701bb7d06 sprayable chloramine actually uses bleach/ammonia (#65995)
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-17 13:44:40 -07:00
Kevin Granade b0bf85636d Merge pull request #65976 from Veskaida/Update-Boomer-path_avoid_danger_1
Update zed_explosive.json
2023-06-17 13:35:49 -07:00
irwiss 10cdb43143 Remove comfort comment from reclining seat description 2023-06-17 23:27:52 +03:00
irwiss 7ec9d6a47f Make 4x4_car rams actual rams 2023-06-17 23:27:52 +03:00
irwiss 09743f50b8 Clear surrounding terrain in build_water_test_map
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-06-17 23:14:57 +03:00
irwiss 1d9429f0e7 Clear map in item_contents_tests.cpp 2023-06-17 22:49:56 +03:00
Kevin Granade 81af0c0c62 Merge pull request #65954 from irwiss/improve-map-memory
Improve map memory visuals
2023-06-17 12:46:35 -07:00
Ranik ee0d044881 House Palette and Aux Nested (#65905) 2023-06-17 12:40:53 -07:00
Kevin Granade 3892117b78 Merge pull request #65858 from TheShadowFerret/InnaWoodsScen
[Innawoods] Yeet the professions, add more professions, make Portal Dependent possible w/ metaprog on
2023-06-17 12:36:54 -07:00
MNG-cataclysm 4c061d95e0 Add more monsters to the nether monster corpse (#65830) 2023-06-17 12:31:58 -07:00
Kevin Granade a6233fc5fa Merge pull request #65822 from alef/cmake-install
CMake install() changes, static linking build, mark directories with fs::path{}
2023-06-17 12:29:45 -07:00
flybye3o6 ef1335a59b clear rubble (#61677)
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2023-06-17 12:24:52 -07:00
Robert Tisdale 175ccb5d80 VS Code: Preconfigured Workspace & Dev Containers (#65748)
Co-authored-by: Zhilkin Serg <ZhilkinSerg@users.noreply.github.com>
2023-06-17 12:24:20 -07:00
Golfavel e6e9461c3c Mark as dangerous without needing to list all notes (#65499) 2023-06-17 12:09:50 -07:00
bateau-de-coal b110b01fd5 Change color and glyph of a few creatures (#65431)
* change glyph of zombie deer and zombie cow
* change color of caterpillar
2023-06-17 11:46:13 -07:00
Light-Wave 73c0de55db Caster Level Boosters (#65418) 2023-06-17 11:45:34 -07:00
Dillon Matchett 20ec62eead Space samurai armour (#66230)
* Knockdown + Knockback enchants

* armor start

* rest of the armor

* WIP demon sense

* Fixes and spawns

* spelling

Co-Authored-By: cosmo-naut <30992774+cosmo-naut@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Item Fixes

* Update data/json/items/armor/exotic.json

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Update data/json/items/resources/misc.json

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Fixes

---------

Co-authored-by: cosmo-naut <30992774+cosmo-naut@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-17 11:54:40 -06:00
Alexey 07356b65a5 Normalize TEST_CASE names (#66241)
* Convert integer parsing test to use normal TEST_CASEs

* Rename test name too similar to another

* Test to enforce normalized test names

* Normalize TEST_CASE names (scripted)
2023-06-17 13:57:19 -03:00
SurFlurer 8a73a6047e Better cache vehicle mass center (#66188)
* Better cache vehicle mass center

* tests

* Update data/mods/TEST_DATA/vehicle_efficiency_test.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 13:54:10 -03:00
anoobindisguise 38bfec9d2f more police armory adjustments (#66239)
* Fix typos

* fix some missing lockers

* reduce frequency of prison armory bullets

* slightly lower ammo spawns

* lower again
2023-06-17 13:40:23 -03:00
Procyonae ebcf6c5476 Now I see why noone else touched this (#66254) 2023-06-17 12:16:18 -03:00
Rewryte d202972081 apply review suggestions
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-17 13:55:32 +08:00
Angela Graves a272beb2b3 Merge pull request #66247 from CleverRaven/i18n
Routine i18n updates on 17 June 2023
2023-06-17 00:18:10 -05:00
RenechCDDA 5e58537094 Update references to old mapgen ids (#66115)
* Update references to old mapgen ids

* Apply suggestions from code review
2023-06-17 00:00:02 -05:00
Dillon Matchett 020548f23f Legs dehardcode for walking (#66079)
* Legs dehardcode for walking

* push commit

* Comment update

Co-Authored-By: SurFlurer <22912139+SurFlurer@users.noreply.github.com>

---------

Co-authored-by: SurFlurer <22912139+SurFlurer@users.noreply.github.com>
2023-06-16 22:54:27 -05:00
kevingranade 08595c6b5b Routine i18n updates on 17 June 2023 2023-06-17 02:08:04 +00:00
Kevin Granade a3b6be3a7f Weekly Changelog 2023-06-05 to 2023-06-12 (#66149)
* Weekly Changelog 2023-06-05 to 2023-06-12

* Apply suggestions from code review

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-16 20:17:28 -05:00
Maleclypse 16e831839e Merge pull request #66243 from anoobindisguise/patch-14
adjust bedding spawn weighting
2023-06-16 20:16:24 -05:00
PatrikLundell 9d45b0b21d palettized storehouse expansion 2 (#66240)
* palettized storehouse expansion 2

* nineth -> ninth
2023-06-16 20:14:03 -05:00
anoobindisguise 59616791a3 adjust bedding spawn weighting 2023-06-16 12:58:54 -07:00
CatWithFourEyes acea62718b Add M3 submachine gun (#66076)
* Add M3 SMG

* Update 45.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update 45.json

* Update data/json/items/gun/45.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/45.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update 45.json

* Add nested variant

* Update data/json/items/magazine/45.json

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* Update gg_magazines_migration.json

* Update data/mods/Generic_Guns/magazines/gg_magazines_migration.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update nested_guns.json

* Update nested_guns.json

* Update nested_guns.json

* Update nested_guns.json

* Update 45.json

* Update data/json/itemgroups/Weapons_Mods_Ammo/nested_guns.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-06-16 16:05:04 -03:00
Rewryte 7fb29b7732 fix curses timeout 2023-06-17 01:49:40 +08:00
WhiteCloud0123 5d51d48425 Adjusting the order in which players equip mecha weapons in mounting mech (#66212)
* Update character.cpp

* Adjusting the printing order of information

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* oh the test

* try to pass test

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* re run the fucking test

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* pass  test

* Unrelated test error, I'm only trying this one last time

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-16 12:39:13 -03:00
John Candlebury 1f1d5c8d0e Weaver adjustment set II (#66223)
* No more EMPTY_REVERT spam

* Make repeat fights more robust

* Minor adjustments to the loot maps

* Restore math based comparison
2023-06-16 12:32:30 -03:00
Alexey b35d0cd8c7 Tests tweaks (#66228)
* Log SDL renderers on one line

* Don't try to enumerate non-existing directories

* Remove a few more lines of log noise

* Actually leave the test world for inspection
2023-06-16 12:31:49 -03:00
Alexey 25f4e7331d Make more tests independent of order (#66231)
* Normalize avatar in iuse_test.cpp to create bodyparts for effects

./tests/cata_test --rng-seed 1686796277 "item cannot contain contents it already has","Sawed off fits in large holster","bag with restrictions and nested bag doesn't fit too large items","pocket_leak","stacking_over_time","item length sanity check","techniques when wielded","armor rigidity","armor_stats","book info","food character is allergic to","list of item actions","tool info","pocket info units - imperial or metric","ammo restriction info","tool transform when activated","eyedrops","antifungal","antiparasitic"

* Put water in bottles in crafting_test

./tests/cata_test --rng-seed 1686797449 "check amphetamine addiction effects","check_monster_behavior_tree_locust","check_monster_behavior_tree_theoretical_absorb","Bionic power capacity","bionic UIDs","bionic weapons","included bionics","fueled bionics","cardio is and isn't affected by certain traits","total crafting time with or without interruption","prompt for liquid containers - crafting 1 makeshift funnel","prompt for liquid containers - batch crafting 3 makeshift funnels","recipes inherit rot of components properly"

* Clear map in item degradation tests

./tests/cata_test --rng-seed 1686874819 "check mutagen addiction effects","body_part_sorting_all","body_part_sorting_main","mtype_species_test","cube_direction_add_om_direction","cube_direction_add_int","cube_direction_subtract_int","Damage indicator thresholds","Degradation on spawned items"

* Use invalidation function instead of moves hack
2023-06-16 12:30:30 -03:00
Venera3 23013e78ff Process EoCs on non-activated traits as well (#66216)
* Process EoCs on non-activated traits as well

* Update MUTATIONS.md
2023-06-16 12:30:06 -03:00
Maleclypse e2cd642c7c Merge pull request #66234 from anoobindisguise/patch-12
Fix welder pocket dimension
2023-06-16 09:52:02 -05:00
Procyonae a471600b61 Ssh noone saw this (#66235) 2023-06-16 09:33:28 -03:00
Procyonae a9b5183794 gutter_unify tool (#66140)
* Initial commit

* Update gutter_unify.py

* Regex

* Fully working

* Removes unnecessary print and list

* Improves term search

* Adds format_json by @mqrause

* Linted

* Linted better

* Test bump

* My bump commit was too long >:c
2023-06-16 07:34:38 -03:00
Anton Simakov 2d6d3a2326 Mathify portal storm (#66036)
* Update portal_storm_effect_on_condition.json

* Update portal_dependent_effect_on_condition.json

* Update portal_storm_effect_on_condition.json

* Update portal_storm_effect_on_condition.json

* Update data/json/portal_storm_effect_on_condition.json
2023-06-16 07:31:53 -03:00
Rewryte 8b20102761 port functions and layer to curses
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-16 13:56:16 +08:00
Angela Graves d5cc23912d Merge pull request #66195 from reinerh/gcc13
Fix build with GCC 13
2023-06-16 00:52:48 -05:00
anoobindisguise 9c73d755f6 Fix welder pocket dimension 2023-06-15 21:12:08 -07:00
PatrikLundell 41bd93c71e parameterized livestock 2 palettes (#66219)
* parameterized livestock 2 palettes

* JSON format

* trigger retest of failing mandatory test

* trigger retest of failing mandatory test
2023-06-15 23:00:39 -05:00
PolygonalPerson 11aecf72d8 Adding relevant recipe requirements to atomic butter (#66209)
* Update requirements.json

Adds atomic butter to;
any_butter & any_butter_or_oil

* Update requirements.json to add "extend":

Adds "extend": to Aftershock's requirements.json, to fix the error where atomic butter would overwrite both catagories.
2023-06-15 21:35:08 -05:00
Procyonae 9168cb46a3 Military base OMT changes and uses roof palette (#66225)
* There's so much heeellllppp

* Refugee centre z1

* Aaaaahhhhh

* OMT stuff

* rc_grounds merging

* It's so crazy it got me doing it

* Place new refctr_*

* More OMT stuff

* Forgot to lint

* Minor palette change

* Reinstate uniqueness

* Temporary json only fix

* Forgot to lint reeee

* Ripped the OMTs to their own file to make them more discoverable and easier to reference in docs once I flesh them out more in future PRs

Added an abstract road OMT and renamed the generic fence to a more generic name, will  add special road OMs/port other road ids like the mall/mil base in future PRs
Remembered the hardcoded OMT file exists and made changes to more accurately sim them.
Added a commented description to the first OMT to explain their purpose.

* Initial Commit

* Road and helipad

* Parking and special air

* Roof palette

* Delete mil_base_roof_palette.json

* Replaces z-1 rock with soil

* Finishes OMT changes

* Finishes roof changes

* Fixes z0 ladder change

* The collapsed watchtowers floor should probably still exist
2023-06-15 21:32:13 -05:00
Karol1223 335151db79 notes no more (#66221) 2023-06-15 20:40:36 -03:00
anoobindisguise 020c81a880 Make hub01 globally unique (#66202) 2023-06-15 14:49:55 -03:00
Maleclypse cc205074bd Merge pull request #66206 from bombasticSlacks/obsidian-ignore
Add obsidian config to the ignore list
2023-06-15 11:05:09 -05:00
Dillon Matchett 7c48da007d Rigid Plate Pockets (#65863)
* Rigid Plate Pockets

* Fixes + Ablative Always

* Fixes For Tests

* Test Corrections

* Update coverage_test.cpp

* Make const

* test fix
2023-06-15 10:45:11 -05:00
Kate dd93a95146 Changed order of fields to appease clang-tidy. (#66208) 2023-06-15 08:06:11 -07:00
isnaka fd79f06a67 Allow food to be heated in mess kit (#66214)
* Update cooking.json

* Update cooking.json
2023-06-15 09:51:15 -05:00
Maleclypse d7ed048047 Merge pull request #66204 from anoobindisguise/patch-11
Woodlouse harvests for crustacean samples
2023-06-15 09:31:02 -05:00
PatrikLundell 8ca6930e50 parameterized field base camp ver 1 (#64304)
* parameterized field base camp ver 1

* second formatter path with tool gets files missed by first try

---------

Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-15 09:16:35 -05:00
Anton Burmistrov a8d4ad8956 Fixed inability to disassemble laser turret in No Hope mod (#66210)
* Changed gun type for more consistency

* Added uncraft recipe for broken laser turret
2023-06-15 11:09:29 -03:00
Alexey 7cc39bbce7 More test state resets (#66173)
* Restore map's abs_sub after map_coordinate_conversion_functions

./tests/cata_test "map_coordinate_conversion_functions","Mattack dialog condition test"

* Rewind time in biometrics tests

./tests/cata_test "basal metabolic rate with various size and metabolism","mutations may affect character metabolic rate"

* Don't place avatar on invalid zlevels

./tests/cata_test "npc_compare_int","npc_can_target_player"
./tests/cata_test "npc_arithmetic","npc_can_target_player"

* Martial art test should clear map

./tests/cata_test "walls should connect to walls as end pieces","Martial art technique conditionals"

* Clear map in turrets test

./tests/cata_test "vehicle_ramp_test_61","vehicle_turret"

* Clear map in gun repair test

./tests/cata_test "cube_direction_add_om_direction","Gun repair with degradation"

* Fix bionic test order dependency

./tests/cata_test "fueled bionics"

* Build light cache in player_activities_test

./tests/cata_test "grenade_lethality_scaling_with_size","activity interruption by distractions"

* Clear map in pockets test

./tests/cata_test "character should lose moves when opening or closing doors or windows","multipocket liquid transfer test"

* Make explicit flag for crafting cache invalidation

* Clear more avatar fields

* Clear time in weary_recovery

./tests/cata_test craft_available_via_vehicle_rig,vision_see_wall_in_moonlight,vision_moncam_basic,weary_recovery
2023-06-15 11:08:46 -03:00
PolygonalPerson 71e2c8a470 Update ammo_pouch.json (#66194) 2023-06-15 11:08:23 -03:00
Kevin Granade 0dc3b3c68b Update src/translation_document.h
Co-authored-by: Zhilkin Serg <ZhilkinSerg@users.noreply.github.com>
2023-06-15 06:35:05 -07:00
Alexey 03400cc1c1 Fix Aftershock conflicting with generic guns (#66203) 2023-06-15 06:31:54 -07:00
Rewryte 21538b7141 applease the clang 2023-06-15 14:06:23 +08:00
Angela Graves 4cd1bf1a1d Merge pull request #66193 from PolygonalPerson/patch-2
Add 12.3ln rounds to rifle bandoliers
2023-06-15 00:09:03 -05:00
Maleclypse 9d9c6ace47 Merge pull request #66125 from TheShadowFerret/PipeNested
Pipe rifle update: Three new calibers & recipe nesting
2023-06-14 23:20:52 -05:00
bombasticSlacks 8419dd751a Add obsidian config to the ignore list 2023-06-14 22:08:14 -03:00
anoobindisguise 56c1bea91d Methanol production changes (#66094)
* Update recipe_medsandchemicals.json

* require some ppe_gas

* make water a tool
2023-06-14 19:43:54 -05:00
Maleclypse 691d4e8687 Merge pull request #66148 from Procyonae/StormshaperAxe
[Magiclysm] Stormshaper Axe changes
2023-06-14 19:42:01 -05:00
anoobindisguise 274a36be6e Woodlouse harvests for crustacean samples 2023-06-14 16:56:38 -07:00
anoobindisguise 7b5d9914ae Move gambesons to their own file (#66183)
* Create gambesons.json

* move gambesons to their own file

* move gambesons to their own file

* move gambesons to their own file

* move gambesons to their own file

* Create gambeson_crafts

* Rename gambeson_crafts to gambeson_crafts.json
2023-06-14 18:28:52 -05:00
Alexey a351fd32ec Raise test margins for less test flakes (#66192) 2023-06-14 18:03:06 -03:00
Reiner Herrmann 99edf38643 Fix build with GCC 13
Build was failing with:
  src/translation_document.h:46:14: error: ‘uint8_t’ in namespace ‘std’ does not name a type;
2023-06-14 21:16:45 +02:00
PolygonalPerson 20c07800e1 Update bandolier.json
Adds 12.3ln to accepted rifle cartridges, mirroring 30-06
2023-06-14 13:39:05 -05:00
Maleclypse bf78e46b2a Prophet's LSD spell (#65958)
* Prophet's LSD spell

* Update item_spells.json

* Apply suggestions from code review

* Apply suggestions from code review

Update item_spells.json
2023-06-14 13:19:11 -03:00
CatWithFourEyes 0367d1f684 Add Kel-Tec RDB and RFB (#65974)
* Add Kel-Tec RDB and RFB

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/gun/308.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update 223.json

* Update 308.json

* Update 223.json

* Update 308.json

* Update 223.json

* Update 308.json

* Update 223.json

* Update data/json/items/gun/308.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update data/json/items/gun/223.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update data/json/items/gun/223.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update data/json/items/gun/308.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* updating brand-less FN FAL

* Update 308.json

* Update gg_firearms_migration.json

* Update 223.json

* Update 223.json

* Update 308.json

* Update data/json/items/gun/308.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update data/json/items/gun/223.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update nested_guns.json

* Update guns.json

* Update data/json/items/gun/308.json

Co-authored-by: Tonkatsu <7764202+tenmillimaster@users.noreply.github.com>

* Update 308.json

* Update 308.json

* Update 223.json

* Update nested_guns.json

* Update 308.json

* Update nested_guns.json

* Update 223.json

* Update 308.json

* Update data/json/items/gun/308.json

Co-authored-by: Tonkatsu <7764202+tenmillimaster@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: Tonkatsu <7764202+tenmillimaster@users.noreply.github.com>
2023-06-14 13:19:03 -03:00
SurFlurer f3fc96849e [CR] Overhaul basecamp handling resources (#65870)
* consume resources in near zones

* astyle

* nolint

* fix

* remove inv_range

* remove unused var

* clang-tidy

* consistently building storage_zones cache

* fix build

* fix build

* load 60x60 map when consuming resources

* fix build

* astyle

* fix build

* refine radio_called resources consumption

* Add variants to functions that consume things

* remove unused var

* better handle radio calling back NPC

* astyle

* code reuse and clang-tidy

* more reuse

* eliminate map_

* fix build

* fix build

* Fix display

* fix applying ownership

* a little bit optimization

* more optimization

* astyle

* clang tidy

* Store the map's ptr to avoid excessive map::load()

* astyle

* clang-tidy

* move map to its own class
2023-06-14 13:16:15 -03:00
anoobindisguise 1991d778a3 Base repair difficulty on material instead of recipe (#65846)
* _repair_difficulty

* repair_difficulty

* repair_difficulties

* int

* intify

* repair changes

* Update iuse_actor.cpp

* getter

* getter

* optional

* a wayward }

* Update game_inventory.cpp

* Update game_inventory.cpp

* Update game_inventory.cpp

* Update iuse_actor.cpp

* the pointer?

* fixes

* Update iuse_actor.cpp

* Update iuse_actor.cpp

* Update iuse_actor.cpp

* Update material.cpp

* min->diff

* Adjustments

* Adjustments

* Update src/iuse_actor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/game_inventory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* new difficulty chart

* adjustments again

* elaborate on changes

* remove found_recipe

* passing pl not needed anymore

* fixes

* args

* changes

* Update src/iuse_actor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Belts don't consider their steel for repairing

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* document repairs_like

* document repairs_like

* redo documentation

* Prune repairs_likes

* Prune repairs_likes

* repair_difficulty

* Prune repairs_likes

* difficulties

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes + no_repair invis cloak

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes + eclipse glasses tweaks

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes

* Prune repairs_likes + hazmat/cleansuit difficulty

* Prune repairs_likes

* Update data/json/items/armor/legs_clothes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/eyewear.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* SKILL NEEDED -> DIFFICULTY

* clean it up a bit

* add repair_difficulties

* add repair_difficulties

* add repair_difficulties

* swap qt and ch difficulty

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-14 13:13:07 -03:00
PatrikLundell 6960bd90d8 Update JSON linting to not lie and ignore forbidden files (#65815)
* Made JSON lint shell script targeted

* Changed 'error' message to indicate change was done

* Removed commented out line
2023-06-14 13:09:09 -03:00
KittyTac 21a67121a5 Add "High X Tolerance" and Night Raider traits to extra_mut_scen (#65751)
* Update mutation_scenarios.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* poke tests

* poke tests

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-14 13:08:27 -03:00
anoobindisguise becfe3504f Reworks to some survivor boots (#65741)
* Modernize survivor boots

* commae

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* recipes #1

* Update feet.json

* Update custom_boots.json

* a fix

* fixes

* thickness

* recipe stuff

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update feet.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* xl and xs recipes

* fixes

* nylon->leather

* nylon->leather

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-14 13:06:45 -03:00
anoobindisguise e0efb70bbc Cold tolerance cancels cold blooded, remove from plant (#65728)
* Cold tolerance cancels cold blooded, remove from plant

* fix a dumb and obvious error

* and more bugs
2023-06-14 13:05:18 -03:00
waxcatape b9b4f82faa implement directing appliances, add directed floodlight appliance (#65655)
* implement directing appliances, add directed floodlight appliance

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/construction.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* push direction code into veh_appliance

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove unused flag in construction.cpp

* Apply suggestions from code review

Co-authored-by: Alexey <irwiss@users.noreply.github.com>

* make the else clause in place_appliance set partnum

* isolate direction code into orient_part in veh_interact for reuse

* astyle check

* make clang-tidy happy

* Update removal times on floodlights

---------

Co-authored-by: waxcatape <waxcatape@waxydude.xyz>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alexey <irwiss@users.noreply.github.com>
2023-06-14 13:04:08 -03:00
fairyarmadillo e2f15d39a3 Adjust damage of unarmed weapons (#65631)
* Adjust unarmed damage

* Scrap Knux: -1 bash, +1 cut

* Update to-hit values in accordance with game_balance.md

* Fist balance should neutral, not good.

GAME_BALANCE.md -

'+2 - "weapon" - A weapon with a dedicated grip shaped to the hand, like a sword, axe, knife, or police baton, or that is strapped to the body (or is a piece of the body). Fists would get a +2 bonus here, bringing them to "0" total, since none of the others would apply.'
2023-06-14 13:02:13 -03:00
TheShadowFerret 8d3c7c1f6a Bots, methanol, and cutting weapons (#65574) 2023-06-14 13:01:03 -03:00
Drew4484 adecf1e2e8 Aftershock Shotguns (#65562)
* Create shot.json

* Raketa and Drotik

* Linting

* Update data/mods/Aftershock/items/gun/shot.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Spellcheck

* Spelling

* Speedloader correction

* Update shot.json

* Update shot.json

* Correct magazine name

* Add shotguns to spawn groups

* Update shot.json

* Update shot.json

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-14 12:58:16 -03:00
ZigVert ef10b62d06 Outdated military helmets (#66080)
* add flak helm

* added to itemgroups

* correct looks-like to looks_like

* Update data/json/items/armor/helmets.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/helmets.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update helmets.json

* Update data/json/items/armor/helmets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* added variants

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-14 12:54:07 -03:00
ferociousdork 21e72e58e7 Balance firestarter skill gain for long move costs (#66121)
* Balance firestarter skill gain for long move costs

* Reverted firestarter skill gain cap
2023-06-14 12:50:00 -03:00
Procyonae 23b7ed9c61 Standardise Special Terrain (#66123)
* Initial commit

* Standardise special terrain

* There's so much heeellllppp

* Refugee centre z1

* Aaaaahhhhh

* OMT stuff

* Bye bye stoopid

* rc_grounds merging

* It's so crazy it got me doing it

* Place new refctr_*

* More OMT stuff

* Forgot to lint

* Minor palette change

* Reinstate uniqueness

* lab_subway_vent_shaft hidden OMTs

* Temporary json only fix

* Forgot to lint reeee

* Ripped the OMTs to their own file to make them more discoverable and easier to reference in docs once I flesh them out more in future PRs

Added an abstract road OMT and renamed the generic fence to a more generic name, will  add special road OMs/port other road ids like the mall/mil base in future PRs
Remembered the hardcoded OMT file exists and made changes to more accurately sim them.
Added a commented description to the first OMT to explain their purpose.
2023-06-14 12:48:56 -03:00
anoobindisguise d7dd206f00 fix one station having more ammo than it ought to have (#66152) 2023-06-14 12:40:03 -03:00
sergeirocks100 e0b15e1951 Adds in the ability to construct wooden chests. (#66175)
* initial commit

* Update data/json/construction.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

---------

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
2023-06-14 12:39:40 -03:00
Anton Simakov 2923a21371 Remove crater spawn from TEST_DATA (#66174)
* Remove crater spawn from TEST_DATA

* replace with better implementation
2023-06-14 12:36:40 -03:00
randomtyper b7e443d463 EOD helmet revision (#66179)
* Adjust EOD helmet protection

* Obviously it had failed

* I somehow fixed density of the helmet or what?

* Change faceplate to thick plastic

* Forgot the variation with lantern on
2023-06-14 12:36:15 -03:00
RenechCDDA f9bf0f7b66 Normalize autolearn for canned fruit (#66186) 2023-06-14 12:32:04 -03:00
Venera3 17c8a9d482 Safe transform (#66181) 2023-06-14 12:31:44 -03:00
andrei d699fc08ed math_parser: implement ternary operator (#66180)
* math_parser: add boolean operators

* math_parser: implement ternary operator
2023-06-14 12:30:10 -03:00
Anton Burmistrov d528e89909 Added myself back to lists of codeowners and maintainers of NH (#66189) 2023-06-14 12:28:32 -03:00
Maleclypse 078f96ea92 Merge pull request #66187 from RenechCDDA/label_defense_mode
Add auto-labeling for defense mode PRs
2023-06-14 10:07:58 -05:00
Angela Graves 3f9a827fa9 Merge pull request #66155 from Skelly-Boi/Zombie_Sheep
added zombie sheep and goat
2023-06-14 02:14:43 -05:00
RenechCDDA decd501283 Add auto-labeling for defense mode PRs 2023-06-13 22:22:34 -04:00
Anton Simakov 24cc123776 [Xedra Evolved] Another batch of random fixes and improvements (#66136)
* laser gunmods works with smg now

* add ray rifle in between of smg "ray gun" and "death ray", minor tweaks to laser weapon

* double the sparks rate, and make a clear message its time to research

* march lord's hoary blast is a line now, to prevent the fact AoE always ignore walls

* small shredder shotgun fixes

* tweaks in blocky pistol

* fix gunmods have 2 minutes to install

* fix bio warhead has 18h to craft, now only 1h

* new gunmod specifically for blocky pistol

* lint

* fix inventor armor disappear when battery ends

* Spatial awareness do not require hands

* Researching at night is easy (because you have a laptop)

* add `hyperboloid` for spell checker

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* bio warhead is ammo, not artifact

* fix undefined bot corpses

* rename ammo name to `bio warhead`

* small random gun tweaks

* fix dreamforged full helm fall in WEAPON category

* fix to small random gun tweaks

* Add simplified crafting recipes for matemax and elec ref sheet for inventor

* All research recipes are SECRET now

* fixes and cleanups in alchemy spells and potions

* replace few spells with direct EoC to give mutation

* Now player forget the recipe if it reached the end of research (uses #65917)

* blackout_rage_drink is not autolearned

* fix eat_dreamdross_ingot do not restore mana

* Boosts and tweaks for eater spells, as i find them a bit weak currently

* Night vision spell uses a night_vis limb score, also cleaning up and balancing the classless version of a spell

* Decrease the vitamin to cast Pull From Beyond, half the time to cast

* added message for default dreamsmith recipes

* Small tweaks of inventor melee

* Sanify eater's mana consumption

* Move field type out of effect folder

* tweaking eater spell flags

* Add colors to effect descriptions, tweak Endurance effect

* Adding dreamer's Karma Arms spell

* add heavy CQC system for inventor

* Decrease crafting time for dreamforged items

* add profs to dreamsmithing

* Add a dreamforged bow and crossbow

* More messages for dreamsmith researches

* fix to More messages

* add Point Blank eater spell

* remove unused `//scannable` comment

* grammar and spelling fixes

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/spells/dreamer_spells.json

* Update data/mods/Xedra_Evolved/spells/dreamer_spells.json

* karma arms uses copy-from now

* Remove karma arm grabbing effect

* proper name for karma_hand

* Lint

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-13 17:34:38 -05:00
SurFlurer e806e37b35 remove unneeded toggle (#65986) 2023-06-13 12:47:52 -07:00
Alexey 05830e66c2 Convert flexbuffer type to string in exceptions (#66025) 2023-06-13 12:44:11 -07:00
Jianxiang Wang (王健翔) 39ebc4fedd Fix map::grow_plant debug message when seed item is not found (#66054)
- Do not actualize other z-levels for maps with one level only
- Add more info to the debug message
2023-06-13 12:40:17 -07:00
Rewryte 1f0fc6bc07 reorder (#66055) 2023-06-13 12:34:19 -07:00
andrei a4db7c7ac0 eoc: port monsters_nearby() to math (#65981) 2023-06-13 12:32:13 -07:00
Alexey d816943d4f Fix crash in veh_interact::do_install (#66059)
Prevent out of bounds index and nullptr dereference
2023-06-13 12:30:51 -07:00
SurFlurer e4884c2061 Fix basecamp farm's "plow field" mission (#66070)
* set upgraded om terrain type

* fix mistakenly tampered test
2023-06-13 12:30:12 -07:00
andrei 37ed546f5e tests: fix locale-dependent tests (#66065) 2023-06-13 12:28:16 -07:00
SurFlurer da6b5e609f Make turret cpu npc persistent (#66085)
* make turret fake npc static

* change to use a unique_ptr

* fix build

* clang-tidy

* Update vehicle.h

* Update vehicle.h

* Update vehicle.h

* Qrox's suggestion (1/3)

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Qrox's suggestion (2/3)

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Qrox's suggestion (3/3)

* Qrox's suggestion (3/3)

* Qrox's suggestion (4/4)

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Make it build again!

* Suppress warning

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-13 12:22:08 -07:00
Joseph Rafael Ferrer 85834bb629 Enable death effects on limited lifespan monsters (#66118)
* Enable death effects on limited lifespan monsters.

* Add death function to weaver juvenile to avoid breaking nether spider boss encounter
2023-06-13 12:18:46 -07:00
casswedson 0e5a3b7dcf reduce action cost of helmets flashlight pocket (#66102)
I was really turned off by the relatively high movement cost of the
army helmet flashlight pocket, 250 moves to activate the flashlight is a
no-no in combat, so I did not use that feature despite it being rather
cool

change it to 100 moves; could be lower but whatever, as long as it's
usable I am happy

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-13 12:14:51 -07:00
Kamayana 284fd1d43a Remove repeated pocket type (#66122) 2023-06-13 12:12:17 -07:00
SurFlurer 099c5c3170 Small changes: to improve perf (#66127)
* use map find to replace iterator

* Irwiss's suggestion

Co-authored-by: Alexey <irwiss@users.noreply.github.com>

* Use reference_wrapper to avoid copying effects

* fix build

* Avoid copying inventory in veh_interact

* clang-tidy

---------

Co-authored-by: Alexey <irwiss@users.noreply.github.com>
2023-06-13 12:11:19 -07:00
SurFlurer 933a49edae Add write template overload, return reference_wrapper (#66153) 2023-06-13 12:08:12 -07:00
Light-Wave dba9556fb5 [Innawood] Fix for arsonist's quest (#66157)
* Update missiondef.json

* Update missiondef.json

* Update missiondef.json

* retrigger checks
2023-06-13 12:06:41 -07:00
Alexey c9f2d8ed58 Clear more avatar state in clear_avatar() (#66164) 2023-06-13 12:05:58 -07:00
Alexey 263db064fe Clear avatar in vehicle_fake tests (#66166) 2023-06-13 12:03:30 -07:00
Jeremy Rose 6cb8592e26 vehicle_wrench => vehicle_wrench_2 in rams (#66168) 2023-06-13 11:57:15 -07:00
Dillon Matchett baff3913de enable and disable mutations EOCs (#65434)
* enable and disable mutations EOCs

* Documentation

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* clang fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-13 11:55:40 -07:00
Deep Velocity 7456ea4210 Merge branch 'CleverRaven:master' into master 2023-06-13 12:56:48 -04:00
Skelly-Boi a4770ac984 replace cut with bash damage 2023-06-13 14:11:05 +00:00
Skelly-Boi 0f6568e5a3 fix speed 2023-06-13 13:48:56 +00:00
Angela Graves cea58414dd Merge pull request #66135 from GuardianDll/fungal
Rename `No Fungal Growth` mod to `Slowdown Fungal Growth`
2023-06-13 00:06:50 -05:00
Maleclypse 4f436e221f Merge pull request #66158 from Procyonae/RemoveCGroundPalette
Delete cground.json
2023-06-12 19:01:08 -05:00
Procyonae e31d435cff Misc Roof Update (#66103)
* Initial commit

* Forgot to lint

* 2nd pass
2023-06-12 18:56:33 -05:00
Jackody2 131f435f86 New Italian dishes and recipes (#65370)
* New Italian dishes and recipes

new Italian dishes and recipes:
eggplant parmigiana, tiramisù, pasta carbonara, amatriciana pasta, mascarpone, pecorino, eggplant and his seeds

* Update data/json/itemgroups/Food/irradiated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/irradiated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/casseroles.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/dairy.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/dairy_products.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/comestibles/dairy.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/pasta.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/seed.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/pasta.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/food/dairy_products.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update food.json

* Update food.json

* Update food.json

* Update casseroles.json

* Revert "Update casseroles.json"

This reverts commit a402c643c1.

* please

please work

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update food.json

* Update food.json

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* please

* Update food.json

* Update data/json/itemgroups/Food/food.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/itemgroups/Food/irradiated.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/casseroles.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/irradiated_veggy.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/dairy.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/junkfood.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/raw_veggy.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/items/comestibles/seed.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/recipes/food/bread.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* .

* Update dairy.json

* Update data/json/items/comestibles/dairy.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/comestibles/dairy.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/comestibles/junkfood.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/comestibles/junkfood.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update food.json

* Update data/json/itemgroups/Food/food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* weight and volume corrections

* calories change

* Update casseroles.json

* Apply suggestions from code review

* Update bread.json

* Update casseroles.json

* Update data/json/items/comestibles/casseroles.json

* Apply suggestions from code review

* Update bread.json

* Update data/json/items/comestibles/raw_veggy.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-12 18:52:22 -05:00
Tread4 f424b9cabf Allow NPCs to read E-books (#65935)
* Allow NPCs to read E-books

From now on NPCs are able to read e-books from suitable devices.

Device needs to be not broken, have some e-books in the memory, have at least 1 charge. Furthermore proper lighting conditions are required (NPCs do not turn on flashlight or screen  as player does).

* Update data/json/npcs/common_chat/TALK_COMMON_ALLY.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/game_inventory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/npc.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/npc.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/npc.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/npctalk.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/npctalk_funcs.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix Basic Build crash (unused variable) and fix battery charge requirement listed

* Another fix for basic build error

* Leftover commented-out code clean up (review follow-up)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 15:15:19 -05:00
Maleclypse 289ab6d46d Merge pull request #66101 from casswedson/no-dry-firing-tiredness
fix: dry firing practice recipes aren't tiring
2023-06-12 13:06:49 -05:00
Procyonae 50e56e6413 Delete cground.json 2023-06-12 18:16:22 +01:00
alef c7ac557f64 Use u8path in assure_dir_exist 2023-06-12 19:10:32 +02:00
alef 46adf3cbfd Removing libzip not required for dynamic linking 2023-06-12 19:10:32 +02:00
alef 891258a9dc Add more required libs to SDL2_image imported target 2023-06-12 19:10:32 +02:00
alef ea8dfc8be3 Add SDL2 targets for dynamic linking 2023-06-12 19:10:32 +02:00
alef 40643f9d4b Change workaround for fs::create_directory bug 2023-06-12 19:10:32 +02:00
alef 970cbd02ae Use the normalized directory path 2023-06-12 19:10:32 +02:00
alef f1a00d3095 Add a function to force an fs::path to a dir 2023-06-12 19:10:32 +02:00
alef 414739016d Dynamically link SDL2_mixer 2023-06-12 19:10:32 +02:00
alef e20e4eb418 Make lang/mo/ creation simpler 2023-06-12 19:10:32 +02:00
alef 4da81ca9bd Make Linux preset name refer to VCPKG
The presets inherits from the configuration not using VCPKG
2023-06-12 19:10:32 +02:00
alef 4ac5aa4cb0 Prefer MSBuild on Windows 2023-06-12 19:10:32 +02:00
alef bdd1c57f4e Use pkg-config to help finding mostly static libraries
The FindSDL2*.cmake modules create the *::*-static imported targets
like VCPKG does. This way we can reuse the same names and reduce the
complexity in the main and src CMakeLists.txt.
2023-06-12 19:10:32 +02:00
alef 98baf56b85 Reduce CMake configuration output for releases 2023-06-12 19:10:32 +02:00
alef 0e763846a9 Remove cmake_minimum_required from subdirectories 2023-06-12 19:10:32 +02:00
alef ca78cafd45 Compact presets. VCPKG_ROOT now an env variable 2023-06-12 19:10:32 +02:00
alef 7dbf766b8d Configure prefix.h.in earlier 2023-06-12 19:10:32 +02:00
alef 189be29e9d Use relative paths, use list append command 2023-06-12 19:10:32 +02:00
alef a4b9264bec Replace all system specific *_DIR with CMAKE_INSTALL_* 2023-06-12 19:10:32 +02:00
alef d586232248 Make USE_PREFIX_DATA_DIR option available to Unix only 2023-06-12 19:10:32 +02:00
Procyonae dab1b02270 Roof Palette Porting (#66105)
* Update animalpound.json

* Update animalshelter.json

* Update antique_store.json

* Ok one at a time seems silly

* A baker's dozen

* Two for tea + cleanup

* Larger palette swaps

* Minor corrections

* Underped s_candy

* Underped arcade

* Changes XEDRA's copy of hunting lodge roof
2023-06-12 11:26:28 -05:00
fairyarmadillo 3d7bf509af Shorten molt effect descriptions (#66154)
* Shorten descriptions

* Update effects.json
2023-06-12 09:17:47 -05:00
Skelly-Boi 87f4b5518e double space 2023-06-12 10:24:35 +00:00
Skelly-Boi ef34fcc3bf Update data/json/monsters/zed-animal.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 12:57:42 +03:00
Skelly-Boi a5d9e0fc20 redo 2023-06-12 09:57:15 +00:00
Skelly-Boi 75e5fdc893 spelling 2023-06-12 09:56:26 +00:00
Skelly-Boi e3d75aa5f3 Update data/json/monsters/zed-animal.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 12:54:11 +03:00
Skelly-Boi c5f70e2fb7 Update data/json/monsters/zed-animal.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 12:54:01 +03:00
Skelly-Boi 08f4e971a5 minor spelling mistake 2023-06-12 09:51:19 +00:00
Skelly-Boi 0d6356304f Merge branch 'Zombie_Sheep' of https://github.com/Skelly-Boi/Cataclysm-DDA into Zombie_Sheep 2023-06-12 09:49:42 +00:00
Skelly-Boi a6869f9f47 spell changes 2023-06-12 09:45:28 +00:00
Skelly-Boi 84f3256379 Update data/json/monsters/zed-animal.json
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-12 12:43:11 +03:00
Skelly-Boi 3470d72f85 spelling changes 2023-06-12 09:41:24 +00:00
Skelly-Boi 7f60a368d5 Update data/json/monsters/zed-animal.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 12:31:33 +03:00
Skelly-Boi 714eea19d9 Update data/json/monsters/zed-animal.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-12 12:31:27 +03:00
Skelly-Boi 2fac587af7 added zombie sheep and goat 2023-06-12 09:06:31 +00:00
Alexey 220f00e9bb Make vpart rotation closer match to other rotations 2023-06-12 11:53:57 +03:00
Alexey e7c6db6474 Add versioning to map memory regions 2023-06-12 11:53:57 +03:00
Alexey 6ac1d1d2f5 Trim some excess bits from memorized_tile 2023-06-12 11:53:56 +03:00
Alexey 91ed6ec743 Tidy map memory functions 2023-06-12 11:53:56 +03:00
Alexey 71a94a7a67 Make map memory separate terrain and decorations 2023-06-12 11:53:56 +03:00
Alexey 96f5fff313 Move symbol memory into memory_tile 2023-06-12 11:53:56 +03:00
Alexey 0d9471c588 Fluff; rename class and move implementations to cpp file 2023-06-12 11:53:56 +03:00
Alexey 47bf225bf4 Remove legacy map memory loader 2023-06-12 11:53:56 +03:00
Maleclypse 74fc504de6 Merge pull request #66145 from Procyonae/issueconfirmationperms
Give myself confirmation perms
2023-06-12 00:10:51 -05:00
Angela Graves 26ff42a120 Merge pull request #66146 from CleverRaven/tileset-updates
Routine tileset updates on 11 June 2023
2023-06-12 00:09:24 -05:00
Procyonae 88481f33b8 Initial Commit 2023-06-12 02:25:52 +01:00
casswedson 7f8f9dacc4 Routine tileset updates on 11 June 2023 2023-06-11 23:19:34 +00:00
anoobindisguise 6a7ecf032e Improve the loot of police armories (#66108)
* Create police_armory.json

* Update police_armory.json

* Update police_armory.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes

* fixes adjusts

* add police spawns

* stock the armory

* add a bit to prisons

* lower spawns somewhat

* lower spawns somewhat

* Update data/json/mapgen/police_station.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix generic guns issues

* Update police_armory.json

* 555555->333333

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 20:09:14 -03:00
anoobindisguise 4ddad3e82e Teargas spray (#65605)
* mace iuse effect

* teargas spray effect

* teargas spray

* teargas spray ammotype

* tear gas sprayer

* mace spray

* teargas spray spawns

* teargas spray spawns

* teargas spray spawns

* Update src/iuse.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool/misc.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes

* lower intensity of teargas

* Describe action

* dictionarize the words

* adjust volume for density test

* add teargas sprayer here

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 20:06:10 -03:00
anoobindisguise 1b2096d7fe Apply the welding audit to welding recipes (#64868)
* audit boards

* shocks/rebar weld

* alternator welds

* storage battery weld

* cargo welds

* doors welds

* engineering welds

* manual welds

* frame welds

* repair_welding_standard adjust

* repair_welding_standard fix

* repair_welding_standard fixes

* repair_welding_standard fixes

* repair_welding_standard fixes

* repair_welding_standard fixes

* wheel welds

* motor welds

* rams weldcosts

* seats welds

* tanks welding

* welds for utilities

* lots of reqs

* vehicle_bolt_install

* alterations

* Update data/json/vehicleparts/wheel.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/wheel.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* repair_welding_standard

* repair_welding_rebar

* adjusts

* adjustments

* adjusts

* changes

* engineering changes

* Update frames.json

* Update manual.json

* Update motor.json

* Update rams.json

* Update seats.json

* Update tanks.json

* Update utilities.json

* Update wheel.json

* adjust

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/boards.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/boards.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/engineering.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/rams.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/engineering.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/engineering.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/requirements/toolsets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/cargo.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/boards.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/boards.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/boards.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/cargo.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* astyling

* astyle

* spawn propane with max charges unless specified

* spawn with max charges by default

* default charges

* Update data/json/vehicleparts/vehicle_parts.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update frames.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix

* Update alternator.json

* fixes

* fix the test?

* make arc welders contain more batteries

* multitool's cost correction

* fixes

* Update workshop.json

* Update data/json/items/tool/workshop.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* storage battery

* Update vehicle_interact_test.cpp

* time reductions

* time reductions

* time reductions

* time reductions

* time reductions

* time reductions

* time reductions

* time reductions

* cost reductions

* requirements

* repair time reduction

* time reductions

* assign real cm values to weld crafts

* assign real cm values to weld crafts

* assign real cm values to weld recipes

* assign real cm values to welding recipes

* assign real cm values to weld recipes

* assign real cm values to weld recipes

* assign real cm values to weld recipes

* assig real cm values to weld recipes

* assign real cm values to welding recipes

* assign real cm values to welding recipes

* welding practice requirements

* apply real cm values to weld recipes

* apply real cm values to welding crafts

* apply real cm costs to welding recipes

* apply real cm costs to weld recipes

* apply real cm costs to weld recipes

* add real cm costs to welds

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* astyle

* Update parts.json

* fix duplicate entry

* fix error

* assign real cm values to weld constructions

* fix

* Update data/json/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/construction.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes

* Update mods.json

* nuts_bolts

* Update parts_rigs.json

* Update power_supplies.json

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update tests/vehicle_interact_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update tests/vehicle_interact_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update utilities.json

* undo

* fix

* fix a regression

* regression fixes more

* why are there so many regressions!?

* agony

* ammo: battery??

* TOOL_ARMOR

* Update vehicle_interact_test.cpp

* maybe fix?

* Update tanks.json

* add the ""s

* do not the ""s

* Update data/json/vehicleparts/tanks.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/vehicleparts/tanks.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* does the player need skill?

* torch costs

* will it fix?

* Update vehicle_interact_test.cpp

* Update tests/vehicle_interact_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update tests/vehicle_interact_test.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* Update vehicle_interact_test.cpp

* more welding_standard

* is this seriously what astyle wants

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update vehicle_interact_test.cpp

* try giving a ton of stuff again

* Update vehicle_interact_test.cpp

* force the mag rather than assuming default

* fixes

* fixes

* fixes

* fixes

* Update data/json/items/tool/science.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update science.json

* oxygen validation

* orderize

* Update science.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 20:05:10 -03:00
Procyonae 965ad73949 Garage Office Roof Fix (#66093)
* Initial commit

* Removed unnecessary additions and dealt with rest of file

* Made a whoopsie in my haste
2023-06-11 20:03:19 -03:00
carmakazi 74dbb66b90 Add new AR-10 magazines (#66133)
* Update 308.json

* Update 308.json

Add new magazines to AR10

* Update 223.json

Add new AR10 magazines to MDRX.

* Update magazines.json

Add new AR-10 magazines to itemgroups

* Update data/json/items/gun/308.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update gg_magazines_migration.json

Add new AR10 mags to GG migration

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 20:02:16 -03:00
Maleclypse 3bb54f4d83 [Xedra Evolved] Bugfix add Jotunn corpse (#66109)
* Update corpses.json

Update corpses.json

Update corpses.json

* Create recipes_deconstruction.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 20:00:26 -03:00
Procyonae 5787f83b0c Horse Farm Revamp (#65635)
* Initial commit

Riding helmet, dressage whip, riding crop and a horse trailer

* Adds a draft mutable to house the new farm

* Fix missing comma

* Updated Gig Carriage to use Reins and Tackle

Updated Gig Carriage to use Reins and Tackle. Before, it was using the same generic "controls" part as cars and such.

* Replace farm_horse with mutable

Obsoletes farm_horse and replaces it with a very rudimentary mutable map

* Updated several animal drawn veichles to use Reins and Tackle

Same as I did to the Gig Carriage before with the other carts. Before, it was using the same generic "controls" part as cars and such.

* Merge branch 'horsefarmrevamp' of https://github.com/Procyonae/Cataclysm-DDA into horsefarmrevamp

* Added entrance variants

Also made joins jigsaw like to stop multiple entrances being possible as well as allowing control over the growth of the mutable

* Renamed Horse Mutable to Farm Horse Mutable

* Added phase descriptions

* Update item damage values inline with #64386

Also catch some more naughty tabs

* Actually stop the old map spawning

I'm a dumbass

* Added (first draft attempt at) heavy duty yoke and harness

I got annoyed my yoke and harness kept breaking when playing... this is my first attempt at making any item, so there's almost certainly a billion things wrong.

* minor tweaks and fixes to heavy duty yoke and harness

after testing, fixed some issues and did some tweaks to what I did in the last commit

* more minor tweaks and fixes to heavy duty yoke and harness

After discussion and feedback, changed some things.

* Removed duplicate "to-hit"

* whopse used the wrong canvas for hd harness recepie

* Merge branch 'horsefarmrevamp' of https://github.com/Procyonae/Cataclysm-DDA into horsefarmrevamp

* Swaps out "tailoring_canvas_patchwork"

* Map progress

Adds placeholder maps for the ring, silo and track as well as adding a first draft of a forest gen phase

* Fixed riding helmet and updated the armour to the newer coverage system

* Added two basic tracks

Also reorganised the palette and added an extra phase to suppress errors

* Swaps wheel type out for new system

Not suggesting the values need stay the same

* Update obsoleted start location

Chose the stable to make sense for the cowboy start that it was added for, need to add any variants and may have to move depending on how zhorse spawns end up

* More map progress

Alters extra and house/stables connections to reserve their location with special_field
Removes phases made unnecessary by reserved land
Fills out entrance tiles' borders with special_field to avoid other mapgen and later tiles from filling the space unnaturally. May need to fill all of tile instead of just borders as forest trails can still be left
Adds paddock variants though most are currently unused
All extras and paddocks now use a simplified palette called "paddock" temporarily but will likely be merged back once I've worked on the house/stable and their extras
Removes farm_horse prefixes on names in farm_horse_mutable
Adds currently unused fence maps I were going to use for the borders instead of special_field but I'll probably remove them instead

* Added nested spawns for paddocks

Half arsed the house tile layout
Adds show jump (fence)
Renamed "horse_farm_*" to "farm_horse_*"
Changed forest gen to two phases

* Minor fixes to farm_nested

Forgot to open the game after saving like a wally

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply more suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Added show jump nests

Removed unnecessary terrain tags
Minor style change in ot agricutural

* Adds nests of jump nests

Corrected nested nests directions
Extends the paddock dividers so they overwrite any placed nested gates
Adds nests to paddock_1

* Apply suggestions from code review

* Add gate+divider nests to paddocks

Removed now nested gates and growth areas from paddocks
Rounded out some paddock's curves
Made some paddocks into building blocks
Renames paddocks based on shape to easier differentiate them though I'm not happy with them
Centred the ring map
Adds diagonal paddock dividers
Adds manure spawns and alternate feeder loot

* Added more nested map spawns to paddocks

Filled entrance tiles with special_field over just the borders to prevent stuff like caves/trails being left inside the tile

* Added trail phase

Works but still crashes but to forest phase so not set to spawn
Minor fixes to nested placements

* Added a few more connector tiles

Repurposed fence for fields that align with paddocks
Corrected some nested placements

* Added a few more connector tiles again

Added a couple more diagonal paddock maps

* Merged connector+end phases to limit map size

Also merges extra and farm_exit phase so failed connection errors are shorter
Changes relative weights to accommodate change

* Alternate fence (Reverted next commit)

Makes fence a single map with nests based on neighbours, no easy way to limit unwanted connections though so won't be used

* Adds back carriage house and house+stable roofs

Removes some unneeded overmaps
Reverts previous commit

* More map progress

Transposes house to face north
Adds a parking tile that connects to dirt_road_3way
Removed turnback connector roads because they spawn badly and don't add much
Rebalanced weights to favour extras more
Added nests for horses and to conditionally spawn vehicles based on neighbours
Replaced the temporary trail intersection with a proper one featuring nested spawns

* Removed the ability to construct show jumps

Recipe was based around the jumps being 1x1 but I settled on 1x3

* Ripped dirt_road_turnback out to farm_tiles

Renamed the paddock_end_*s so there's no missing paddock_end_2
Readded a space I didn't realise was needed for localisation purposes

* Misc minor changes

Corrected and simplified fence naming
Changed show jumps to be furniture and readded construction though I'm still not happy with it
Add cattle feeder terrain that allows items
Reduced the size of some nests

* Adds back place_loot items from original

Also lints bc I forgot to last commit

* Sommore map progress, enables forest spawning CTD

Adds back U-turns with some overhang to prevent nonsense spawns
Redoes the fence maps to be more compact
Updates mutable's flags
Fixes the fence error
Various minor adjustments to the mutable file

* Makes forest_end directional

* Remove edge_to_forest forest_to_edge connections

Unneeded and muddying CTD problem

* Made all open_air overmaps instead use special_air

Stops the forest CTD through them infinitely placing over each other \o/

* Various join fixes

Prevents trail ends from spawning in the wrong spots
Stops trail from doubling back parallel to itself so easily which looks dumb and immediately stop gen
Reinstates edge_to_forest/forest_to_edge joins bc I forget they totally are necessary
Prevents map from spawning over mapgen trails

* Renaming and simplifying

Removes an unnecessary map and renames a load of stuff to be more uniform
Rotates paddock_v_* to make more sense using the butt against/gap before naming that hopefully makes sense to more than just me
Finishes up the uturn tiles other than dealing with the inner fence problem
A couple of tiles might have incorrectly rotated paddocks

* Added a very minimal fence inner map

* Yadda yadda more changes

Changes pond_6x6 for a new natural variant bc paddocks don't have benches
Fixed various spawned rotations left over from changing building block rotations
Removes reversed variants bc they're adding lines for little gain
Made the single side tile simpler so it can spawn multiple times without looking off
Added final cleanup stage to deal with the trailhead spawning in dumb places and to (temporarily?) deal with roads facing each other
Combined fences into one pasture OMT and added a new special_field-esqe pasture tile to fill them in
Removed all poisson defined max's outside of trail and forest bc they just vary too much

* Fixed diagonal dividers

Readded them to the lower two L maps

* Removed paddock_end_DC

Used paddock_C in it's place and a conditional gate spawn to make it work

* Removes excessive gates

Cuts remaining references to end_DC
Adds pond spawns to diag maps

* Adds horse and pond animal spawns

* Silo changes

Removed ranch_camp's silo from the mutable
Added cattlefodder/straw to silo depending on placement
Silo now uses farm_lots palette

* Minor touch ups

Normalised nest names
Removed unused roads from entrance tiles
Corrected entrance 2
Normalised diagonal paddock and divider names
Made the silo use predecessor field
Made the trailhead tile stick out though I forget what the problem was that needed me to resolve this so it might be ineffective
Changed the misc tools in alignment with the docs
Removed unused characters from palettes

* Item spawns

Adds wardrobes to house and Isherwood house
Moves most items to the palette

* Tidy up

* Adds dirt road tiles to fill in collisions

* Forgot to lint :c

* Indents inner_to_outer and extrudes outer_to_inner joins

Prevents map from placing them over other maps, not sure how to handle trail/forest joins yet. Doesn't really seem to solve anything but seems more sensible.

* Shut up bot >:c

* Just removes a nest spawn

Forgot to remove haybales from feeders

* Completely changes trail/forest spawns

Bounds the z 10 special air maps used for joins the the z 0 footprint
Produces less natural looking forest placement and results in some regular forest being replaced by special_forest_thick but it seems better than the previous solution of tons of join maps floating about at the border of the map
Replaces the final tile of trail with the intersection tile to round it off nicer

* Bot be spiting me

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Noticed a whoopsie

* Removed unused map references

And sneaks in another paddock tile to make use of more corner paddocks ssh

* Minor tile alterations

* Fixes exit tile

Seems to have stopped spawning when I moved the joins

* Adds intersect tiles to accomodate trail alterations

* Tile tweaks

* reserved_field's OM from special_field to field

field_reserved purely exists to see where the house/stable/extra tiles spawn, swapped join order so those tiles spawn immediately

* Uses the last unused map

Changes a couple of weightings to make more sense

* Lowers riding helmet DPS

* Updates vehicle parts

---------

Co-authored-by: Rasmus Eide <armokorguest@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-11 19:59:50 -03:00
RenechCDDA bdf64bc15f Update flammability of some items (#66116) 2023-06-11 19:57:04 -03:00
Maleclypse a6a39a134f [Xedra Evolved] Deduction skill books (#66117)
* Deduction books

Update books_deduction.json

Update effect_on_condition.json

* Update effect_on_condition.json

* Update dictionary.txt

* fixes

* Update effect_on_condition.json

* Update books_deduction.json
2023-06-11 19:56:46 -03:00
SurFlurer aad5baf17f Cache a flag in Character::get_limb_score() (#66089)
* cache a flag

* kick tests again

* kick tests
2023-06-11 19:44:11 -03:00
RenechCDDA 01e0e24a6b Check range of *all* chunk placements (#66119) 2023-06-11 19:43:37 -03:00
anoobindisguise eb9d66c699 Make the kerosene recipe more accurate (#66124)
* Redo kerosene recipe

* increase weight of CCR and add battery slot

* Update data/json/items/tool/science.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-11 19:42:43 -03:00
Procyonae 6d6853052b Update comment-commands.yml 2023-06-11 23:42:15 +01:00
John Candlebury e40864f998 Merge pull request #66130 from Drew4484/Crashing-ship-polish
Crashing ship polish
2023-06-11 09:46:18 -06:00
Anton Simakov 083787d4c2 Update modinfo.json 2023-06-11 16:58:22 +02:00
Drew4484 093183092c Batteries for electrohack 2023-06-11 03:38:47 -07:00
Drew4484 8fb63d587f Crashing Ship Polish
Adds additional bombs, ensuring there is no safe space on the ship to ride out the explosion.
2023-06-11 02:56:30 -07:00
Angela Graves 602e9a2a65 Merge pull request #66107 from anoobindisguise/patch-7
Badges don't cover anything again
2023-06-11 01:14:09 -05:00
The Shadow Ferret ab31e82bdb Three new pipe rifles, nest the recipes 2023-06-11 00:10:25 -04:00
SurFlurer 4a3740dece Cache Character's radiation leak level (#66112)
* cache leak level
* Dedicated functions
2023-06-10 15:45:55 -07:00
Alexey 4f113f7206 Give swimmer DISIMMUNE trait in swim test (#66078) 2023-06-10 09:41:46 -03:00
Alexey 102697fc1e Move vehicle part variants to json (#65871)
* Move loose rams from vehicle_parts.json and tidy

* Reorder and add some symbols for good defaults

* Make wheel_small copy-from the actual part

* Move vpart variants to json

* Converted JSON for vehicle parts and prototypes

* Migrate ram_military pseudo variant

* Adjust saddle variants

* General clean ups and variants UI fixes

* Extract vpart_variants translation strings

* Update documentation
2023-06-10 11:41:16 +02:00
Dillon Matchett f0a465c00d remove dead code (#66097) 2023-06-10 11:13:24 +02:00
Angela Graves 3c4fd24ee4 Merge pull request #66106 from CleverRaven/i18n
Routine i18n updates on 10 June 2023
2023-06-10 00:10:57 -05:00
anoobindisguise f19164a04a increase volume slightly 2023-06-09 19:34:43 -07:00
anoobindisguise 4c781284c3 update description 2023-06-09 19:18:36 -07:00
anoobindisguise 3d956cf12a lower weight/volume 2023-06-09 19:17:29 -07:00
kevingranade 775bf19743 Routine i18n updates on 10 June 2023 2023-06-10 02:12:48 +00:00
anoobindisguise ee9f9d6de3 Badges don't cover anything again 2023-06-09 19:10:14 -07:00
casswedson 65a53c5984 fix: dry firing practice recipes aren't tiring
I think it makes sense to remove the BRISK_EXERCISE activity level from
dry firing practice recipes; what were you doing with those guns
2023-06-09 19:25:29 -05:00
Alexey 41f05da39b Fix vitamins test flaking out, fingers crossed (#66083) 2023-06-09 14:18:52 -03:00
Rewryte 8fe8c17e8a reference all the things 2023-06-09 23:39:37 +08:00
Rewryte e6237f874d typo 2023-06-09 23:20:39 +08:00
Rewryte 6a74aefb92 apply review suggestions
Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-06-09 23:20:21 +08:00
Rewryte 2f92a14d08 fix includes for curses 2023-06-09 23:11:46 +08:00
Venera3 f9dc830d3b Add conditionals to martial art techniques and audit techs to use them (#66034)
* First

Conditions, in-repo tech conditioning, documentation

lint

Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Tests

* Test, Clang

* Clang, material test failure

* Clangg

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-09 09:34:14 -03:00
Anton Simakov 2d1c24c9ff [Xedra Evolved] Perpetual stew of bugfixes and QoL (#65964)
* laser gunmods works with smg now

* add ray rifle in between of smg "ray gun" and "death ray", minor tweaks to laser weapon

* double the sparks rate, and make a clear message its time to research

* march lord's hoary blast is a line now, to prevent the fact AoE always ignore walls

* small shredder shotgun fixes

* tweaks in blocky pistol

* fix gunmods have 2 minutes to install

* fix bio warhead has 18h to craft, now only 1h

* new gunmod specifically for blocky pistol

* lint

* fix inventor armor disappear when battery ends

* Spatial awareness do not require hands

* Researching at night is easy (because you have a laptop)

* add `hyperboloid` for spell checker

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* bio warhead is ammo, not artifact

* fix undefined bot corpses

* rename ammo name to `bio warhead`

* small random gun tweaks

* fix dreamforged full helm fall in WEAPON category

* fix to small random gun tweaks

* Add simplified crafting recipes for matemax and elec ref sheet for inventor

* All research recipes are SECRET now

* fixes and cleanups in alchemy spells and potions

* replace few spells with direct EoC to give mutation

* Now player forget the recipe if it reached the end of research (uses #65917)

* blackout_rage_drink is not autolearned

* fix eat_dreamdross_ingot do not restore mana

* Boosts and tweaks for eater spells, as i find them a bit weak currently

* Night vision spell uses a night_vis limb score, also cleaning up and balancing the classless version of a spell

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-06-09 09:26:38 -03:00
Ruminator24 d971500cbb UPS no longer automatically gets drained (#66020)
* Update electronics.json

* Update electronics.json

* Update electronics.json

* Update electronics.json

* Update data/json/items/tool/electronics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool/electronics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool/electronics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool/electronics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update electronics.json

* Update electronics.json

* Update electronics.json

* Update migration_items.json

* Update migration_items.json

* Update electronics.json

* Update vehicle_interact_test.cpp

* Update electronics.json

* Update data/json/items/tool/electronics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/obsoletion/migration_items.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update tool_quality_test.cpp

* Update crafting_test.cpp

* Update npc_attack_test.cpp

* Update bionics_test.cpp

* Update electronics.json

* Update power_supplies.json

* Update activities_hobbies.json

* Update clothing.json

* Update gear.json

* Update defense_mode.json

* Update electronics.json

* Update lab_security.json

* Update locations.json

* Update locations_commercial.json

* Update main.json

* Update military.json

* Update science_and_tech.json

* Update shops_trades.json

* Update tools.json

* Update tool_armor.json

* Update microlab_special_tiles.json

* Update classes.json

* Update items_generic.json

* Update NC_SOLDIER.json

* Update robofac_intercom_missions.json

* Update nested.json

* Update tools_electronic.json

* Update electronics.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-09 09:24:55 -03:00
Rewryte 9e4ff331df remove unused param 2023-06-09 20:03:43 +08:00
Rewryte 28edc7acf9 better curses sprint char 2023-06-09 19:46:53 +08:00
Rewryte 5d67eb933a clean up 2023-06-09 16:55:57 +08:00
Rewryte fe6cd55ed7 make bash animations async 2023-06-09 15:38:54 +08:00
Rewryte de8b41d058 make sprinting animations async 2023-06-09 14:02:53 +08:00
Rewryte 9dc8354c3c add async animations 2023-06-09 14:02:02 +08:00
Angela Graves 25a1f1e04b Merge pull request #66056 from anoobindisguise/anoobindisguise-mp5tweaks
Give range bonuses to 9mm smgs
2023-06-09 00:13:42 -05:00
John Candlebury 68f90e5d61 Void Weaver adjustment set (#66051)
* Corrections for the Blackwood bow

* Better visibility for spawned loot

* Fix floors in subway ramp

* Ensure the cave can be properly escaped from

* Add Monolith to bow materials
2023-06-09 00:33:02 -03:00
LyleSY 9b63dff555 [DinoMod] fix NPC gear (#66062)
* Update NC_Red.json

* Create NPC_Old_Guard_RED_Soldier_1.json

* spawn old_guard_red_soldier s
2023-06-09 00:31:08 -03:00
anoobindisguise e3c6b70cdb Update data/json/items/gun/9mm.json
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-08 19:57:33 -07:00
Deep Velocity 55ac75f6a7 Merge branch 'CleverRaven:master' into master 2023-06-08 11:16:26 -04:00
andrei 615c2465f8 eoc_test: fix setup for EOC_recipe_test (#66064) 2023-06-08 12:05:14 -03:00
SurFlurer 60443c8e2b validate critter before calling its funcs (#65984) 2023-06-08 12:03:26 -03:00
andrei 1e833823d4 tgz_archiver: get file size from ifstream (#66028)
might fix a truncation error seen with mingw builds
2023-06-08 10:43:01 -03:00
Alexey 09b2dcda8a Faster stomach contents tests (#66061) 2023-06-08 10:41:16 -03:00
Alexey 4b87d7a0c0 Raise melee test margin (#66069) 2023-06-08 10:40:54 -03:00
SariusSkelrets 35cad5980e (Perks mod) Create the trouble seeker perk (#65164)
* Create trouble seeker perk, 2

* Create the trouble seeker trait, attempt 2

* Add functionnal messages

* Update data/mods/BombasticPerks/perkdata/troubleseeker.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Lint 1/3

* Lint 2/3

* Lint 3/3

* Update branch to main

* Lint again

* Remove unneeded message

* Remove unneeded message, part 2

* Revert "Update branch to main"

This reverts commit bc714bdbd4.

* Fix conflicts and update branch

* Update perkmenu.json

* Update data/mods/BombasticPerks/perks.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bombasticSlacks <dillon.matchett@gmail.com>
2023-06-08 10:09:12 -03:00
NetSysFire c199c1cb82 make no railstations mod default (#65584) 2023-06-08 14:47:43 +02:00
andrei fc3bc856da eoc_math: validate all math types (#66037) 2023-06-08 09:45:36 -03:00
LyleSY dc3ec41f1b [DinoMod] move Red (#65804)
* move Red to mass_grave

* Delete railroad_station.json

* Old Guard rep points to mass graves

* Fix_NPC_spawn.json
2023-06-08 11:28:11 +02:00
Angela Graves dec2385783 Merge pull request #66032 from irwiss/fix-bionic-errors
Fix error spam on missing bionic_ids
2023-06-08 00:29:10 -05:00
Alexey 07568a4005 Reduce tests output (#66042) 2023-06-07 21:00:35 -07:00
anoobindisguise ebaf0a2ad3 Adjust other smg ranges 2023-06-07 15:03:48 -07:00
anoobindisguise eb66c28376 Give mp5 range bonus 2023-06-07 13:33:33 -07:00
John Candlebury ec7537a482 Rework and expand NRE data recordings (#65957)
* Rework and expand NRE data features

* Fix typo in anomaly printout

* Description double space,
2023-06-07 19:22:42 +02:00
MorvarchPrincess a29fc36f66 Morvarchprincess/addknotweedtomorerecipies (#65977) 2023-06-07 08:45:31 -07:00
anoobindisguise 6a4dd561d6 change M249/M240 semi triggers to select fire (#65883)
* change M249/M240 semi triggers to select fire
* add gunsmith prof req to triggers
2023-06-07 08:19:16 -07:00
Angela Graves fd8bbfe5ec Merge pull request #66038 from harakka/no-cauterizing-soldering-iron
Remove reference to cauterizing from soldering iron description and health care help text
2023-06-07 00:26:22 -05:00
SurFlurer f649358ac1 Cache crafting speed's workbench multiplier (#66018)
* Cache workbench multipler

* typo and fix

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* typo and fix

* use a pointer parameter

* add a bool as recache indicator

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-06 21:43:11 -03:00
casswedson 6992735a69 expand common items found in vehicles (#66046)
I am bored with only finding jacks in the back of cars and _rarely_
large amounts of chocolate covered snacks

make a vehicle specific "toolbox" with different spawn logic and items
that I a non-vehicle owner would find useful, like screwdrivers, pliers
_and_ wrenches that spawn together cause they make a good team, duct
tape, lighting tools, cutting tools

expand the existing cat kit itemgroup to spawn be more interesting ie
spawn jerrycans along with funnels, but don't exclude a hose, include
the toolbox specified above and generally increase spawn changes

expand the misc cat itemgroup: increase spawn chances, split groups of
similar items into distributions

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-06 21:40:41 -03:00
Antti Riikonen 3d67ef61e3 Remove mention of cauterizing from wound care help text 2023-06-06 19:00:13 +03:00
Eric 56ac6a0fd0 Allow EOCs to forget recipes (#65917)
* Recipe changes

* Add test

* Update eoc_test.cpp

* Update eoc_test.cpp

* Update eoc_test.cpp
2023-06-06 12:27:11 -03:00
Antti Riikonen e151e4c556 Remove reference to cauterizing from soldering iron 2023-06-06 14:15:02 +00:00
Alexey 0bc3f47270 Add deleting vehicles option to debug menu (#65994) 2023-06-06 11:46:18 +02:00
Alexey eb4e83a05d Raise margin on albino focus loss test (#66029) 2023-06-06 11:44:33 +02:00
Rewryte bd8b8abd02 3D vision of lower levels with distance fog (#65738)
* main

* Fix draw order

* fix height_3d

* astyle

* comment code

* support custom fog texture

* update py and docs

* disable for isometric

details in code comments

* fix legacy code for iso

* remove void return

* Update src/cata_tiles.cpp

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* Update src/cata_tiles.cpp

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* variants and multitile support

* use constant

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* typo

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* limit draw depth

* optional legacy draw

* fix layering issues

replaces color_blocks with geometry renderer

* use t_open_air as fog sprite

draw_zlevel_overlay only used as fallback if sprite not found

* astyle

* Revert "update py and docs"

zlevel_fog is effectively replaced by t_open_air so these are no longer needed

* tidy up

* no fog in legacy mode

* remove redundant check

OVERMAP_DEPTH check already included in dont_draw_lower_floor

* tileset specific fixes

t_open_air can no longer be completely transparent, tr_ledge must now be assigned and transparent

* extend fallback fog to more tiles

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

* remove height_3d delta

it did not really achieve the intended effect.  also futureproof it for isometric.

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

* height_3d support

early work for isometric support

* Update options.cpp

Co-Authored-By: Jianxiang Wang (王健翔) <qrox@sina.com>

* fix fog on large sprites

reorders drawing so all tiles on the same layer are drawn at once.  also lays down foundation for isometric support.

* astyle

* Update options.cpp

setting FOV_3D as default leads to tests freezing indefinitely

---------

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-06 10:05:18 +02:00
Angela Graves 0250e97341 Merge pull request #66030 from Maleclypse/AFS-typo
AFS single line typo
2023-06-06 00:15:52 -05:00
Fris0uman 4468cacbc0 Tiring dodges (#64224)
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
Co-authored-by: Fris0uman <sthapplz@gmail.com>
Co-authored-by: I-am-Erk <I-am-Erk@users.noreply.github.com>
2023-06-05 18:29:15 -07:00
Alexey 00e4c1b4d0 Add bio_railgun -> bio_pitch_perfect migration 2023-06-06 03:38:22 +03:00
Alexey f5e41ae6ab Prevent excessive errors for missing bionic ids 2023-06-06 03:31:40 +03:00
Kamayana 1069a5b00f Replace return inside pocket loop with continue (#63709) 2023-06-05 17:20:34 -07:00
Drew4484 1d7f016df2 Aftershock Exosuit Module Fixes (#62456) 2023-06-05 16:10:32 -07:00
Drew4484 ee5b22a266 Aftershock Crashing Ship Start (#60820)
* Update professions.json

* Update professions.json

* Update professions.json

* Barracks draft

* Update professions.json

* Update crashing_ship.json

* Update professions.json

* Update scenarios.json

* Update professions.json

* Update professions.json

* Barracks and scenarios

* More scenario stuff

* Barracks layout and items

* Linting

* Update crashing_ship.json

* Add fire

* Locker spawns

* Convert to single 72x72

* Update crashing_ship.json

* Adds escape pods

* Number comments for clarity

* OMTs

* Escape pod shootout

* Update crashing_ship.json

* Label rooms

* Graffiti fix

* Update crashing_ship.json

* Overmap

* More OMT

* Lighting and consoles

* Consoles fix

* Vehicle Bay Adjustment

* Update crashing_ship.json

* Update crashing_ship.json

* Shootout and door changes

* Linting

* Mess hall item groups

* Spawns and OMT fix

* Lint

* Update item_groups.json

* Cardreaders

* Cards and loot spawns

* Exosuit bay and gantry appliance

* Update terrain_spaceship.json

* Exosuit itemgroups

* Lint

* Missing bracket

* Update flags.json

* Control room and item groups

* Actual For Real Exosuit Spawns

* Dictionary update

* Linting

* Add underlayer to basic exo group

* Update crashing_ship.json

* Cargo bay contents

* Update crashing_ship.json

* Layout updates, charges for extinguisher, hullseal foam, scenario updates

* Adjustment to walls, destroyed shuttle

* Charges for exosuit batteries

* Update crashing_ship.json

* Vacuum field, EVA underlayer buff, damaged workshop area

* Update exosuit_frame.json

* Update exosuit_frame.json

* Update exosuit_frame.json

* Eyes to Sensor

* Update terrain_spaceship.json

* Update terrain_spaceship.json

* Linting

* Update terrain_spaceship.json

* Update terrain_spaceship.json

* Escape Pod Trap

* Update crashing_ship.json

* Update traps.json

* Update crashing_ship.json

* Update crashing_ship.json

* Lint

* Escape Pod EOC

* Armory contents

* Update crashing_ship.json

* Update furniture.json

* Update furniture.json

* Update crashing_ship.json

* Update crashing_ship.json

* Update crashing_ship.json

* Update crashing_ship.json

* Update item_groups.json

* Update furniture.json

* Adjust bloodsplatter

* Update overmap_specials.json

* Ship polish

* Update item_groups.json

* Adjust ship spawn level to avoid triggering achievement

* Escape Pod EOC

* Update effects_on_condition.json

* Update spells.json

* Update data/mods/Aftershock/spells.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update spells.json

* Update spells.json

* Update spells.json

* Update spells.json

* Update crashing_ship.json

* Update effects_on_condition.json

* Update effects_on_condition.json

* Add roof to foamcrete floor seal

Prevent rain from falling inside the ship.

* Update effects_on_condition.json

* Rework escape pod EOC

* Update effects_on_condition.json

* Update effects_on_condition.json

* Flavor text explains why players can't bring lose items into escape pod

* Update field.json

* Fix "chance" to "prob" in itemgroups

* Update crashing_ship.json

* Update effects_on_condition.json

* Update effects_on_condition.json

* Update effects_on_condition.json

* Update effects_on_condition.json

* Stray comma

* Update crashing_ship.json

* Itemgroups and spawns

* EOC tweaks

* Update crashing_ship.json

* Update crashing_ship.json

* Restore motion sensor EOC

* Copy-from Rating profession

* Missing comma

* Update professions.json

* The Ship Is Going Down, The Ship Is Going Down

* Update item_groups.json

* Update crashing_ship.json

* Update terrain.json

* Update item_groups.json

* Update crashing_ship.json

* Update item_groups.json

* Update crashing_ship.json

* Update crashing_ship.json

* Terrain fixes

* Update effects_on_condition.json

* Sink ship

Move ship to underground

* Set timers

* Update crashing_ship.json

* Update scenarios.json

* Update terrain_spaceship.json

* Update terrain_spaceship.json

* Remove vacuum

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-05 16:02:36 -07:00
Maleclypse 7ceca8b4cb Update robots.json 2023-06-05 16:53:40 -05:00
Ruminator24 2212fb4f5e Update domestic.json (#65943) 2023-06-05 12:32:49 -07:00
Angela Graves 300ed70cc8 Merge pull request #65999 from SurFlurer/merch
Fix merch strap being old-currency
2023-06-05 13:28:32 -05:00
desu 5066bdbc6d Disable MOLLE compatible item attachment empty check. Remove all items from MOLLE compatible item after incorporating it into additional pockets. 2023-06-05 12:29:01 -04:00
Maleclypse d7d87835aa Apply suggestions from code review 2023-06-05 08:48:23 -05:00
Eric 4602415ecd Update dialogue_helpers.cpp (#65992) 2023-06-05 09:55:11 -03:00
Kevin Granade 2f357fa401 Routine tileset updates on 04 June 2023 (#66012)
Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-05 09:54:42 -03:00
Anton Simakov 0fe6d020da Overcomplicate disinfectant (#65951) 2023-06-05 09:49:29 -03:00
Joseph Rafael Ferrer d506c4bb2a Fix shady mercenary not taking human sample (#65968) 2023-06-05 09:48:35 -03:00
Maleclypse 199af1fae4 NPC shooting fix (#65998)
Co-authored-by: KheirFerrum <102964889+KheirFerrum@users.noreply.github.com>
2023-06-05 09:47:59 -03:00
Maleclypse 8a90dd34d1 TISH #71 (#66001)
Co-authored-by: Anton Burmistrov <11132525+Night-Pryanik@users.noreply.github.com>
2023-06-05 09:46:55 -03:00
CatWithFourEyes 1fc2894e85 Add Kel-Tec PLR16 (#65918)
* Add Kel-Tec PLR16

* Update guns.json

Fix wrong item ID's

* Update nested_guns.json

* Update data/json/items/gun/223.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Added GG support and underbarrel slot

* Update data/mods/Generic_Guns/firearms/gg_firearms_migration.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/gun/223.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update guns.json

lower spawnrate

* Update data/json/items/gun/223.json

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>

* Update 223.json

Re-added support for GG.

* Update data/json/items/gun/223.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/gun/223.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-05 09:45:26 -03:00
andrei c63c85f6cb math_parser: improve handling of dialogue functions (#65980)
* math_parser: implement real kwargs

* options/eoc: fix segfault in game_option()

* math_parser: hold diag functions in a map

map::find is more efficient for a container of this size

also reduces churn when adding functions
2023-06-05 09:20:26 -03:00
casswedson 48bb2a489d prefer \"\" over “” (#66009)
enforce use of " over the other ”, since they were far less common and
consistency is important

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-06-05 09:16:38 -03:00
David Seguin a581ed05b7 Weekly Changelog 2023-05-29 to 2023-06-05 2023-06-05 01:11:52 +00:00
Angela Graves a307843ba0 Merge pull request #65987 from Dan1ss1mo/typo
Small typo fix
2023-06-04 00:30:05 -05:00
Surflurer 0abaa42f7a merch fix
Co-authored-by: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com>
2023-06-04 09:23:49 +08:00
Dan1ss1mo cdd03fe3fa Update brigandine.json 2023-06-03 18:45:37 +03:00
Angela Graves 5325c6e4e4 Merge pull request #65978 from CleverRaven/i18n
Routine i18n updates on 03 June 2023
2023-06-03 00:23:30 -05:00
kevingranade 7c09fa7653 Routine i18n updates on 03 June 2023 2023-06-03 02:13:52 +00:00
Veskaida 624645d320 Update zed_explosive.json
Removed path_avoid_danger_1 from Boomer and Huge Boomer
2023-06-02 15:39:33 -07:00
KHeket 464a535543 Fix energy consumption and size of few mini appliances (#65857)
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2023-06-02 14:18:55 -07:00
Kevin Granade cb91dd7828 Merge pull request #65908 from CleverRaven/changelog-weekly-2023-05-29
Weekly Changelog 2023-05-22 to 2023-05-29
2023-06-02 08:02:13 -07:00
Maleclypse 4ac72bf959 Sarma Calorie fix (#65947)
* Sarma Calorie fix

* Update data/json/items/comestibles/meat_dishes.json
2023-06-02 15:49:12 +02:00
Maleclypse 15864ef716 Update helmets.json (#65969) 2023-06-02 15:46:34 +02:00
Anton Simakov 05abda0d63 no_hallu (#65971) 2023-06-02 15:45:53 +02:00
Angela Graves 720e33f259 Merge pull request #65961 from CatWithFourEyes/Suppressors
Changes to suppressors damage reduction
2023-06-02 00:22:25 -05:00
Dillon Matchett 1484ebeee9 Perk Fixes (#65966) 2023-06-01 20:37:10 -04:00
LordBarkBread 3fed470da7 Simply Grits (#65948)
* Simply Grits

Adds in Grits and Cheese Grits.

* Update recipe_food.json

* Update data/json/items/comestibles/wheat.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/recipe_food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/recipe_food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/recipe_food.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update recipe_food.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-01 19:02:20 -04:00
Dillon Matchett ca495539c2 [Bombastic Perks] Playstyle perks (#65334)
* Playstyle Perks

* Update data/mods/BombasticPerks/perks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Spelling fix

* scope fix

* Fixes For Jugg

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-06-01 18:56:16 -04:00
CatWithFourEyes 6c1635c0a0 Suppressors damage reduction 2023-06-01 17:49:45 +03:00
David Seguin 50f00e930e [deadly bites] antivirals only spawn in medical contexts (#65936) 2023-06-01 09:56:20 -03:00
Angela Graves 16286e4676 Merge pull request #65955 from Daved27hundred/kicks-u-out-of-this-dimension
removes H&K G80 from military itemgroups
2023-06-01 00:40:48 -05:00
ZigVert 67b8db5249 yeet 2023-05-31 22:39:01 -04:00
anoobindisguise 45af968991 increase heavy steel plate enc to 3 (#65949) 2023-05-31 20:48:49 -03:00
Maleclypse daeb01c536 Update library.json (#65945) 2023-05-31 12:11:39 -04:00
Maleclypse 37ce55a493 XE Alchemy Perks (#65311)
* XE Perks

lint

* Alchemy1 stuff

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update ethereal_items.json

* Update alchemy.json

* Apply suggestions from code review

* Update ethereal_items.json

* Update ethereal_items.json

* Update perk_menu.json

* Fixes

* OK let's see if alchemy 1 works

* Update data/mods/Xedra_Evolved/perks/perk_data/Alchemy1.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update effects.json

Update effects.json

Update alchemy.json

* Update Alchemy1.json

* Update alchemy.json

* Fixes

* Further Alchemy perks

Lint

Update effects.json

* Cold Iron Damage and flags

lint

* Ironwrought

* Moar

* Update data/mods/Xedra_Evolved/recipes/category.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Dictionary and sixdust

spawns

Update itemgroups.json

dust and charm

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/alchemy.json

* alchemy 3

alchemy 3

lint

* fixes

fix

Update alchemy.json

* Update data/mods/Xedra_Evolved/items/alchemy.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* lint

* Update cold_iron.json

* lint

* Update cold_iron.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/comestibles/med.json

* Create mutation_type.json

* Update mutations.json

* Revert "Update mutations.json"

This reverts commit c703166df2.

* Revert "Create mutation_type.json"

This reverts commit 8a8681ad33.

* Saints blood

* Update effects.json

* Life extension potion

* Update effects.json

* Extended life

* potions

* Update item_spells.json

* Level 4

* Fix

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix

* Work on level 5

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/recipes/alchemy.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove level 5 Alchemy work

* Update data/mods/Xedra_Evolved/furniture_and_terrain/furniture-plants.json

* Apply suggestions from code review

* Update data/mods/Xedra_Evolved/items/alchemy.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update alchemy.json

* cold iron fixes

* fixes

Lint

fixes

* Last fixes

Update damage_types.json

Update Alchemy1.json

* Update README.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-31 12:07:27 -04:00
MrDraMaster b7ff8042fe Rework wallet pocket restrictions (#65937)
* add *_SHAPED flags

* assign *_SHAPED flags

* convert item_restriction to matching flag_restriction

* add *_SHAPED flags to JSON_FLAGS.md

* fix `wallet_large` card sleeves pocket
2023-05-31 12:02:52 -04:00
John Bytheway d422a41ed0 Enable clang-analyzer checks (#65902)
* Enable clang-analyzer checks

Re-enable three clang-analyzer checks that were disabled in the move to
LLVM16.

These caused four warnings: two were genuine (failing to check the
return value from getenv for being NULL); the other two seem to be
false-positives which I've suppressed.

* Remove duplicate setUsername call.
2023-05-31 12:00:35 -04:00
Maleclypse 16107c426a Banishes are dreamer spells (#65941) 2023-05-31 11:58:36 -04:00
Jianxiang Wang (王健翔) 21f0f13203 Fix incorrect translation context (#65946) 2023-05-31 11:57:30 -04:00
Angela Graves f209d2abd6 Merge pull request #65938 from dseguin/debugmsg_oopsie
Small debugmsg argument fix
2023-05-31 00:17:22 -05:00
andrei 4ece8096c5 eoc_math: disallow assign ops in cond. statements (#65929) 2023-05-31 00:31:42 -04:00
OmegaCenti 989f8b4532 removed obsolete chainmail entries from Blacksmith's inventory (#65887)
* Updated Blacksmith's chainmail to junk chain instead of obsolete chain

* deleted obsoleted entries from blacksmith inventory
2023-05-30 19:33:21 -04:00
Terrorforge 09d6d71170 Clarify low calorie messages (#65913) 2023-05-30 19:29:56 -04:00
Ruminator24 d89660553e Motorcycle helmet fix (#65923)
* Update helmets.json

* Update helmets.json

* Update data/json/items/armor/helmets.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update helmets.json

* Update helmets.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 19:19:29 -04:00
Miner239 7b4fb645f9 Revert "makeshift electrolyzer shouldn't contain lye (#65820)" (#65910)
This reverts commit f8343f7c68.
2023-05-30 19:18:38 -04:00
Eric f987d8485f Improve EOC error reporting (#65510)
* Handle

* Build

* Update dialogue_helpers.cpp
2023-05-30 19:17:18 -04:00
LightDimf 680c0955b7 Moving enchantments from Magiclysm classes to separated JSON and repl… (#65876)
* Moving enchantments from Magiclysm classes to separated JSON and replacing "arithmetic" with "math"

* Update data/mods/Magiclysm/enchantments/Basic_Classes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/enchantments/Basic_Classes.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Text formating for PR

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 18:32:35 -04:00
NetSysFire bb6b6974e4 Civilians: bugfixes (#65888)
* civilian bugfixes

* sigh, lint
2023-05-30 18:30:19 -04:00
SurFlurer 225f62d15f Fix Godco's usage of u_has_var and npc_has_var (#65895)
* fix set_has_var and Julian dialogue

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Revert the original fix

* Fix u_has_var's usage

* Fix godco usage of xx_has_var and add a check for it

* Clang-tidy

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-30 18:26:51 -04:00
David Seguin da907ee859 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-30 18:25:39 -04:00
casswedson b04753a158 fix: some furniture gives too many nuts & bolts (#65922)
cached this on the latest episode of rycon's cataclysm let's play,
smashed something or another and it gave 100 nuts and bolts; oh I know
this old girl

bug related to spawning items with a large default `count` and
`stack_size` with `count` in itemgroups or some other method of spawning
items

use `charges` when spawning nuts&bolts as a product of smashing furniture

grep around for bash and deconstruct arrays, looking for mentions of
nuts&bolts and `count`

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-30 18:19:07 -04:00
Kamayana 39b2572098 Check for existing cable pockets before creating one (#65926) 2023-05-30 18:16:08 -04:00
David Seguin 49c1fa0084 damage_type: fix debugmsg arguments 2023-05-30 18:03:16 -04:00
Angela Graves dc4fd35c15 Merge pull request #65852 from TimPollard/gun_random_capacity_rework
Using default mags to calculate max capacity for guns with random ammo
2023-05-30 00:08:19 -05:00
Maxime Bouillot 9ffcd2bb42 Disable buggy warnings (#65542)
* Rename variable called requires

As this is a keyword in C++20, it should be used
to name a variable.

* Disable dangling reference warning

GCC 13 reports false positives of this warning.

* Disable c++20 compatibility warnings

As suggested by andrei8l
2023-05-29 21:34:56 -04:00
OmegaCenti a56edc859b removing leftovers of bionics from doctor's office (#65885)
* Removed bionics remnants from office_doctor

* Removed Bionics remnants from no hope mod as well

The vanilla version remnants are removed in the same branch

* Revert "Removed Bionics remnants from no hope mod as well"

This reverts commit 55fe2789e9.
2023-05-29 19:44:02 -04:00
anoobindisguise bb173bc512 Isolated artisan turrets don't shoot at vehicles (#65882) 2023-05-29 19:41:54 -04:00
andrejlevkovitch c3e3fce67a fix missing include in crash.cpp (#65872)
g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
2023-05-29 19:41:31 -04:00
John Bytheway 271b0b9319 clean-pch should clean test pch too (#65893)
There was already a clean-pch target in the Makefile, but it only
cleaned the top-level pch files.

With this change, it also cleans the pch files within tests.
2023-05-29 19:22:27 -04:00
SurFlurer 16eb5f14e8 Add SurFlurer to comment-commands.yml (#65886) 2023-05-29 19:14:11 -04:00
OmegaCenti c5ffbed7df Added crude heating element alternatives with a 50% extra cost over normal elements (#65884)
* Added crude heating element alternatives

added crude heating element alternatives to places it made sense to allow crude heating elements or heating elements

* Updated crude heating elements to  extra 50% cost over normal elements
2023-05-29 19:13:47 -04:00
casswedson 11e2bc9634 fix: don't spawn zombies as mechanic mail carriers (#65878)
distributions and collections are hard bro

move stuff around so zombie spawns are as follows:
distribution of just regular zed clothes and a distribution of
collections containing profession flavored clothes and items

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-29 19:08:42 -04:00
Bence 917a717ae0 Overmap special flag audit (#65865)
* manmade wilderness

* Update data/json/overmap/overmap_mutable/homeless_camp_mutable.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-29 19:04:33 -04:00
Tread4 5d9714e7b3 Fix stop of NPC disassembly job while on other Z-lvl (fix #52008) (#65835)
* Prevent stop of NPC disassembly while on other Z-lvl

Add is_avatar() check for crafting/disassembly actions to allow NPCs those actions while on different Z-lvl than player. Normally it was breaking due to lack of light (light calculated only for player Z-lvl)

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/crafting.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/crafting.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* 2nd approach - Fix NPCs cancelling disassembly job while on other Z-lvl

Different take on the same problem - not introducing "allow NPCs crafting in the darkness" bug.

* Revert "2nd approach - Fix NPCs cancelling disassembly job while on other Z-lvl"

This reverts commit 45e675f511.

* 2nd approach - Fix NPCs cancelling disassembly job while on different Z-level

Another approach - one not introducing its own bug (NPCs being able to craft in the dark).
Same as last (reverted) commit, but files are placed where they should.

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/crafting.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update do_turn.cpp

* Update src/do_turn.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-29 19:01:53 -04:00
John Bytheway 1892ad8957 Enable performance-inefficient-vector-operation (#65892)
Enable the clang-tidy check performance-inefficient-vector-operation.
This suggests vector reserve calls before a loops where push_back is
called repeatedly.  This saves reallocations and moves, improving
performance.

All these changes were performed automatically by clang-tidy.
2023-05-29 18:43:39 -04:00
alef cad26af03c #65794 Remove mx_supplydrop (#65894)
* #65794 Remove mx_supplydrop

* Obey clang-tidy
2023-05-29 18:42:13 -04:00
alef 63259ca305 Allow to close the overmap with default 'm' key (#65896)
Add "QUIT" in category "OVERMAP" as a local keybinding.
The 'm' key is NOT taken from "View map" key in main game.
2023-05-29 18:39:34 -04:00
Kamayana 62eeaa650e Make car batteries valid cable system connections (#65899) 2023-05-29 18:37:45 -04:00
alef bfd0721316 Not attach the bag if too heavy (#65901)
* Not attach the bag if too heavy

Closes #65448

* Attempt to anticipate clang-tidy

* Update src/monexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-29 18:34:42 -04:00
Miner239 65348614ef add JUMPSTART to jumper cable (#65912) 2023-05-29 18:33:19 -04:00
SurFlurer a8dfe976f6 perform truncation after conversion (#65916) 2023-05-29 18:31:49 -04:00
Eric 8e5d96a65c Update spells.json (#65920) 2023-05-29 18:27:39 -04:00
LordBarkBread 3d418d2434 Fix national flags (#65877)
* Update cloaks.json

* Update cloaks.json

* Update cloaks.json

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
2023-05-29 18:26:43 -04:00
The Shadow Ferret 289bef8360 Two builder professions, in log & adobe flavors
I hate points I hate points :p
2023-05-29 17:21:40 -04:00
TheShadowFerret fdf6e715c3 Thanks for the lint bot
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-29 15:14:28 -04:00
The Shadow Ferret 19fdf5add9 Five profs, three new 2023-05-29 15:14:28 -04:00
The Shadow Ferret ce5c726111 Enough music already 2023-05-29 15:14:28 -04:00
The Shadow Ferret 019507cedf Remove Goat (Wo)man's futuretech
No phone or jeans, give wooden bucket
2023-05-29 15:14:28 -04:00
The Shadow Ferret bd724dc794 Yeet the professions 2023-05-29 15:14:28 -04:00
The Shadow Ferret 2d448a65cc [Innawoods] Scenario changes
-Removed additional profs on late start due to futuretech
-Foodplace(TM) doesn't exist in the woods
-Typo


Disclaimer on Car Crash
2023-05-29 15:14:28 -04:00
Maleclypse 15aa191e8d Apply suggestions from code review 2023-05-29 11:08:16 -05:00
Maleclypse 9fcc7dd6fe Apply suggestions from code review 2023-05-29 11:05:07 -05:00
Angela Graves c038a17050 Merge pull request #65906 from CleverRaven/tileset-updates
Routine tileset updates on 28 May 2023
2023-05-29 01:01:00 -05:00
David Seguin 08d1d4350e Weekly Changelog 2023-05-22 to 2023-05-29 2023-05-29 01:11:51 +00:00
casswedson 0f9f56fb23 Routine tileset updates on 28 May 2023 2023-05-28 23:01:03 +00:00
Tread4 4f70c47b1c Refugee Center dialogue fix - Rhyzaea Johnny - Slovakia/Slovenia (#65873)
Rhyzaea Johnny mentiones visiting coastal forests in Slovakia. It is a landlocked country, so if in world of Cataclysm (before Cataclysm, so he had chance to visit) nothing majored happened, that gave Sloviakia access to see, it should be straight impossible.

I suppose it might be the case of simple mixup of Slovakia and Slovenia. This second country is indeed coastal and as far as I checked it have some coastal forests.
2023-05-28 10:04:22 +02:00
Kamayana dbcd9a3ce9 Connect items to electrical grid; improved cables (#64334)
* Move power cord from appliances to cables; rename POWER_CORD flag to AUTO_CABLE

* Add message when attaching extension cord

* Fix shift() calling actualize too early

* Remove unnecessary variable

* Use variable for has_item; spacing

* Change ordering in preparation

* Reel in disconnected cables when picking them up again

* Add CABLE pocket type

* Add device power cord

* Add PLUG_IN action to laptop

* Rewrote process_cable to allow cables to stay active outside player inventory

* Have device plugged into electrical grid gain battery charge

* Revamp finding active cables for processing, instead find via plugged in devices. Much more CPU efficient.

* Reset cable max charges read variable

* Add variables for cable charge inverval and efficiency

* Add a warning when a carried cable is stretched to its limit

* Change plug_in from iuse to an iuse_actor

* Adjust cable messages

* Add const version of cables()

* get_cable_target() use const p to be usable in more places

* Add ammo_sufficient() overload that checks connected electrical grid, use in invoke_item

* ammo_consume draw power from connected grid

* Calculate charge interval by wattage

* astyle

* Make cable length more intuitive

* Lowered plug in movecost

* Fix cable reference

* Add TODO

* Adjust cable CBM message wording

* Change all cable state names to be more descriptive

* Reuse plugged in tag

* Don't collate plugged in items

* Don't spill cable pockets

* Update lit laptop's cable wattage

* Copy EBOOK pocket for CABLE pocket

* Add CABLE_PORTS tag for vehicle parts that should accept cable connections

* Add unplug functionality

* Create cable_link struct for containing information about cable links. Replaces get_cable_target and most of the cable item variables

* Remove cables properly via container processing

* Improve feedback for plug in action, such as highlighting valid tiles

* Remove bracket I missed

* Plug in item before processing it

* Update cable connection points when their connected vehicle moves

* Truncation

* Replace remaining cable variable usage

* Only give loose cable alert once

* If a cable exists already, use it to plug in

* Rename wattage to charge_rate, adjust jo loading

* Move cable reference addition after everything

* Cable link power draw

* Include tool power draw

* Cable debug message

* Reuse variable

* Move cable_link state to top

* Item active power draw

* Add a "check links" bool to ammo_remaining to ensure the inclusion of cabled ammo only affects functions we want it to

* Moved cable_state enum to enums.h/item_factory and adjusted it

* Serialization of cable variables

* Move cable handling from vehicles to the map; made cable loading more robust

* Add vehicle item processing to actualize, so cables inside vehicles don't break when entering the reality bubble

* Add TODO

* Add debug_mode check

* Move max length to cable struct for optimization

* Missing std namespace

* Only process cables when they're fully in bounds

* Serialize max_length

* Make Minimum cable slack 0 instead of 1

* Disable spooling time for now

* Use absolute charge_rate for interval

* Move remaining cable item vars to the struct

* Moved linked battery charging to its own function; improved efficiency by checking interval early; added negative power draw functionality to allow charging vehicles with linked items

* Add warning about cables longer than the reality bubble

* Rename AUTO_CABLE to AUTO_DELETE_CABLE - better name for what it is; replace some uses of it to use CABLE_SPOOL instead

* astyle

* Unified cable language, all cable items are "cable" and connecting them "link"

* Documentation for link up action

* Add some more error messages

* Use label instead of tname to stop incongruous messages like "device (plugged in) has become disconnected!"

* More info

* JSON lint

* Tag rename in tests

* Added smartphone cable again

* Update part function

* Simplify setup link

* Add time processing to battery drain; will now only drain once a turn, and will drain extra for time spent outside reality bubble

* Add safe_reference functionality to vehicle

* Fix charge_linked_batteries to return consistent charge values in spite of staggered charge timing

* BIG rewrite, focused on simplification, optimization, and adding comments to everything.

* More documentation.

* astyle

* Made debug cable even longer, since cables can now be longer than the reality bubble. Added "debug" to name to make it easier to find for testing

* Rebase fixes

* Moved cables.json from \vehicle to \tool

* AUTO_DELETE_CABLE doc

* std::optional update

* nullptr parent_item check

* net_battery_charge_rate always add cable link power

* Use vehicle pointers for cable power transfer

* remove comment

* Update src/iuse_actor.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove prev_state since it's unused

* Make link data use value_ptr

* Set vehicle pointer on load

* Move link debugmsg to reset_cable

* Move turns elapsed into the parent_item section since nothing else uses it

* Only initialize link when needed

* Also exit active cable early with no_attachments

* Unified all cable use functions; split cable state in two for each side of the link; renamed some things

* Made tow cables not disconnect when unrelated parts are removed

* Process solarpacks like the UPS

* Don't allow linking already linked vehicles

* Add valid vp check to cables

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix test types

* Separating && statement

* Add reeling activity for long disconnected cables

* Better info for cable action description

* Rebase cleanup

* Refining documentation

* Split vehicle connections between dashboard ports and battery; jumper cables only attach to batteries, other cables only to ports

* Fix compilation errors

* Cable VP unmount now removes remote parts and drops undamaged item

* Disconnect cables when cabled vehicle gets racked

* Tone down loose cable message

* Disable single target autoselection feature for cable linking specifically

* Move parent item disconnect earlier

* Update comments

* Misc fixes

* Change link_up default targets

* Remove rendundant cable_links parameter from ammo_remaining

* Make cabled devices use reeling activity

* Make cable pockets automatically created for non-cable items with link_up actions, to avoid having to add the same exact CABLE pocket to every single device with link_up

* Add link_up action to eink tablet, mp3 player, and portable game

* Add NOLINT(cata-serialize)

* Remove unneeded includes

* NOLINT

* Separate && and ||

* Refine menu collation for cables

* Re-add the cable_links parameter for ammo_remaining

* Remove unneeded parameter

* Update vehicle part functions

* Re-add unlubricated

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-28 10:03:52 +02:00
Angela Graves 81bef9288c Merge pull request #65874 from KittyTac/patch-12
Forest floor should look like moss and not tall grass
2023-05-28 02:10:35 -05:00
KittyTac 53ccc24304 Update terrain-floors-outdoors.json 2023-05-27 21:32:18 +07:00
KittyTac e06cfceb93 Update terrain-floors-outdoors.json 2023-05-27 18:34:37 +07:00
Dan1ss1mo cbf5743b63 Brigandine armor and some more chainmail tweaks (#61524)
* brigandine vests

* armguards

* Update brigandine

* leg guards

* adjust vests thicknes

adjust steel thicknes of vests according to forgeofsvan brigandines, still not sure about thicknes of leather

* Update brigandine

Turns out pretty much the entire vest is cover my steel plates, so steel coverege was increased to be the same as leather

* Change steel thikness for arm and leg guards

It seemt that brigandine plates atleast 1 mm. Ther is also 1.5 variants on forgeofsvan, may add them later

* brigandine gloves

* Update brigandine

* Update brigandine

* Update brigandine

* Update brigandine

* Update brigandine

* Update brigandine

* Update data/json/items/armor/brigandine

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update brigandine

* Update brigandine

* Update brigandine

* Update brigandine

* Update torso.json

* Update arms.json

* Update legs.json

* Update hands.json

* Update hands.json

* Update hands.json

* Update brigandine

* Update brigandine

* Update data/json/recipes/armor/torso.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/hands.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/arms.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/recipes/armor/arms.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update brigandine

* Update brigandine

* Update brigandine

* Update brigandine

* Update arms.json

* Update torso.json

* Update legs.json

* Create chainmail

* Delete brigandine

* Update arms_armor.json

* Update legs_armor.json

* Update torso_armor.json

* Update suits_protection.json

* Update flags.json

* Update suits_protection.json

* Update chainmail

* Rename chainmail to chainmail.json

* Update chainmail.json

* Update arms_armor.json

* Update chainmail.json

* Update legs_armor.json

* Update suits_protection.json

* Update suits_protection.json

* Update torso_armor.json

* Update suits_protection.json

* Update and rename chainmail.json to brigandine.json

* Update arms_armor.json

* Update legs_armor.json

* Update torso_armor.json

* Update suits_protection.json

* Update suits_protection.json

* Update suits_protection.json

* Update suits_protection.json

* Update suit.json

* Update nested.json

* Update nested.json

* Update suit.json

* Update arms_armor.json

* Update suit.json

* Update arms_armor.json

* Update suit.json

* Update nested.json

* Update brigandine.json

* Update brigandine.json

* Update suits_protection.json

* Update suit.json

* Update suit.json

* Update suits_protection.json

* Update hands.json

* Update suit.json

* Update suit.json

* Update nested.json

* Update arms.json

* Update nested.json

* Update arms.json

* Update arms.json

* Update nested.json

* Update legs.json

* Update legs.json

* Update nested.json

* Update torso.json

* Update brigandine.json

* Update nested.json

* Update brigandine.json

* Update torso.json

* Update torso.json

* Update brigandine.json

* Update torso.json

* Update brigandine.json

* Update nested.json

* Update nested.json

* Update dictionary.txt

* Update nested.json

* Update nested.json

* Update brigandine.json

* Update nested.json

* Update flags.json

* Update boots.json

* Update gloves.json

* Update brigandine.json

* Update arms_armor.json

* Update legs_armor.json

* Update suits_protection.json

* Update torso_armor.json

* Update arms_armor.json

* Update legs_armor.json

* Update suits_protection.json

* Update torso_armor.json

* Update arms_armor.json

* Update legs_armor.json

* Update torso_armor.json

* Update suits_protection.json

* Update arms.json

* fuck copy from

* i hate myself

* I swear i linted it before

* god damn it

* more fixes

* Update suit.json

* Update data/json/items/armor/suits_protection.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update brigandine.json

* missin recipes

* Update hands.json

* nestied stuff

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 02:19:36 -04:00
Angela Graves 3a99105a43 Merge pull request #65832 from CleverRaven/update-toc
Update the table of contents in doc/JSON_INFO.md
2023-05-27 00:09:20 -05:00
Kevin Granade 6619b31e3a Routine i18n updates on 27 May 2023 (#65869)
Co-authored-by: kevingranade <kevingranade@users.noreply.github.com>
2023-05-26 23:02:36 -04:00
Jackody2 e8bef86f35 Creation of a new library variant (#65390)
* Update library.json

* Update data/json/mapgen/library.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/library.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update overmap_terrain_public_institutional.json

* Update multitile_city_buildings.json

* Update regional_map_settings.json

* Update start_locations.json

* Update regional_map_settings.json

* Update regional_map_settings.json

* Update library.json

* Update library.json

* Update library.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 22:59:27 -04:00
anoobindisguise c25988e02a Disarming telepad is trivial when anchored (#65685)
* telepad disarm is trivial when anchored

* Update iexamine.cpp

* Update iexamine.cpp

* Update iexamine.cpp

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update iexamine.cpp

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update iexamine.cpp

* Update iexamine.cpp

* Update iexamine.cpp

* Update src/iexamine.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 22:58:16 -04:00
cosmo-naut a1bf005da9 Mutagenic Slurry decays into appropriate types (#65771)
* Removed medical from mutagenic slurry, added others

* alphabetised vitamin
2023-05-26 22:56:52 -04:00
bug-sniper f9b75ef0ca Update terrain-manufactured.json (#65859)
* Update terrain-manufactured.json

Add hoses from destroyed fuel pumps

* Update data/json/furniture_and_terrain/terrain-manufactured.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 22:56:11 -04:00
LordBarkBread a04559b72b National Flags V2 Flags Hullabaloo (#65839)
* Adding national flags

Finally adds in ALL national flags

* Update mansion.json

* Update map_extras.json

* Update collections_domestic.json

* Update stashes.json

* Update cloaks.json

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update cloaks.json

* Update cloaks.json

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: CalamityKing <50556426+CalamityKing@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: CalamityKing <50556426+CalamityKing@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: CalamityKing <50556426+CalamityKing@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update data/json/items/armor/cloaks.json

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>

* Update dictionary.txt

* Update cloaks.json

* Update cloaks.json

* Update dictionary.txt

---------

Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: CalamityKing <50556426+CalamityKing@users.noreply.github.com>
2023-05-26 22:49:30 -04:00
John Bytheway 961a10146e Enable clang-tidy check modernize-use-emplace (#65844)
We had this enabled before but it's expanded in the update to LLVM 16,
so this is a bunch more changes.

Mostly these are removing unnecessary temporary objects created for
emplace calls.
2023-05-26 22:48:04 -04:00
ehughsbaird 0561fad6f5 Makefile: Better handle RUNTESTS=1 (#65841)
Previously, specifying RUNTESTS=1 would result in the makefile building
both the 'check' and 'test' targets. When make was run with multiple
jobs in parallel, it could result in those jobs being run in parallel.

Unfortunately, both those targets result in building the test binary, so
if the test binary is not built, they will both attempt to build the
same files in parallel, wasting time (as shown below).

make -j2 RUNTESTS=1
\ make -C tests
| \ clang++ ... tests/submap_test.cpp
\ make -C tests check
  \ clang++ ... tests/submap_test.cpp

Fix this, and ensure only one of the 'tests' or 'check' targets are
built.
2023-05-26 22:46:56 -04:00
SurFlurer ae573ff700 Fix disassembing item causing deadlock (#65853)
* Do not include tools with internal battery

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 22:45:40 -04:00
Dillon Matchett 4731bf9d63 Encumbrances Fixes + Tests (#65862) 2023-05-26 22:44:18 -04:00
andrei 00d4cf13ca eoc/mission: pass EOC dialogue to mission utils (#65860) 2023-05-26 11:26:41 -03:00
RenechCDDA cd24ce1408 Add a constructable brick oven (#65660)
* Add constructable brick oven

* Add a pseudo item for the brick oven and a terrible hack to make it work

* Somehow missed linting AGAIN

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-26 10:41:32 +02:00
Angela Graves d17ca9870a Merge pull request #65791 from CleverRaven/changelog-weekly-2023-05-22
Weekly Changelog 2023-05-15 to 2023-05-22
2023-05-26 00:33:59 -05:00
SurFlurer a4a8dabdf2 Gunsmith ammo convert json EOCify and cleanup (#65775)
* Gunsmith EOCify and cleanup part 1

* update

* Fix ammo_belt failure

* Fix backward compatibility

* Revert "Fix backward compatibility"

This reverts commit 3e07162f2d.

* some cleanup

* Further EOCify

* Typo

* for compatibility

* make it shorter

* Add var migration

* Dot consistency

* Add dummy parser for var_migration
2023-05-25 12:45:48 -03:00
RetroStoat 2f73db650d Modified existing and added new snippets for Kaluptic Psychosis (Schizophrenia) (#62968)
* Modifies and adds Snippets for Kaluptic Psychosis

Added more snippets and edited previous ones to sound more human.

New snippets add another layer to Psychosis aside from typical homicidal maniac. Notably adds several item voicelines. Adding casual dialogue, humor, and lines of worry or disdain

Removed a couple corny lines, and also removed limb breakage line.

* Update schizophrenia.json

* Update schizophrenia.json

* Fixed ellipsis and punctuation

* Update data/json/snippets/schizophrenia.json

* Apply suggestions from code review

* Apply suggestions from code review

* Update schizophrenia.json

---------

Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-25 11:09:20 -03:00
Timothy M Pollard 23b33432aa Using default mags to calculate max capacity for guns with random ammo 2023-05-25 22:14:19 +10:00
Angela Graves 7aab1255dc Merge pull request #65818 from anoobindisguise/patch-14
lower fur bodyarmor encumbrance a bit
2023-05-25 00:19:43 -05:00
Maleclypse 9c6f3d603f Apply suggestions from code review
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-05-24 22:58:31 -05:00
Alexey 81746f6dc8 Vehicle part variants tidy (#65823)
* Print variant in part name if debug_mode is on

* Windshields copy-from

* Doors copy-from

* Seats copy-from

* Remove slightly redundant values in seats

* Remove flag with no effect

* Remove redundant variant from forklift

* Aisles copy-from

* Pull loose doors to doors.json

* Convert _rear wheels to symbols

* Remove rarely/unused vpart variants

* Add missing symbols
2023-05-24 15:45:19 -04:00
casswedson 4dc67b545f fix: wizard's apprentice achievement (#65789)
* fix: typos on new char screen

for once I played a custom character to try out a mod and hey I found
things to fix

* fix: wizard's apprentice achievement

entering a school of magic in magiclysm gives you a default spell so you
end up triggering the "learn 3 spells" after actually just learning 2
spells from different schools

change it to 5 to account for the default spells

---------

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-24 15:43:00 -04:00
David Seguin 1d1b33b063 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-24 15:37:18 -04:00
David Seguin 231f46e7d2 Merge pull request #65814 from jbytheway/clang-tidy_cert-err33-c
Enable clang-tidy check cert-err33-c
2023-05-24 15:30:13 -04:00
John Bytheway 9e311b25ce Allow standard includes in clang-tidy tests (#65806)
All the clang-tidy tests, because they use check_clang_tidy.py, have
been unable to use any C++ STL headers.  check_clang_tidy.py adds the
-nostdinc++ to prevent this.

Now that we are using our own copy of check_clang_tidy.py we can change
this decision.  This will allow us to drop a bunch of duplicate code and
ensure that our mock implementations in the tests do not diverge too
much from the reality.

Do this, via a new option -allow-stdinc, where tests can opt in if they
wish.  Update all the tests that previously worked around this
limitation to just use the regular includes instead.

This allows us to simplify point.h, which had previously had special
treatment to allow including it without access to the C++ headers.

The main divergence I discovered that had already happened between the
tests and main codebase was that the tests still used JsonIn in
deserialize functions, which is no longer supported in the main code.
Those tests updated accordingly.
2023-05-24 15:25:38 -04:00
John Bytheway 68bd19015e Fix type for Windows build
On Windows, there's no sighandler_t typedef.
2023-05-24 07:13:19 -04:00
John Bytheway ba794fe260 Enable clang-tidy check cert-err33-c
This check looks for unused return values on a variety of C library
functions.

I resolved most of the warnings by printing out some kind of error
message in the event that the function failed.

Many of them are low-level things whose failure indicates some sort of
serious problem, so the errors are simply printed to stderr, because our
usual error reporting infrastructure might not be available.
2023-05-24 07:13:18 -04:00
Angela Graves 09b378db6e Merge pull request #65816 from Nebnis/Adjustment-to-mess-kit-and-large-shelter-kit
Misc fix to some random items
2023-05-24 00:44:21 -05:00
Bence afa5acab4f commit (#65807) 2023-05-24 00:31:33 -04:00
Alexey 85d330b1ef Fix divide by zero in driving offset (#65809)
* Add inverse_lerp, linear_remap to cata_utility.h

* Fix game::calc_driving_offset using a NaN
2023-05-24 00:30:09 -04:00
WhiteCloud0123 fc24b0e062 Prevent mounted animals from reacting to hallucinations. (#65813)
* mounted horse ignores hallucination

* add to check_mount_is_spooked

* fix
2023-05-24 00:27:25 -04:00
Jeremy Rose f8343f7c68 makeshift electrolyzer shouldn't contain lye (#65820) 2023-05-24 00:21:34 -04:00
TheShadowFerret 7ef384682e [Magiclysm] Profession stoof (#65829) 2023-05-24 00:19:52 -04:00
RenechCDDA b00e87583c Glassmaking audit (#65747)
* rationalize glass production

* Also rationalize innawoods glass

* Linting is my bane recently

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-24 00:18:48 -04:00
Alexey b365e7a982 Fix electric oil press (#65817) 2023-05-24 00:17:44 -04:00
dseguin 74d8f4fd84 Update the table of contents 2023-05-24 04:17:15 +00:00
Tim Pollard 66a8961162 Xedra Evolved spell audit (#65793)
* Auditing Xedra spells for class, energy cost, and increment settings.

Some of the spells outside of classless_spells.json didn't have a class
set, and there was a few that did have an energy cost, but no energy
source set.

In addition some of the _increment values where producing odd values,
and would never actually hit the final_ or max_ values.

* Changing the Xendra Evolved spell blur to use blurred_aura

It was using the nearly-identical obfuscating_aura item from Magiclsym
instead, but that meant the spell would only work if you had both
Magiclsym and Xedra Evolved on your world.
2023-05-24 00:16:45 -04:00
Dillon Matchett 3800362a54 Global and character variable migrations (#65810)
* Global and character variable migrations

* Docs

* Apply suggestions from code review

* Update src/global_vars.h
2023-05-24 00:15:59 -04:00
anoobindisguise e300076f40 lower fur bodyarmor encumbrance a bit 2023-05-23 10:26:11 -07:00
DoctorBoomstick e565014966 New guns, calibres, and conversion kits, fixed PR. (#64934)
* adds the files in the items/ammo folder.

* adds the files in the items/armour folder.

* adds the files in the items/book folder.

* adds the files in the items/container folder.

* adds the files in the items/generic folder.

* adds the files in the items/gun folder.

* adds the files in the items/gunmod folder.

* adds the files in the items/magazine folder.

* adds asorted files in the items folder.

* adds the conversions folder in the itemgroups/Weapons_Mods_Ammo folder.

* adds files in the itemgroups/Weapons_Mods_Ammo/arsenal folder.

* adds the files in the itemgroups/Weapons_Mods_Ammo folder.

* adds files in the itemgroups folder.

* adds files in the itemgroups/SUS folder.

* adds files in the uncraft/ammo folder.

* adds files in the requirements folder.

* adds files in the recipes folder.

* adds files in the json folder.

* adds files in the mods/Generic_Guns folder.

* last tweeks.

* fixes a typo in the disc for the AI .308 10-round magazine.

* general damage tweeks.

* fixes merge errors.

* fixes merge errors.

* starts fixing bugs.

* fixes bugs.

* hooks up the ammo with the new barrel length system. still needs to add the barrel lengths to the guns themselves.

* adds the barrel lengths to the .223 guns.

* Update data/json/items/ammo/338lapua.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/json/items/ammo/450bushmaster.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/json/items/ammo/50_beowulf.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update data/json/items/ammo/338lapua.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Adds a 20-inch conversion .223 kit for AR-15 rifles, representing those found on M16s. also adds in all the barrel-lengths for weapons in .300, .308, .30-06, and 12.3ln.

* Commits suggested changes.

* fixes the, "last," bug. I hope. please God.

* Does a broad stroke to get gun migrations underway. Hope this doesn’t break… everything
.

* fixes pointed out bugges.

* actualy fixes the shotgun bug.

* lints, lints, lints, and lints some more.

* Fixes the solitary erroneous file.

* fixes more bugs.

* retrigger checks

* tweeks and bug fixes, makes the long version of the ar15 upper findable on guns and usable in crafts/ weapon mods.

* Adds/ fixes gun entries in generic guns.

* adds the last gun to generic guns.

* look at that, more bug fixes.

* adds more values for .223 barrel lengths and removes ranged damage entries from the conversions. they were causing errors, and the new barrel length system should make them unneeded anyhow.

* Adds name plural forms for the conversion kits which need them.

* Gives the prepped patriot a leg bag for storage.

* adds no turret flags to all the guns which need it.

* fixes a tiny bug.

* the M231 wasn't lacking an ammo entry. No. I didn't forget that. this commit doesn't add that entry.

* retrigger checks

* retrigger checks

* Update data/json/items/magazine/762.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Removes the redundant ranged damage entry.

* fixes blacklist errors and adds the post-2000 guns (i.e. all the guns) to the classic zombies blacklist.

---------

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Dillon Matchett <dillon.matchett@gmail.com>
2023-05-23 11:23:35 -03:00
Nebnis fd4546e49e added suggestions 2023-05-23 11:20:11 -03:00
Nebnis 222be7c42c Update data/json/items/tool/cooking.json
Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>
2023-05-23 10:54:51 -03:00
fairyarmadillo 3d1627dab6 Redo molting with crabs (#65459)
Co-authored-by: fungamer2-2 <56766520+fungamer2-2@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2023-05-23 05:47:29 -07:00
Nebnis e053472d71 more small fixes 2023-05-23 08:49:13 -03:00
Angela Graves b8c049e6db Merge pull request #65561 from stubkan/stubkan-wandering-in-the-open
Wandering Hordes prefer to wander and recruit in open terrain
2023-05-23 00:11:48 -05:00
Anton Simakov 559cba84b8 [Xedra Evolved] Random fixes and changes (#65737)
* initial commit

* fixes

* fixes 2

* Update data/mods/Xedra_Evolved/spells/dreamer_spells.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* more changes

* spell

* last fixes

* added 57 to blocky pistol

* ...again

* sane some inventor gunmods recipes

* decrease the weight of blocky pistol to fit it in holster when its full

* not that much decrease

* small tweak of inventor gunmods

* fix typo in research recipes

* add barrel volume to repeater

* fixes in inventor batteries recipes

* make message of research end be much more visible

* make wolf's mask not kill player's stamina

* and also boost the effect, for the same reason

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-22 23:02:14 -03:00
Anton Simakov 6b2fc5e711 Update military.json (#65803) 2023-05-22 19:57:06 -03:00
SurFlurer cf2a710c5a Renaming duplicate group name (#65801)
Co-authored-by: mqrause <38702195+mqrause@users.noreply.github.com>
2023-05-23 00:45:35 +03:00
Nebnis b054d60e14 oops 2023-05-22 16:57:15 -03:00
Nebnis 36557a2fc5 misc changes 2023-05-22 16:50:42 -03:00
Nebnis 8e7b08aa54 misc changes 2023-05-22 16:47:51 -03:00
John Candlebury a3e8a3e5e0 Merge pull request #65681 from anoobindisguise/anoobindisguise-ifxhm12
fix exploits regarding the hm12
2023-05-22 08:47:28 -06:00
Alexey 38a51888f8 Misc fixes for tests noise, log noise and missed vpart changes (#65765)
* Raise margin on grab tests

* Squelch wreck merging messages

* Use a couple more copy-froms in magiclysm vehicle parts
2023-05-22 09:55:43 -03:00
waxcatape 4813153fbc make Stimulant Psychosis a medical mutation (#65772)
Co-authored-by: waxcatape <waxcatape@waxydude.xyz>
2023-05-22 09:53:02 -03:00
John Bytheway 8aef4d0739 Enable clang-tidy cert-dcl58-cpp (#65784)
Re-enable this check and suppress the false-positives it was producing.

The issue regarding these false-positives can be found at
https://github.com/llvm/llvm-project/issues/45454

Once that is fixed these suppressions can be removed.
2023-05-22 09:52:37 -03:00
John Candlebury e7bbb07e1e Nether Spider Bossfight (#65595)
* Let monsters disappear silently

* Void Weaver Lair, Monsters and Mechanics

* New nether terrain

* Unique webs in case tilesets want weird looks

* New reward items

* Probably better description for the artifact nagamaki

* Update src/mondeath.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Adjust the scope of the bossfight variables so they function more than once

* Fix densities

* Update data/json/monster_special_attacks/void_spider_mechanics.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* More fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 09:50:17 -03:00
anoobindisguise e75f8bd882 Split caffeine dependence into two hobbies (#65684) 2023-05-22 09:49:36 -03:00
anoobindisguise 70c1a6655d Make survivor zeds' drops more appropriate (#65742)
* more drops for z survivors

* Update zombie_survivor.json

* final fixes

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* slightly increase survivor zed base armor

* TESTS

* missing comma

* armor changes not possible so undo them

* undo changes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 09:43:05 -03:00
ZigVert 2926a99e8f rewrite outdated monster descriptions + typo fixes (#65768)
* fixed descs

* lint

* Update data/json/monsters/zanimal_upgrade.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/monsters/zanimal_upgrade.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-05-22 09:35:08 -03:00
SurFlurer fe5dcc3473 transfer eoc-sold items' ownership (#65769) 2023-05-22 09:33:10 -03:00
bug-sniper f7fa7b7b27 Allow flour nachos (#65770)
* Update recipe_food.json

Allow nachos to be made with flour tortillas.

* Update data/json/recipes/recipe_food.json

apply json formatter-suggested fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-22 09:32:31 -03:00
David Seguin e1fad375e8 More scrollbars (#65767)
* ui: add scrollbar to trait description (character info screen)

* ui: add scrollbar to trait description (mutation ui)
2023-05-22 09:31:56 -03:00
casswedson 1347bdd806 fix: typos on new char screen (#65783)
for once I played a custom character to try out a mod and hey I found
things to fix

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-22 09:02:08 -03:00
Eric f0ffa5eb9e Update portal_storm.json (#65782) 2023-05-22 09:01:13 -03:00
Maleclypse 49948b934e Increase frequency (#65785) 2023-05-22 09:00:36 -03:00
Angela Graves 620e1142e4 Merge pull request #65790 from CleverRaven/tileset-updates
Routine tileset updates on 21 May 2023
2023-05-22 00:49:49 -05:00
David Seguin 1203304056 Weekly Changelog 2023-05-15 to 2023-05-22 2023-05-22 01:11:13 +00:00
Anton Simakov 1898b63f42 unhardcode and update mx_supplydrop (#64779)
Co-authored-by: DoctorBoomstick <102766473+DoctorBoomstick@users.noreply.github.com>
2023-05-21 16:57:09 -07:00
Maleclypse 32b4e66d55 [ XE ] Renfield drops and hunting lodge spawn (#65779)
* Renfield drops and hunting lodge spawn

* Update data/mods/Xedra_Evolved/itemgroups/monster_drops.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-21 20:35:22 -03:00
casswedson bb182c24c3 Routine tileset updates on 21 May 2023 2023-05-21 23:10:52 +00:00
Sơn Phan Trung ddd274c22c feat: moar option groups (#64662) 2023-05-21 15:32:10 -07:00
NetSysFire 206c3c9b94 Introduce some neutral civilian monsters to better fit the initial chaos after the Cataclysm (#64142) 2023-05-21 15:20:59 -07:00
anoobindisguise c5cb02ed8b Chargen only proficiency lets you dissect humans without penalty (#61172)
* Physiology proficiency prevents dissection morale penalties

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes and style

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* do some fixes

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* 1_day->1_days ?

* Update activity_handlers.cpp

* Update activity_handlers.cpp

* prof_dissect_humans

* proficiency_prof_dissect_humans logic

* change naming

* distribute prof_dissect_humans to professions

* add prof_dissect_humans to stuff

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* change name

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-21 14:42:58 -07:00
TaiGambol a25eecbfe2 Adding Makeshift Pressure Cooker (#65095) 2023-05-21 13:52:10 -07:00
anoobindisguise d9d5d68b4f Merge branch 'CleverRaven:master' into anoobindisguise-ifxhm12 2023-05-20 22:46:24 -07:00
Angela Graves 470485155c Merge pull request #65695 from anoobindisguise/patch-14
encumbrance of work and cutres gloves
2023-05-21 00:21:49 -05:00
Angela Graves 493a20cdcc Merge pull request #65724 from nornagon/easier-sourdough-starter
making a sourdough starter should be a bit easier
2023-05-21 00:19:59 -05:00
David Seguin c011e070b7 Merge pull request #65755 from jbytheway/clang-tidy_cata-almost-never-auto
clang-tidy cata-almost-never-auto
2023-05-20 18:27:40 -04:00
KittyTac 880d457cb2 Update mutations.json (#65754) 2023-05-20 18:27:14 -04:00
Spaceboi 4e46105ce7 CTD caused by repair attempts with UPS-equipped tools fixed (#65708)
* Add files via upload

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update item.cpp

ammo_capacity() will now include all available ammo, both UPS and internal battery simultaneously

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update item.cpp

* Update item.cpp

* Update item.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-20 18:21:06 -04:00
Karol1223 7b6b53cb42 A bunch of random item reworks: 6 (#65757)
* chess

* coffee mug

* mug price oh golly

* corkscrew

* dish towel

* pillowcase

* wrong cotton density oops
2023-05-20 18:20:10 -04:00
Maleclypse dc4d775a0a [Xedra Evolved] Balancing Vampirism (#65758)
* Balancing Vampirism

* Update suffer.cpp
2023-05-20 18:19:05 -04:00
Karol1223 f686c2f1d6 A bunch of random item reworks: 5 (#65752)
* whisk

* jars

* bottle opener

* canning pot
2023-05-20 18:17:53 -04:00
Karol1223 1fa55b71e7 A bunch of random item reworks: 4 (#65715)
* ring stand

* stapler

* empty removals

* silverware

* tiny little one thingie

* shorts of the damned
2023-05-20 18:14:06 -04:00
Alexey 1d70787c46 Un-special case vpart_info's standard_symbols (#65721) 2023-05-20 13:42:03 -04:00
FatigueDev 490bf9f9f2 Add exertion and modify trip length calculation for faction camps (#65705)
* Add exertion and modify trip length calculation for faction camps

* Bot code review, moving itype definition to sorted

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/basecamp.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/basecamp.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/basecamp.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/basecamp.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/faction_camp.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review (2)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Have camp_food_supply account for exertion when exertion is used

* Added exertion to multi_mission, removed second calc in cut logs

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove unneeded variable in faction_camp.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com>
2023-05-20 13:39:09 -04:00
KittyTac bebbbb2c1e Update mutations.json (#65753) 2023-05-20 13:33:01 -04:00
Ivan Demchuk a8821a12af Allow to practice archery with takedown recurve bow (#65760)
Takedown recurve bow works just like other bows, so you should be able
to practice archery with it
2023-05-20 13:25:45 -04:00
anoobindisguise fa19eca3a2 Canning acid uses components and not tools (#65761) 2023-05-20 13:23:27 -04:00
John Bytheway c000771088 Re-enable cata-almost-never-auto
In LLVM 16 this check was a lot more effective.  So, it was briefly
disabled during the migration.  This fixes all its warnings again, and
re-enables it.
2023-05-20 08:55:37 -04:00
John Bytheway bce71ef6e1 Generalize repeat_clang_tidy.sh
There's a new compile_commands.json format, and we need to slightly
generalize this script to handle it.
2023-05-20 08:54:52 -04:00
Maleclypse d448ca2bbd Flags for Sunburns (#65743) 2023-05-20 02:29:33 -04:00
SurFlurer 65eb55100d Fix no_hope free_merch itemgroup (#65746) 2023-05-20 02:28:09 -04:00
Anton Simakov f5fdcbbfb2 Typo hunting (#65740)
* no message

* Update appliances.json
2023-05-20 02:27:22 -04:00
RenechCDDA 7a6bfc093e Only reject air for pathfinding bounds, not pathable tiles without floors (#65720) 2023-05-20 02:25:32 -04:00
Angela Graves ddac6a3d8f Merge pull request #65744 from CleverRaven/i18n
Routine i18n updates on 20 May 2023
2023-05-20 00:14:23 -05:00
kevingranade ec1c4a16c1 Routine i18n updates on 20 May 2023 2023-05-20 02:30:41 +00:00
Bradley Richardson 08b27836ba Adding turkish foods (#65196)
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2023-05-19 18:45:54 -07:00
Kevin Granade 9020c00c9b Merge pull request #65646 from CleverRaven/changelog-weekly-2023-05-15
Weekly Changelog 2023-05-08 to 2023-05-15
2023-05-19 08:02:18 -07:00
Angela Graves c3ffd0cbf0 Merge pull request #65535 from Nebnis/Survivor-forest-site
New location: Survivor Forest Camp
2023-05-19 00:12:11 -05:00
PatrikLundell a734d1036f Changed canteen expansion version 2 to use parameterized palettes (#65318)
* converted canteen 2 to parametric palettes

* converted canteen 2 to parametric palettes
2023-05-19 00:19:20 -04:00
Anton Simakov 1de98af49d [Xedra Evolved] Add description for dreamsmith recipes (#65490)
* Update dreamforged_weapon.json

* Update dreamforged_armor.json

* Wow, my english sucks

Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>

---------

Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
2023-05-19 00:18:11 -04:00
Alexander Krupka 732401039f Added recipe for steel_lump deconstruction. (#65668) 2023-05-19 00:11:35 -04:00
NotDucc 308468ff01 Update sheath.json (#65528)
Spear straps now fit qiangs.

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-05-19 00:10:57 -04:00
andrei aa3b581529 math_parser: evaluate variables in diag. functions (#65467) 2023-05-19 00:10:09 -04:00
Oleksii Filonenko 7451321c77 Remove electronic metal doors from light industry gates (#65712) 2023-05-19 00:08:20 -04:00
Kevin Granade e442ce74ef Update the table of contents (#65727)
Co-authored-by: dseguin <dseguin@users.noreply.github.com>
2023-05-19 00:07:28 -04:00
Rewryte 677faa650d Creatures can stumble into invisible players to discover them (#65476)
* added mechanic

* astyle

* fixed text and move calculation

* scent movement changes

* add last known position

* astyle

* separate function

* enforce z-level

* astyle

* remove unused

* redundant param

* refine scent code

* smell_threshold wander

* add field processor

* increase effect duration

* function refresh duration

* attack air mechanic

* hit calls function

* change declaration type

* move reapply code to on_hit

* npc support

moved stumble_invis and attack_air functions from the monster class to the creature class

* rename param

* missing checks for attacking air

* astyle

* attack air for npc

* clang-tidy

* fix npc ignore invis

* astyle

* unused decs

* clean up attack_air

* animate attack_air

* prevent fallback

Changing to c_black will prevent explosion sprites used as a fallback, assuming #65622 gets merged.

* check anim setting

* missing include
2023-05-19 00:07:01 -04:00
David Seguin b5f384215f Merge pull request #65197 from irwiss/standalone-fault_fixes-obj
Standalone fault_fix object
2023-05-18 21:51:58 -04:00
ZigVert e987e322d2 Electrolyzing lye for sodium metal (#65550)
* first

* linted

* updatd recipe

* Update recipe 2

* updated recipe 3

* update recipe 4

* u

* thx to Miner_239

* fixed duplicate prof
2023-05-18 21:48:35 -04:00
Oleksii Filonenko dbca141e46 Update weights and volumes for extension cords and blade traps (#65697)
* Update blade trap with engine's weight and volume

* Update extension cords with realistic weight/volume
2023-05-18 21:45:47 -04:00
anoobindisguise 8127aef690 make dimensional anchor accept any medium battery (#65701)
* make dimensional anchor accept any medium battery

* apply battery changes to modular defense anchor
2023-05-18 21:45:00 -04:00
Sean Albert Serpa bc9edc4ee1 Change difficulty and colors of hard aircraft ferals (#65725)
Co-authored-by: Sean Serpa <seanserpa@MacBook-Pro.local>
2023-05-18 21:43:38 -04:00
vetal l a631cdce63 [Interface] Fix to unify tilesets behavior (part 1) (#65722)
* Fix to unify tilesets behavior

* Update data/json/furniture_and_terrain/terrain-floors-outdoors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-18 21:37:32 -04:00
anoobindisguise 0b422b7e0a watercannon WONT_TRAIN_MARKSMANSHIP (#65726) 2023-05-18 21:35:32 -04:00
Dillon Matchett 59ffdc0f9a Armor At EOC Math Function (#65716)
* Code

* unit test

* Update data/mods/TEST_DATA/EOC.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/TEST_DATA/EOC.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

* Update doc/NPCs.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-18 21:26:51 -04:00
Dillon Matchett 9688cf4ab6 Update faction.cpp (#65718) 2023-05-18 21:17:52 -04:00
Alexey 88afc11a12 Add docs for faults and fault fixes 2023-05-19 03:15:11 +03:00
Alexey 815b7908e5 Move faulty prefixes to JSON 2023-05-19 03:15:11 +03:00
Alexey 6bbf01536d Merge gun cleaning fault_fixes 2023-05-19 03:15:11 +03:00
Alexey 6362cfa185 Make fault_fix (previously mending_options) a standalone object 2023-05-19 03:15:11 +03:00
Alexey 0fcfd7c178 Consolidate faults (commit to help git track moves) 2023-05-19 03:15:11 +03:00
Jeremy Rose 3738b7262b making a sourdough starter should be a bit easier 2023-05-18 14:31:12 -07:00
Anton Simakov e7264c3b4d [BombasticPerks] Crafty hands and Chainsmoker traits (#65703)
* initial commit

* Update data/mods/BombasticPerks/perks.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-05-18 14:54:20 -03:00
ZigVert 694af2bc1c New shady zombie upgrade (#65489)
* the

* added looks_like

* fixed typo

* guess who forgot like a whole part of the zombies code

* fixed spelling of gray

* Update data/json/monsters/zed_misc.json

Co-authored-by: Venera3 <72006894+Venera3@users.noreply.github.com>

* Update data/json/monsters/zed_misc.json

Co-authored-by: Venera3 <72006894+Venera3@users.noreply.github.com>

* Revert "Update data/json/monsters/zed_misc.json"

This reverts commit f2fc8dacd7.

* applied changes suggested by venera

* condition

* whos this jason guy and why does he need lint

* remove unecessary 0 and replace scratch

* take the whole line away

---------

Co-authored-by: Venera3 <72006894+Venera3@users.noreply.github.com>
2023-05-18 14:47:07 -03:00
Karol1223 e186052e2d Tank top cleanup (#65683)
* variantizing

* item adjustments

* silly goose

* almost broke
2023-05-18 14:41:51 -03:00
fairyarmadillo a6a3627c0e Nerf Beehives (#65690)
* Nerf Beehives

* nerf smashing

* Update data/json/harvest.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update harvest.json

Put honey back in harvest

* Update harvest.json

Fix honey

* Linting

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-18 11:07:54 -04:00
David Seguin f16f37f40e Apply suggestions from code review 2023-05-18 09:53:09 -04:00
David Seguin 5e7ee4ff79 Merge pull request #65675 from irwiss/veh-cleanup
vehicle_part cleanup
2023-05-18 09:52:07 -04:00
Kamayana 59cf7c25d0 Make Quickload and Quit To Main Menu non-cheaty (#65686) 2023-05-18 09:39:40 -04:00
Alexey c76be47c75 Clear eoc_events in game::setup (#65694) 2023-05-18 09:35:37 -04:00
MrDraMaster 14660dad70 fix conversations (#65698)
- fix skill typo
- fix talk ID typo
2023-05-18 09:32:46 -04:00
anoobindisguise 18fe8ad6ea rework read time formula (#65280)
* rework read time formula

* rework the formula again

* fix

* again

* hopefully fix int related issues

* fix the test

* more test fixes
2023-05-18 08:02:01 -03:00
anoobindisguise 0bc9651560 Drag heavier vehicles take 2 (#64867)
* drag heavier vehicles, take 2

* Update grab.cpp

* Update grab.cpp

* Update grab.cpp

* stamina cost
2023-05-18 07:59:39 -03:00
RenechCDDA bd37f267a9 Floor craft difficulty at 1 to avoid zero'ing out player's calculated skill (#65433)
* floor craft difficulty at 1 to avoid zero'ing out calcs

* Update tests to recognize difficulty 0 is not difficult
2023-05-18 07:49:37 -03:00
Angela Graves 35b0807392 Merge pull request #65691 from RedBloodCat/Test
Changes description of ceramic armor plate
2023-05-18 00:14:42 -05:00
anoobindisguise 3ea03650c9 nonlethal tear gas (#65625) 2023-05-17 14:50:15 -03:00
anoobindisguise bf33d14058 Merge branch 'CleverRaven:master' into anoobindisguise-ifxhm12 2023-05-17 10:28:41 -07:00
anoobindisguise f4856f1a35 encumbrance of work and cutres gloves 2023-05-17 10:19:08 -07:00
Angela Graves a4f928bb3d Merge pull request #65588 from Mer1ck/master
Added wooden frame packs.
2023-05-17 09:57:07 -05:00
RedBloodCat 50bad550b5 Update data/json/items/generic.json
Co-authored-by: Dillon Matchett <dillon.matchett@gmail.com>
2023-05-17 15:46:55 +02:00
Miner239 bb9fe579df Add more electric tools to mounted tool stations (#65315)
* Add electric tools to mounted tool stations

* Update modular_tools.json

* comma

* sorted list, added polisher, impact wrench, saw

* allow repairkit and welder_crude to repair

* Update data/json/vehicleparts/modular_tools.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add ketene lamp and manual oil press

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-17 08:54:19 -03:00
Jianxiang Wang (王健翔) 719e63678e Add clang-tidy check to enforce use of fs::u8path and fix path encoding error (#65223)
* Add clang-tidy check to ensure fs::u8path is used to construct path from utf-8 string

* Fix fs::u8path and nullptr warnings

* Print error instead of showing a popup in test mode in write_to_file

* Remove cata::fstream wrappers
2023-05-17 08:52:46 -03:00
Kevin Granade f2c84d5972 Update the table of contents (#65654)
Co-authored-by: dseguin <dseguin@users.noreply.github.com>
2023-05-17 13:19:03 +02:00
Rewryte 406a76b5aa add settings check (#65676) 2023-05-17 13:18:01 +02:00
IcySlurpee 099959b473 Separate unused casings from used casings pool (#63699)
* separate unused casings into own group

removes primed casings from the pool of items that can spawn with field
corpses and forest trash. adds primed casings to own item group that can
spawn at gunsmith stores and prepper garages.

* add gunsmith bulk casings item group

allows unused casings to spawn in locations where it makes sense, like a
gunsmith's shop or a prepper garage. these two locations previously had
a ammo_casings_bulk spawn; it makes sense that both locations would have
unused casings, as gunsmith's tools also spawn there.

* Update data/json/itemgroups/Weapons_Mods_Ammo/ammo.json

* Update data/json/itemgroups/Weapons_Mods_Ammo/ammo.json

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-17 11:20:25 +02:00
Ruminator24 75d2f94b21 Office worker profession (#65627)
* Update professions.json

* Update dining_kitchen.json

* Update professions.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>

* Update dining_kitchen.json

* Update professions.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
2023-05-16 19:17:11 -03:00
anoobindisguise 993c7db95c Amoebic mold has 0 melee (#65665)
* Amoebic mold has 0 melee

* 0->remove entirely
2023-05-16 17:42:29 -04:00
casswedson c69662caaf fix: reduce fireproof doorways (#65659)
add `FLAMMABLE_ASH` to a buch of door frames, that makes them flammable
right? I didn't test but it makes sense

all the door frames affected give planks and the like so this is OK

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-16 17:41:53 -04:00
Maleclypse df06ce2e0f Fix #63322 (#65671)
* Update tanks.json

* Update data/json/vehicleparts/tanks.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-16 17:41:35 -04:00
Inglonias 3385d992b4 Fix weight of shark plushie (#65678) 2023-05-16 17:39:12 -04:00
anoobindisguise e2b539b3d6 MF_IMMOBILE disallows infinite throw training (#65680)
* MF_IMMOBILE disallows infinite throw training

* Update src/ranged.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-16 17:38:37 -04:00
anoobindisguise b79e89327c give nailgun WONT_TRAIN_MARKSMANSHIP (#65682) 2023-05-16 17:35:42 -04:00
Nebnis 43f40d9334 restarting test 2023-05-16 17:52:43 -03:00
Vladimir Masarik 7e63a04983 Make long white gloves fancy (#65673)
Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2023-05-16 19:19:08 +02:00
anoobindisguise 293d4a9bbb fix exploits regarding the hm12 2023-05-16 09:59:45 -07:00
Alexey d0305f2bcd Remove old migrations 2023-05-16 18:23:40 +03:00
Alexey 3d108a5c0f Make wrecks not generate invalid vehicles 2023-05-16 18:20:05 +03:00
Alexey 6f935da370 Clean up vehicle::can_mount and *INSTALL part flags 2023-05-16 18:20:05 +03:00
Alexey 5c47680f24 Make all vehicle::install_part overloads check can_mount 2023-05-16 18:20:05 +03:00
Alexey b60d5ff164 Remove variant and force args from install_part 2023-05-16 18:20:05 +03:00
Alexey 15fa4bba16 Sort out vehicle_part constructors 2023-05-16 18:19:49 +03:00
Alexey 40f01e46ef use std::optional instead of default constructed part 2023-05-16 18:18:31 +03:00
Maleclypse f41fc1cb8e Update furniture-alien.json (#65669) 2023-05-16 12:59:29 +02:00
casswedson 4572700beb fix: house38 palette oddness (#65662)
Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-16 12:59:03 +02:00
Angela Graves a5245cacc5 Merge pull request #65567 from Kantonine/Airsoft-Gloves-Fix
Changed Airsoft Gloves Warmth and Flags
2023-05-16 00:39:44 -05:00
casswedson cb9c2ba1d3 fix: ammo_pouch & tactical_shotshell_pouch spawns (#65661)
for the tactical pouch use nexus suggestion and drop it right in the
`molle_accessories` itemgroup

for the ammo pouch I had the genius idea of coping a similar item spawn
data to make this an easy fix; thanks wgrep rg

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-15 21:03:01 -04:00
casswedson 7e737fa981 fix: blade trap recipe components (#65658)
change the recipe of the blade trap to reflect what you get from taking
apart the active trap, not the other way around cause I think it's not
as cool if a deadly trap runs on a tiny electric motor

what you get from the trap
```json
"drops": [ "motor_small", "blade", "blade", "string_36" ]
```
new recipe
```json
"components": [ [ [ "motor_small", 1 ] ], [ [ "blade", 2 ] ], [ [ "cordage", 1, "LIST" ] ] ]
```

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-15 21:00:49 -04:00
casswedson 50500d66f8 fix: tactical helmets flashlight pockets (#65657)
they didn't work cause the max weight was too small; just add a little
more ez

also remove an extra space

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-15 21:00:21 -04:00
casswedson bcc3704f46 fix: fences over cabinets in the house of Jesus (#65656)
just define the terrain under filling cabinets ez

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-15 20:59:27 -04:00
Rewryte 697335e329 Update generate_overlay_ids.py (#65653) 2023-05-15 20:58:46 -04:00
KittyTac c2f139b702 Claws rework (#65070)
* Create mutations.json

* Update integrated.json

* Update techniques.json

* Update data/json/mutations/mutations.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/techniques.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update techniques.json

* Update integrated.json

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix copypaste mess up

* Update mutations.json

* Update mutations.json

* Update integrated.json

* Update integrated.json

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update fist_weapons_dps.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* unmerge

* Update integrated.json

* Update integrated.json

* Update fist_weapons_dps.json

* Update integrated.json

* Update integrated.json

* Update integrated.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 20:56:10 -04:00
Karol1223 59c577e9f9 A bunch of random item reworks: 3 (#65532)
* boltcutters & chopsticks

* tin snips

* knitting needles

* silly notes

* hairbrush

* flags oh god the flags

* evil commas

* density list removal
2023-05-15 15:46:20 -04:00
RenechCDDA 5c05bcb04d Audit burn_data for vanilla materials (#65536)
* Rationalize burn_data for a whole lot of things

* Apply suggestions from code review

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* re-add most burn products with nerfed values

---------

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>
2023-05-15 15:24:23 -04:00
Alexey 82047802af Refactor memory cards (#65248) 2023-05-15 15:23:40 -04:00
FatigueDev d850b5fc4b Allow zones to interact across multiple Z levels (#65613)
* Allow zones to see across Z levels, allow actors to use those zones

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/activity_item_handling.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 12:13:07 -04:00
Rewryte 01ecf0049e Add support for running and smashing animations (#65622)
* sprint anim

* smash anim

* astyle

* no fallback img

* comment code

* remove placeholders

* add bash_ineffective

* sprint directions

* astyle

* Update TILESET.md

* rename sprint to run
2023-05-15 11:52:07 -04:00
Alexey 5870fc6af9 Fix item damage effect on gun/melee damage (#65642) 2023-05-15 11:36:05 -04:00
GlitterLich 93c4fda458 Updated STEN Mk II description (typo) (#65649)
Fixed typo in description string; "[...] than it might be the time [...]" to "[...] then it might be the time [...]".
2023-05-15 11:24:29 -04:00
anoobindisguise 4a508ec9c6 Encumbrance fixes and PALS for some containers (#65493)
* add PALS flags and volume_encumber_modifier values

* add volume_encumber_modifiers

* adjust encumbrances

* fix bookstraps

* adjust encumbrances

* Update data/json/items/armor/ammo_pouch.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes

* fix

* Update bandolier.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* yeah no PALS for that one

* fewer PALS

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 12:16:56 -03:00
anoobindisguise 2c47dbc167 update and modernize lsurvivor_armor (#65494)
* update light survivor body armor

* fixes

* lsurvivor recipes

* fix xl and xs being backwards

* light handmade -> mercenary
2023-05-15 12:15:44 -03:00
fairyarmadillo 8497ce545b Allow mutants to walk underwater (#65519)
* Walk Underwater

* Single space.

* Typo

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* typo

* Move system to character flags

* Moving things to json flags

* double  space

* Move things to flags

* Update character.h

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/character.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mutations.json

* Guess I didn't need the flag declared in flag.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 12:14:55 -03:00
RenechCDDA 9fbbeae1c1 Reintroduce light snares (#65639)
* Reintroduce light snares!

* Appease the density testing by increasing volume
2023-05-15 11:13:36 -04:00
DoctorBoomstick 177b024846 Adds some new electronic snippets, child notes, and radio archives. (#65545)
* starts to add more notes. Sorry to all dog lovers.

* adds more snippets.

* adds a butt load of E-logs.

* adds another Snippet.

* adds a new E-log note.

* adds the last batch of snippets.

* adds spaces where spaces needed to be added.

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/e_logs.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* adds more missing spaces.

* makes it clearer that the horse in local_files_simple_36 is a zombie.

* Update data/json/snippets/radio.json

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Update data/json/snippets/radio.json

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* retrigger checks

---------

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-05-15 12:13:09 -03:00
fairyarmadillo 8987f958f2 Fix weight, size, and damage for tool axes (#65568)
* Axe fixes

* Leave fire axe at 90cm

It breaks some containers if it's 91cm and the difference is small enough to be meaningless.

* Fix DPS

* Undo test changes

* Update firefighting.json

* DPS adjustment

* Fingers crossed

* oh please
2023-05-15 12:12:23 -03:00
Maleclypse bb6eee2d81 Flagifying blood types (#65645)
* Test with Acidblood

Update src/character.cpp

Update src/character.cpp

Update src/character.cpp

Apply suggestions from code review

Update src/character.cpp

Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Insect, Plant, Invertebrate  Blood flags

Update character.cpp

Update character.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 12:10:09 -03:00
Dillon Matchett 10e3328494 Reusable Random Encounters (#65573)
* Reusable Random Encounters

* Styling

* fix test issue
2023-05-15 11:09:17 -04:00
Eric 93eda31666 Make portal storms mobile (#65606)
* First

* Tune up

* achievement

* Update portal_storm_effect_on_condition.json
2023-05-15 11:00:36 -04:00
ferociousdork c4909443d5 Use tool quality for maple tapping (#65641)
* Refactor maple tapping code to use quality instead of itype; added makeshift tree spile made of wood

* Don't steal spiles from nearby tapped trees
2023-05-15 10:57:41 -04:00
Anton Simakov b71c2180ad Typo hunting 2 (#65638)
* typos 2: judgement day

* Update data/json/furniture_and_terrain/appliances.json

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>

---------

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>
2023-05-15 10:56:40 -04:00
SandwichPie 7b2997d557 Better readability for ASCII graphics (#65633)
The new harvestable plants added in innawoods conflicted with the base game's ascii making forcing the player to enter the examine menu to see what they were looking at. In a game mode so focused on harvesting, this needed updating.
2023-05-15 10:55:00 -04:00
NetSysFire 3862491f11 Burdock stalks (#65628)
* burdock stalks

* adjust lobster platter calories to hopefully fix the tests

* i cant math in case you havent noticed
2023-05-15 10:54:36 -04:00
David Seguin 5bf9b60532 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-15 10:40:12 -04:00
Angela Graves e3ccb79bed Merge pull request #65644 from CleverRaven/tileset-updates
Routine tileset updates on 14 May 2023
2023-05-15 03:28:10 -05:00
David Seguin 8a772e3a1b Weekly Changelog 2023-05-08 to 2023-05-15 2023-05-15 01:10:21 +00:00
anoobindisguise dff815fc43 cloaks are belted layer (#65629) 2023-05-14 20:26:24 -03:00
casswedson 6220dcf368 Routine tileset updates on 14 May 2023 2023-05-14 23:00:51 +00:00
Angela Graves 9a4259f567 Merge pull request #65590 from Daved27hundred/thats-not-what-firefight-means
firemen don't carry flamethrowers jesus
2023-05-14 03:43:41 -05:00
Kevin Granade 4bdd5c2a22 Routine i18n updates on 13 May 2023 (#65610)
Co-authored-by: kevingranade <kevingranade@users.noreply.github.com>
2023-05-14 01:10:45 -04:00
casswedson ed16096022 fix: isherwoods all share the same outfit (#65626)
I was inspired by chaosvolt's fix of this same problem

I also noticed this back in #62905, you can see in one of the
screenshots there carlos was wearing panties. hey I didn't want to judge

anyway split the outfit so there's a female and male version and add a
litte variety

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-14 01:02:25 -04:00
David Seguin 71aabc8019 Merge pull request #65598 from Qrox/cursor
Fix UI and accessibility issues in the overmap UI and character creation menu
2023-05-14 00:58:46 -04:00
KittyTac 707c60e78a Update storage.json (#65599) 2023-05-14 00:56:17 -04:00
RenechCDDA 04238d7e4b Abort activity that calls menu if NPC somehow has this activity (#65608) 2023-05-14 00:53:37 -04:00
Alexey e9e03bb5f5 Slight fixes to turret test (#65607) 2023-05-14 00:52:44 -04:00
Maleclypse dd194900c2 Update mutations.json (#65611) 2023-05-14 00:52:08 -04:00
Kamayana b366fe0ba7 Fix VS compiler error (#65615) 2023-05-14 00:49:11 -04:00
Dillon Matchett 29eb1ae3d7 Remove the templating (#65617) 2023-05-14 00:48:46 -04:00
Light-Wave 036a92403a Fix for groundcover changes that broke Innawood and Magiclysm (#65618)
* Update regional_map_settings.json

* Update regional_map_settings.json

* Update data/json/regional_map_settings.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-14 00:47:21 -04:00
David Seguin 3496ea4474 Merge pull request #65623 from irwiss/misc-fixes
Various small fixes
2023-05-14 00:45:37 -04:00
Alexey 08336d8fa9 Check for un/folding tools via crafting inventory (#65624) 2023-05-14 00:39:41 -04:00
Alexey 3dee58ebbd Use correct literal type 2023-05-13 21:04:07 +03:00
Alexey 5b4b209d63 Raise limits on some enumerations in item info 2023-05-13 20:53:24 +03:00
Alexey f025d31cae Allow smashing alarm after hotwiring 2023-05-13 20:53:24 +03:00
Alexey 9612c9ade9 looks_like for magiclysm spider nest trees 2023-05-13 20:53:24 +03:00
Alexey 3646f5d15d Remove OPAQUE from 200L tanks 2023-05-13 20:53:24 +03:00
Alexey 736facecac Make data json use arrays 2023-05-13 20:53:24 +03:00
Alexey bc3a2c8ea1 Lower visibility of DynamicDataLoader::str_vec 2023-05-13 20:53:24 +03:00
anoobindisguise 6169c4f18c Bionic two way radio (#65603)
* radio bionic

* radio bionic

* fake radio item

* spawns of bionic radio

* spawns of bionic radio

* lower difficulty

* missing comma
2023-05-13 07:30:20 -03:00
Olaroll 031bd9ed3a Axe ring encumberance to 0 (#65601) 2023-05-13 07:27:47 -03:00
Qrox 12e138eaae Move name drawing code out of set_description 2023-05-13 17:40:35 +08:00
Qrox 8db08312ca Place cursor at the beginning of text 2023-05-13 16:33:24 +08:00
FatigueDev 945625a895 Add a new menu item to NPC quick chat to allow for quick assignment of tasks (#65609)
* Add new menu item to npc quick chat to assign to tasks

* Apply suggestions from code review Lint and Astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-13 01:14:50 -04:00
Angela Graves a9bcf42671 Merge pull request #65581 from Miner239/patch-2
recipe_food.json water_boiling_heat audit
2023-05-13 00:09:42 -05:00
Dillon Matchett d06ee82804 Options accessible by EOC (#65571)
* Options accessible by EOC

* removed assignment

Co-Authored-By: andrei <68240139+andrei8l@users.noreply.github.com>

* remove unused

---------

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-05-12 18:51:29 -04:00
Ruminator24 fc59e12d7a Changing flyer lore (#65579)
* Update missing_posters.json

* Update fliers.json

* Update data/json/snippets/missing_posters.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update missing_posters.json

* Update fliers.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update fliers.json

* Update fliers.json

* Update fliers.json

* Update fliers.json

* Update fliers.json

* Update missing_posters.json

* Update fliers.json

* Update fliers.json

* Update fliers.json

* Update fliers.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-12 18:48:04 -04:00
Alexey cfd6b2e440 Extract recipe hints for inline result_eocs (#65582) 2023-05-12 18:46:36 -04:00
RenechCDDA faea76e481 crash fix (#65587) 2023-05-12 18:45:10 -04:00
RenechCDDA ba965cd15c [Innawoods] Overrides to remove a bunch of manmade items from innawoods (#65591)
* Overrides to remove a bunch of manmade items from innawoods

* Apply suggestions from code review

Co-authored-by: Light-Wave <66904273+Light-Wave@users.noreply.github.com>

---------

Co-authored-by: Light-Wave <66904273+Light-Wave@users.noreply.github.com>
2023-05-12 18:40:37 -04:00
ZigVert 2ebf7046d1 IGNORE ME! 2023-05-12 12:00:32 -04:00
ZigVert 4259fc4475 IGNORE ME 2023-05-12 12:00:12 -04:00
RenechCDDA b1b524eb1b remove hardcoded lighter from NPC inventories (#65592) 2023-05-12 09:24:43 -03:00
Qrox d11c3d1394 Update documentation 2023-05-12 16:17:30 +08:00
Qrox 6387d62af9 Fix writing to empty curses window causing the whole screen to be borked 2023-05-12 16:17:30 +08:00
Qrox 2a3e0ebb63 Place cursor behind important text in overmap UI and new character menu for screen readers 2023-05-12 16:17:30 +08:00
Qrox 1b73fb854e Add flag to always display curses cursor for debugging purposes 2023-05-12 16:17:30 +08:00
Qrox c0e8f8d5f0 Allow working around missing locale independent functions in MSYS2 MSYS 2023-05-12 16:17:29 +08:00
Qrox cf882c86e9 Add modification notice to conform to the Apache license 2023-05-12 16:17:29 +08:00
Angela Graves a1ee8869da Merge pull request #65586 from GuardianDll/typos
Typo hunting
2023-05-12 00:39:44 -05:00
ZigVert 9c8f1c81a5 yeet 2023-05-11 18:12:18 -04:00
Mer1ck 854b10d34e Merged automated format suggestion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 13:46:25 -07:00
Mer1ck 37760713c1 Merged automated format suggestion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 13:46:18 -07:00
Mer1ck 9f1f029e51 Merged automated format suggestion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 13:46:11 -07:00
Mer1ck 221d5f455e Merged automated format suggestion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 13:46:04 -07:00
Mer1ck 45d919c5f4 Merged automated format suggestion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 13:45:55 -07:00
Mer1ck 20dc7033ae Added frame packs
Added wooden frame pack recipes.
2023-05-11 13:28:59 -07:00
Mer1ck 71989f79e6 Added wooden frame packs
Added wooden frame packs in regular and large varieties.
2023-05-11 13:28:12 -07:00
GuardianDll fae952e677 More fixing, using Movement in the limb score as Venera3 proposed 2023-05-11 19:42:35 +02:00
GuardianDll ad5e417689 fixin 2023-05-11 18:10:41 +02:00
Nebnis 55dcdcf8aa fix to missing items 2023-05-11 12:36:36 -03:00
Dillon Matchett 3fc7b38ea8 Initial Implementation Of Replacable Limbs (#65505)
* Initial Implementation

* Styling

* handle mono legs

* CLANG appeasement

* clang appease

* de-auto
2023-05-11 13:03:09 +02:00
Miner239 adea1d6b08 increase syrup batch bonus because it's too long now 2023-05-11 18:00:39 +07:00
Miner239 2df768b341 third pass 2023-05-11 17:51:16 +07:00
Miner239 fb38bb9288 tainted tallow 2023-05-11 17:37:12 +07:00
Anton Simakov 215470776b [Magiclysm] Small tweaks for mage armor and mage blade (#65508)
* Rebalance magiclysm's mage armor spell to also scale with intelligence

See #64405

* Update item_enchants.json

* Update ethereal_items.json

* Update item_enchants.json

* Update item_enchants.json

---------

Co-authored-by: Zack Shoylev <zack.shoylev@gmail.com>
2023-05-11 12:34:49 +02:00
Kevin Granade a1d32e70de Weekly Changelog 2023-05-01 to 2023-05-08 (#65538)
* Weekly Changelog 2023-05-01 to 2023-05-08

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-11 12:33:47 +02:00
Miner239 9db1c3eb83 second pass, demihuman fat processing 2023-05-11 17:29:21 +07:00
Miner239 8fe8e4fa65 recipe_food.json water_boiling_heat audit 2023-05-11 16:19:59 +07:00
Angela Graves 5d976d4e0e Merge pull request #65547 from MNG-cataclysm/beehive_spawn
Allow natural bee hives to spawn
2023-05-11 03:07:48 -05:00
RenechCDDA 47e42936a3 Small improvements to vehicle install part menu (#65558)
-Appliances hidden
-NOINSTALL parts hidden
2023-05-11 01:02:43 -04:00
Rewryte 3981ca7f81 Open multiple containers in Advanced Inventory Manager (#65560)
* multi cont

* open third cont

* astyle
2023-05-11 01:00:12 -04:00
anoobindisguise 3cf9d83a00 Fix arming mitten coverage (#65572)
* Fix arming mitten coverage

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 00:53:36 -04:00
anoobindisguise 817de96412 Further mutant scales refinements (#64681)
* Update materials.json

* Update integrated.json

* fix typos

* add another scales tier

* add SPARSE_SCALES

* SPARSE_SCALES

* Sparse Scales

* fix roughskin

* correct fishscales material

* lower sparse scales weight

* make mutant scales soft

* lizard scales adjusts

* softness tweaks

* thick scales references its scutes

* restore no_salvage to reptilescales

* Update data/json/items/armor/integrated.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* final tweaks

* scute is a real word

* fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 00:47:12 -04:00
Dillon Matchett 09ec27d51f Store Conditionals (#65556)
* Code + Tests

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* clang

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 00:43:21 -04:00
Anton Simakov f956fce439 [Xedra Evolved] Sane inventor's researches (#65557)
* Sane inventor's researches

* add boost for passive sparks

* Update initialization values

* Update researches recipes
2023-05-11 00:42:03 -04:00
David Seguin 896a88482b Merge pull request #65298 from andrei8l/math_parser-weather
math_parser/eoc: migrate arith. weather to math
2023-05-11 00:39:52 -04:00
Jeremy Rose ec6ed3d125 unhardcode mx_roadblock (#62407)
* convert add_spawn to place_spawns in mx_roadblock

* set individual flag, otherwise we get 1-5 Zs at each spot

* Initial commit

* Update data/json/regional_map_settings.json

Co-authored-by: Jeremy Rose <nornagon@nornagon.net>

* unhardcode

* update the description

* tweak values in mods

* Apply suggestions from code review

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Update map_extras.cpp

* Update map_extras.cpp

* Update map_extras.cpp

* Update map_extras.cpp

* Update src/map_extras.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: GuardianDll <antisim009@gmail.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 00:14:46 -03:00
misora31 6e62a05455 Changed Giant Pincer into a piece of integrated armor with qualities and some natural moves, also messed a little with the warmth values of crustacean carapace. (#65546)
* Changed Giant Pincer into a piece of integrated armor with Prying 1, Hammer 1, Cut 1, and Butchering -4 also decreased its encumbrance from 40 to 30. It also know has the built in moves Parry and Brutal Strike.

* Changed description for Integrated Giant pincer

* Fixed syntax thing in json
2023-05-10 16:09:25 -03:00
FoolsGold45 2180b10850 copyfrom pineapple->melon (#65569) 2023-05-10 12:14:17 -03:00
waxcatape 627309c98a add a storage tank furniture and the associated recipe. (#62132)
* add a storage tank furniture and the associated recipe.

* fix linting hopefully.

* fix description.

Co-authored-by: Paprika-H <78005870+Paprika-H@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-storage.json

Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-storage.json

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

---------

Co-authored-by: waxcatape <waxcatape@waxydude.xyz>
Co-authored-by: Paprika-H <78005870+Paprika-H@users.noreply.github.com>
Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
2023-05-10 12:02:32 -03:00
Ruminator24 dc572d7696 Smart watch (#65533)
* Create smart watch

makes item smart watch

* Create smart watch loot drop

adds smart watch to loot drop

* Delete smart watch

* Delete smart watch loot drop

* Update clothing.json

* Update tool_armor.json

* Update data/json/items/tool_armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool_armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/tool_armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
2023-05-10 09:58:16 -03:00
MarcusAseth c843ad14e5 Toggle language to English - Adds instructions for users (#65554)
* provides a clear instruction on how to use this properly

* restarting tests

* restarting tests
2023-05-10 09:55:45 -03:00
Karol1223 d109b8f2ff Followup child cleanup PR (#65509)
* Followup child cleanup

* Merge remote-tracking branch 'upstream/master' into think-of-the-children

* no teddy insanity

* simply a silly mistake

* group splitting

* lint the linty

* descriptions and snippets oh my
2023-05-10 09:25:43 -03:00
Kantonine 303207c67b Changed Airsoft Gloves Warmth and Flags
Decreased Warmth of Airsoft Gloves and added Nat. Attack & Talons Flag
2023-05-10 10:25:03 +01:00
Angela Graves a5356bca22 Merge pull request #65563 from anoobindisguise/anoobindisguise-sig553stuff
fix damage of sig 553 rifle
2023-05-10 00:25:13 -05:00
stubkan 598ece3a3a combined multiple if conditionals to single line to pass checks 2023-05-09 23:31:18 +01:00
stubkan 4da904ee47 Fixed recruitment terrain checks and made them less intensive on
overhead
2023-05-09 22:59:01 +01:00
stubkan 6dc1cc3bf4 Added new wandering horde check for individual zombies being in the open
Restricted wandering horde preference to move into open terrain
2023-05-09 22:00:26 +01:00
Perry Fraser 922d78408f Fix compilation with LOCALIZE=OFF (#65548) 2023-05-09 15:30:54 -03:00
Angela Graves a3dd8c664f Merge pull request #65458 from anoobindisguise/patch-9
DaiZoom snippet
2023-05-09 10:59:31 -05:00
Nebnis bbab04fdea spruce map, fix rotations meshing with surrounding 2023-05-09 12:21:11 -03:00
MNG-cataclysm 229f0bf0c8 add the stuff 2023-05-08 22:00:02 -04:00
MNG-cataclysm a05bd1e2cc Revert "add the update"
This reverts commit 473038ec0c.
2023-05-08 21:57:25 -04:00
MNG-cataclysm 473038ec0c add the update 2023-05-08 21:56:22 -04:00
Nebnis 285ac24cda harvest to seedling. 2023-05-08 21:17:03 -03:00
Nebnis 00ed657ea4 more map sprucing up 2023-05-08 20:40:22 -03:00
Dillon Matchett ea17d8e670 Mutators for EOCs (#65539)
* Mutator EOCs

* Update data/mods/TEST_DATA/EOC.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-08 14:42:52 -07:00
Nebnis fcd1c34736 Merge branch 'Survivor-forest-site' of https://github.com/Nebnis/Cataclysm-DDA into Survivor-forest-site 2023-05-08 16:25:44 -03:00
Nebnis c4575d0d64 i hate linting.... 2023-05-08 16:25:40 -03:00
Nebnis 0dcdd28cdb Update data/json/overmap/overmap_special/specials.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-08 16:22:54 -03:00
Nebnis bb3a9a134f Removed problematic items. Spruced map a bit. 2023-05-08 16:12:45 -03:00
Karol1223 e3ecc4e31e A bunch of random item reworks: 1 (#65474)
* candlestick

* rolling pin & candlestick to-hit

* cutting board & rolling pin price

* medical gloves & spatula

* the density tests bleh

* the pricing

* pockets pockets pockets

* brass the candlestick

* fanny pack
2023-05-08 10:39:36 -03:00
Angela Graves 778a26c04e Merge pull request #65534 from CleverRaven/tileset-updates
Routine tileset updates on 07 May 2023
2023-05-08 00:37:29 -05:00
David Seguin 925bd9816d Merge pull request #65537 from bombasticSlacks/combat-catchup
combat catchup
2023-05-08 00:37:06 -04:00
MarcusAseth a9de10547a Adds a key to toggle the language to English and back on the fly (#65109)
* Adds a key to toggle the language to English and back on the fly

Adds a Keybind called "Toggle language to English", default assigned to the key "," for testing purposes.
If from the game options a language different from english was selected when using this key, when pressing this button the language will toggle between the two.

* fixed formatting

* small formatting fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small formatting fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small formatting fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Improved readability

* small formatting fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* by default the keybind is now unbound

* made the change_language code into it's own function

previously changing language was tied to whatever other things set_language() was doing, so that functionality has been taken out so that other code can access it.

* added const + format fix

* added const

* improved naming of functions

The previously called "set_language()" became "set_language_from_options()" to better portray what it did.
The new function that allows to change language from code got the previously occupied name of set_language as "set_language(const std::string &lang)"

* Allows "Toggle language to en" to work in every menu

* Added .empty() checks for safety

* Changed to compare actions instead of strings

* using references instead of making copies

* Item text inside inventory tab gets correctly refreshed

* astyle format

* now the action is not registered to a specific contest, should be global

* fix comment and spacing

* Invalidate all ui_adaptors after changing language

* initialized undefined variable

* Correctly regenerate cache for item descriptions in the crafting menu when language is changed

* moved lang_version variable inside recipe_result_info_cache

* Makes inventory_item_menu refresh when the language change

I've moved the code drawing that menu inside an if() statement inside the loop so we can check after every input if the language was changed and a redraw is needed.  Because of, I've had to pull up some variable outside of the if() scope so that they could continue to be visible to the switch below that needs them.

* Toggle now also work in the Compare menu

Similar commit to the previous one, moved the rendering code into an if() statement inside the loop so that it can be checked after every input. Then moved the variables that need to be visible at a higher scope outside of the loop

* central portion of the crafting menu was still cached - fixed

I had missed the central part of crafting menu being cached

* implemented suggestions

* Apply suggestions from code review

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>

* moved variable closed to where it's used

* added missing update of a bool

* moved variable outside of loop

* moved variable outside of loop

Had to move some variables outside of the loop, because in the case of "item_info_first" and second, if they got deleted at each iteration of the loop could cause exceptions, in the case of "scroll_pos" the position of the scrollbar need to be maintained. "page_size" as well shouldn't be reset at each iteration of the loop.

* added comment

* update cache for the right portion of the building screen

* added comment

* added comment

* fixed comment -

* empty commit

* empty commit

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-05-08 00:35:12 -04:00
Anton Simakov 27677b2f57 [Xedra Evolved] fix wrong boiler description (#65521)
* Update gun.json

* Update mics.json

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-08 00:33:14 -04:00
RenechCDDA 0039fccba3 [CR] Modify do_turn to update NPC morale when player morale is updated (#65504)
* Update NPC morale when player morale is updated

* NPCs desync from expected morale if updated based on *player* turns,
so we must not use player turns
2023-05-08 00:18:05 -04:00
Tim Pollard f51509132a Making Paramilitary Zombies spawn damaged gear. (#65496)
* Making Paramilitary Zombies spawn damaged gear.

* Fixing a long line

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-08 00:16:37 -04:00
FickDiddler 802314cff9 Quick typo fix for Xedra Evolved (mics to misc) (#65501)
* Update and rename mics.json to misc.json

* Update category.json

* Update gunmods.json
2023-05-08 00:14:35 -04:00
NetSysFire 01ee53771b add new holy symbol mission, minor technical improvements to other missions (#65506) 2023-05-08 00:13:53 -04:00
wwkk222208 d3e0f9c6ad Fix the issue of incorrect prompts when comparing the FOV attributes of two items (#65527) 2023-05-08 00:11:09 -04:00
Anton Simakov e29ceb5815 QoL changes in mechanic practice (#65526)
* change the WRENCH tool from 2 to 1

* Add items to loot groups

* Removed bottle with ehtanol
2023-05-08 00:10:22 -04:00
wwkk222208 da13317d1a Update flags.json (#65529)
Make the description of the flag of the laser sight more accurate.
2023-05-08 00:09:44 -04:00
David Seguin 9af36e8f10 Merge pull request #65512 from irwiss/vproto-fixups
Vehicle prototypes cleanup
2023-05-08 00:09:09 -04:00
mqrause 1d449e85aa Pockets overflow into their parent pockets if possible (#65518)
* pockets overflow into their parent pockets if possible

* fix autopickup test

* clang tidy

---------

Co-authored-by: mqrause <martin@qrause.de>
2023-05-08 00:08:46 -04:00
bombasticSlacks 25d37e0caf documentation 2023-05-07 21:24:40 -03:00
bombasticSlacks 603669d7be combat catchup 2023-05-07 21:23:16 -03:00
Nebnis 5c396bb954 forgot to lint the rest 2023-05-07 20:11:29 -03:00
Nebnis 8a687e882e linted 2023-05-07 20:07:06 -03:00
casswedson 1a28ceb1a1 Routine tileset updates on 07 May 2023 2023-05-07 23:01:05 +00:00
Nebnis 16e0ad7c23 finally learned how to commit 2023-05-07 19:47:55 -03:00
David Seguin f4b39315b2 show playtime when choosing a character to load (#65517) 2023-05-07 16:02:41 -03:00
Angela Graves 5cc5f311ff Merge pull request #65511 from CleverRaven/update-toc
Update the table of contents in doc/JSON_INFO.md
2023-05-07 01:31:48 -05:00
RedBloodCat e2214be2c3 Update generic.json 2023-05-06 21:09:22 +02:00
Alexey bf3dab6435 Use copy-from in bike prototypes 2023-05-06 20:58:47 +03:00
Kevin Granade 4d861d52b5 Merge pull request #65401 from CleverRaven/changelog-weekly-2023-05-01
Weekly Changelog 2023-04-24 to 2023-05-01
2023-05-06 09:54:11 -07:00
Alexey 83803eec88 Add 4x4 car diesel 2023-05-06 19:03:32 +03:00
Alexey 79df6c969b Use copy-from to remove duplicate json entries 2023-05-06 18:46:35 +03:00
Alexey 4a3baf43a0 Use mod_tracker for vehicle_prototype 2023-05-06 18:46:35 +03:00
dseguin 626e72cb1d Update the table of contents 2023-05-06 15:37:38 +00:00
Eric 195b437e4d Create a context variable with tile location during weather checking. To be used for portal storms centers (#65491)
* First

* Second

* Works

* Uses context now

* Update WEATHER_TYPE.md
2023-05-06 11:24:30 -04:00
Bence 8642f96df1 Update dive_shop.json (#65502) 2023-05-06 11:16:51 -04:00
RenechCDDA c875fbe239 Apply faction ownership to the exodii's safehouse stores (#65503) 2023-05-06 11:15:23 -04:00
Karol1223 c6e3b9daf0 A bunch of random item reworks: 2 (#65486)
* pots and pans oh my

* salt lick & weed

* solder & reactor note

* this makes no sense

* USBs

* note
2023-05-06 11:10:24 -04:00
Dillon Matchett 891aa5276a barrel length for mods (#65487)
* conversion kit barrel length

* do the assignment and update tests

* Woops didn't finish documentation

* Update src/item.cpp
2023-05-06 11:09:28 -04:00
David Seguin 9cab0e9ee2 Merge pull request #65381 from jbytheway/llvm-16
Upgrade clang-tidy used in CI to LLVM 16
2023-05-06 11:08:26 -04:00
Angela Graves d3ea970c8d Merge pull request #65497 from CleverRaven/i18n
Routine i18n updates on 06 May 2023
2023-05-06 00:12:26 -05:00
Dillon Matchett fd900ecb1e EOC Run With (#65454)
* run EOCs with + tests

* Expects condition

* Progress on Queue

* queue tests

* Basic Docs

* All tests working

* styling

* CLANG bugfixes

* CLANG
2023-05-05 22:23:12 -04:00
Hirmuolio 4609c7a9cd Fix infinite recursion when trying to drain battery (#65488)
* check for available

* better fix

* comment
2023-05-05 22:17:19 -04:00
David Seguin 4cd169574a Apply suggestions from code review 2023-05-05 22:13:55 -04:00
kevingranade 03a93a73ae Routine i18n updates on 06 May 2023 2023-05-06 02:04:50 +00:00
Anton Simakov a9fea5fc79 [Xedra Evolved] My body is a machine to turn sparks into railguns (#65030)
* Initial commit

* too soon

* fixin fixin

* fixin fixin

* no message

* lintin' lintin'

* fixin stuff

* Update data/mods/Xedra_Evolved/eocs/inventor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* holy shit `math` is awesome

* some random bug

* fixin fixin

* another fixes

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* desc fixes

* end making the ini

* Update data/mods/Xedra_Evolved/recipes/inventor/armor.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* noooo you can't add even more stuff in this pr its too big

* actually, biggest part of PR is different sort of obsoletions

* Update data/mods/Xedra_Evolved/items/inventor/armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* and another

* Lint

* Apply suggestions from code review

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/recipes/inventor/armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* yolo

* Update data/mods/Xedra_Evolved/recipes/inventor/armor.json

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* no more lorem ipsum

* Update data/mods/Xedra_Evolved/items/inventor/gun.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/recipes/inventor/armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fixes here and there

* add plural form

* no message

* Update data/mods/Xedra_Evolved/monsters/inventor.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/inventor/gun.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* spelling

* Update data/mods/Xedra_Evolved/items/inventor/armor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* minor tweaks

* just stop it

* tweak inventor_leg_weight

* added message if you end roll_remainder

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-05-05 18:54:22 -04:00
Dillon Matchett b8f3b246a3 Made layering inside handle sub limbs (#64004)
* Made layering inside vs out handle sub limbs

* fix over consting

* fixed test suite entries

* missing conflicts clause
2023-05-05 18:51:46 -04:00
anoobindisguise a93e1a9ced do Erk's thing
Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
2023-05-05 14:27:22 -07:00
akrieger b36496f5f3 Fix unvisited member reporting from global destructors in atexit. (#65477) 2023-05-05 14:16:09 -07:00
anoobindisguise 4e5c990654 make the description more vague 2023-05-05 13:03:02 -07:00
Dan1ss1mo 7df7f2febe Integrated AR system CBM (#62849)
* Update bionics.json

* Update fake.json

* Update bionics.json

* Update bionics.json

* Update exodii_merchant_itemlist.json

* Update harvest_cbm.json

* Update data/json/items/bionics.json

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* Update data/json/items/fake.json

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>

* Update monster_drops.json

* Im dumb

* Update bionics.json

* Update fake.json

---------

Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
2023-05-05 14:53:45 -03:00
anoobindisguise da791bbec9 fix damage of sig 553 rifle 2023-05-05 10:05:03 -07:00
Nebnis 3205569809 test 2023-05-05 12:26:07 -03:00
David Seguin 2acc6f404f Allow comestibles to inflict multiple addictions (#65480)
* allow defining multiple addictions per item

* multi-addiction unit test

* multi-addiction documentation
2023-05-05 09:33:54 -03:00
Angela Graves 05870e116e Merge pull request #65478 from NetSysFire/plant-spawning-tweaks
vegetation tweaks
2023-05-05 00:23:19 -05:00
andrei 1fd8901ef4 tests/vision: maybe fix vision test? 2023-05-05 07:27:43 +03:00
andrei 18b589477c weather/json: fix mist/fog formula and conditions 2023-05-05 07:27:43 +03:00
andrei 66381784bb tests/eoc: fix setup for npc_compare_int 2023-05-05 07:27:43 +03:00
andrei 6acd98f2c1 eoc/condition: migrate arith. weather to math 2023-05-05 07:27:43 +03:00
andrei c639c45932 math_parser: add weather and temp. conversion functions 2023-05-05 07:27:43 +03:00
Alexey 3f5fc9a0be Move wheel data to JSON (#65377) 2023-05-05 00:20:00 -04:00
Bence 79a6f35efd bike shop update (#65441) 2023-05-05 00:15:58 -04:00
andrei de43cc6ec5 math_parser: port skill_level functions to math (#65465) 2023-05-05 00:15:08 -04:00
Eric 87b083fa04 Fix usage of vars in some EOC code (#65444)
* First pass

* Second pass

* Update npctalk.cpp
2023-05-05 00:13:57 -04:00
David Seguin c1df3b65e0 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-04 21:13:39 -04:00
Jianxiang Wang (王健翔) 0ccbe48f01 Prevent mission marker from being cutoff in the overmap (#65429) 2023-05-04 21:11:32 -04:00
RenechCDDA 994276a87a Allow dead trees to be harvested for wood (once) (#65464) 2023-05-04 20:56:33 -04:00
Andrey Andreyevich Bienkowski 089eaf452a Fix a crash due to stale pointer in mon_visible (#65466)
See #65451
2023-05-04 20:53:23 -04:00
RenechCDDA 81c229f66b Fix crash when installing vehicle parts on empty square (#65472)
* friendship ended with cpart
dd is my new best friend

* simplify!
2023-05-04 20:52:21 -04:00
Jianxiang Wang (王健翔) fcfea931d1 Make copy-from copy terrain/furniture examine actions (#65473) 2023-05-04 20:51:26 -04:00
anoobindisguise fd3e69ba6f chelator removes crustacean instead of adding it (#65479) 2023-05-04 20:49:56 -04:00
David Seguin 1be35a3214 Merge pull request #65475 from ralreegorganon/fix-swimming-tests
Set preconditions for swim tests more aggressively
2023-05-04 20:48:13 -04:00
NetSysFire d2b065edfc vegetation tweaks 2023-05-04 23:04:38 +02:00
Jason Jones 1dfba7bac5 Allow some margin in expected steps for swim tests
The actual move cost will still be an exact value, but we'll allow
some margin in the expected number of steps to account for all
the variability that comes from trying to actually move the
avatar in the world.
2023-05-04 09:16:27 -08:00
Jason Jones e072b60ea0 Set preconditions for swim tests more aggressively 2023-05-04 08:13:25 -08:00
Nebnis bc7b9a3119 fix 2023-05-04 12:31:05 -03:00
Nebnis 8262f4c7c8 fix 2023-05-04 12:13:06 -03:00
Nebnis 44196e7def fix 2023-05-04 12:02:11 -03:00
Nebnis fa35957955 fix 2023-05-04 11:57:51 -03:00
Nebnis 8a8da569e6 fix 2023-05-04 11:47:12 -03:00
Nebnis 08cb3b8472 fix 2023-05-04 11:42:53 -03:00
Nebnis cb6b418f42 fix 2023-05-04 11:30:16 -03:00
Nebnis d860680b13 fix 2023-05-04 11:15:11 -03:00
andrei 7c613dd5ea talker: implement cloning w/ CRTP (#65469) 2023-05-04 10:57:11 -03:00
Nebnis 83a7e249b7 fix 2023-05-04 10:54:50 -03:00
Light-Wave 40a2e5ff73 Minor fix (#65455) 2023-05-04 10:49:59 -03:00
Nebnis c6ef97aa7b fix 2023-05-04 10:07:09 -03:00
Nebnis 809145cf8c fix 2023-05-04 09:48:11 -03:00
Nebnis ba0d2c3eac fix 2023-05-04 09:30:20 -03:00
Venera3 f9caeb7025 Rework grabs (most of them, at any rate) (#64999)
* Grabs the first

C++ and documentation

* Tests, Tweaks, Docs

* Rebase fixes

* Update src/mattack_actors.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Src tweaks

Mattack proper, was_loaded

* JSON changes

Including WIP second grabs, mods, but no dinos

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Src oopsie

* Update src/mattack_actors.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/mattack_actors.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Src Oopsie 2

* Backup WIP (don't ask)

* Dinomod part 1

* Dinomod Part Two

* Final?

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Clang

* Ampersin

* We used to talk, Basic Build

You could complain about more than a single file at once, back then

* Mamaaaa

* Update monster_attack_test.cpp

* Armor

* Teleport oopsie

* Clang?

* Plop

* Clang me up, Scotty

* Un-complexify the grab test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-05-04 11:15:50 +02:00
Angela Graves ef6dedc254 Merge pull request #65123 from Rewryte/metamagic_fixes
[Magiclysm] Subtle spell and silent spell tweaks
2023-05-04 02:00:38 -05:00
Jason Jones dff5c340c0 Add avatar swim tests (#65457)
This doesn't change anything about how the avatar currently swims. It
simply captures some empirical data so we have a baseline for the
current state of things.
2023-05-03 23:02:49 -03:00
Kamayana 076c81e268 Re-enable device EOC menu text (#65456) 2023-05-03 23:02:14 -03:00
andrei 5fc619c009 math_parser: add support for JSON-defined functions (#65379)
* math_parser: constify math func params

* eoc: defer math parsing to finalization step

* eoc_math: convice clang-tidy that everything will be alright

* math_parser: add support for JSON-defined functions
2023-05-03 23:01:16 -03:00
Golfavel 18ae73a1ac Play with the corvids (#65447)
* ravens and crows can now be played with

* added: generic chick so that you cannot tame most bird chicks by default
fixed: bad json

* changed: (most) remaining bird chicks to copy from generic chick instead of from crow chick

* Update data/json/monsters/bird.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* changed: generic chick is abstract

* removed: taming adult corvids

* cleaned: remaining bird chicks

* changed: bluejay (adult included), turkey, pheasant, and cockatrice chicks can be played with

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-03 14:55:58 -07:00
anoobindisguise c939fd0cd5 remove 'those of' 2023-05-03 12:38:29 -07:00
anoobindisguise 57703e55da more rewording 2023-05-03 12:36:03 -07:00
anoobindisguise 8614e012cb change a few words to be better 2023-05-03 12:34:36 -07:00
anoobindisguise bf7078aebc DaiZoom snippet 2023-05-03 12:31:14 -07:00
Andrey Andreyevich Bienkowski d83f56460d Make watermelon seeds craftable (#65452) 2023-05-03 12:27:27 -07:00
Nebnis 74fbaad8ee center_skin 2023-05-03 15:28:56 -03:00
Nebnis 4e0a76cba0 test 2023-05-03 15:20:37 -03:00
Nebnis 5fe9675a69 test 2023-05-03 15:14:17 -03:00
Nebnis 5f085d63ac fix 2023-05-03 15:10:48 -03:00
Nebnis d8a2855fc6 fix 2023-05-03 14:59:19 -03:00
Nebnis b20d67daf6 fix 2023-05-03 14:55:28 -03:00
Nebnis 78f998bb25 fix 2023-05-03 14:47:29 -03:00
Nebnis 4a60a15a7b fix 2 2023-05-03 14:46:30 -03:00
Nebnis 6a4a76e9d8 fix 2023-05-03 14:39:05 -03:00
misora31 5672ce2534 Adding the Crustacean Mutation Tree to the game, also adds a mutation from that branch to the Insect and Spider pool. (#65310)
* Add the necessary items, recipes, and mutations to add the crustacean mutation line.

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-03 10:28:49 -07:00
Nebnis c0927022c1 Test 2023-05-03 14:27:01 -03:00
RenechCDDA 15703184b5 Display why vehicle parts cannot be installed (#65341)
Co-authored-by: irwiss@users.noreply.github.com
2023-05-03 10:24:03 -07:00
Andrey Andreyevich Bienkowski 39e7de041e Fix crash: dangling pointer to faction (#65442)
https://github.com/CleverRaven/Cataclysm-DDA/issues/65440
2023-05-03 12:31:56 -03:00
Nebnis 22730c76fc work work 2023-05-03 11:26:14 -03:00
Maleclypse d71b577f6f Fix the transforming mutation eocs in Xedra Evolved (#65396)
* Update mutation_eocs.json

* lint

* Perfection
2023-05-03 12:07:33 +02:00
Angela Graves d53bbbeae0 Merge pull request #65439 from RenechCDDA/calories_again
Fix calories for raw-->cooked foods
2023-05-03 00:11:44 -05:00
Nebnis 08d5b10ea8 New item: large shelter kit and the recipes for it. (#65415)
* https://github.com/Nebnis/Cataclysm-DDA

* a

* a

* shelter_kit

* Update src/mapdata.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-terrains.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-terrains.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/furniture_and_terrain/furniture-terrains.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update mapdata.cpp

* Update shelters.json

* Update shelters.json

* Update mapdata.cpp

* Update mapdata.h

* large_damaged

* Update data/json/recipes/recipe_others.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update shelters.json

* Update shelters.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-03 00:23:00 -03:00
Bence f6247133d2 Resurrecting the nether monster corpse (#65421)
* the revive

* organize overmap tiles, fix eoc

* mapgen

* mutable

* lint

* co-author

Co-authored-by: gkarfakis19 <gkarfakis19@users.noreply.github.com>
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* simplify

---------

Co-authored-by: gkarfakis19 <gkarfakis19@users.noreply.github.com>
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-05-03 00:20:10 -03:00
Jianxiang Wang (王健翔) c5464ce2cf Show NPC location when selecting NPC to chat with, guard, or follow (#65432)
* Show NPC location when selecting NPC to chat with

* Update cursor location when selecting uilist entry with mouse

* Show NPC location when selecting NPC to guard or follow
2023-05-03 00:16:07 -03:00
Mateusz Marszałek ad27fe8663 Fix issues with house_38 (#65435)
There are currently few issues with house_38, like not being able
to drag furnitures through screen doors

fixes #64185

modified house38.json and terrain-fences-gates.json
2023-05-03 00:15:05 -03:00
Alexey 9f7c25d973 Obsolete NO_QUICKDRAW flag (#65423) 2023-05-02 19:58:08 -03:00
Karol1223 058d7a2d6f More misc item fixes & AID obsoletion (#64905)
* first wave

* the wrenchening

* second wrenchening

* wave 2

* silly syntax

* wave 3

* wave 3.5

* wave 4

* the evil test

* wave 5

* wicked syntax

* wave bonus: fuck the bionics

* stop

* no mapgen!!!

* it can't be easy

* the mods are evil

* I am stupid

* when the soap isn't working

* Update containers.json

* Update fake.json

* Update swords_and_blades.json

* Update cooking.json

* Update landscaping.json

* Update metalworking.json

* Update misc.json

* Update woodworking.json

* Update workshop.json

* Update misc.json

* Update workshop.json

* Update workshop.json

* Update mechanics.json

* Update swords_and_blades.json

* Update bionics_mainline_override.json

* Update bionics_mainline_override.json
2023-05-02 16:47:20 -03:00
RenechCDDA d31ce1d522 set cooked flag for components for correct calorie amounts 2023-05-02 14:24:02 -04:00
Angela Graves ffc75ab9b5 Merge pull request #65425 from CleverRaven/update-toc
Update the table of contents in doc/JSON_INFO.md
2023-05-02 00:23:44 -05:00
Maleclypse 286e48a054 Update data/changelog.txt
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
2023-05-01 21:47:13 -05:00
Angela Graves 0d71f5407a Merge pull request #65399 from CleverRaven/tileset-updates
Routine tileset updates on 30 April 2023
2023-05-01 20:58:50 -05:00
David Seguin 85cc8ac818 Merge pull request #65367 from irwiss/veh-protos-factory
Make vehicle prototypes use generic_factory
2023-05-01 21:42:58 -04:00
dseguin 6ea266794a Update the table of contents 2023-05-02 01:40:40 +00:00
casswedson 1ff8037f42 fix: tundra mage enchantment typo (#65405)
grep for tundra_mage_aoe and notice the bad bad use all lowercase for an
id and all uppercase for another, prone to mixing them up

one of the tundra mage's mutations calls a spell id in its enchantment
array, fix that; replace it with the id that's an enchantment

`vi"~`

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-05-01 21:36:20 -04:00
RenechCDDA 92e28b581f document burn_data for materials (#65409) 2023-05-01 21:35:03 -04:00
David Seguin 775f16e941 Merge pull request #65414 from irwiss/tidy-vehicle-funcs
Refactor index_of_part, tidy vehicle functions
2023-05-01 21:32:19 -04:00
Alexey c9db418910 Fix recipe lang parser expecting result field (#65420) 2023-05-01 21:24:41 -04:00
ZigVert 066d74ad28 added proficiencies (#65422) 2023-05-01 21:23:43 -04:00
alef a19fe3d882 Downgrade cmake files to v3.20 (#65376)
* Use CMake version 3.20 and presets version 2

* Flatten presets into one

* Use presetName for the include file

* Start using multi-config generators

* Add a Linux release configuration and build preset

* Display PROJECT_NAME during configuration

* Fix all SDL2 related target names
2023-05-01 21:14:51 -04:00
Dillon Matchett c8c38c1f19 [Bombastic Perks] Recycler (#65397)
* recycler perk works

* Update data/mods/BombasticPerks/perkmenu.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-01 21:11:43 -04:00
Miner239 c27bbe964e Change anvil volume from 4L to 24L (#65416)
* Change anvil volume from 4L to 24L

* Remove anvil from known_bad_density.json
2023-05-01 21:10:48 -04:00
Dillon Matchett 2c393f6d88 Context Vars (#65307)
* Documentation

Update NPCs.md

Update EFFECT_ON_CONDITION.md

Event Docs

* Code

Clang fix

progress

compiles

start of tests

cleanup the rebase

Apply suggestions from code review

Remove copy_dialogue

fixes for constructors

fixes

Update src/math_parser.cpp

Co-Authored-By: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-Authored-By: andrei <68240139+andrei8l@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-05-01 21:09:21 -04:00
John Candlebury 2bd8d91274 Aftershock: Elemental bionic weapons. (#65391)
* Elemental bionic weapons.

* Fix plural forms

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-05-01 21:57:16 -03:00
Alexey 959332a865 Vehicle steering / part_vpower_w cleanups 2023-05-01 20:14:30 +03:00
Alexey 211c40338d Refactor vehicle::index_of_part to search by address 2023-05-01 17:32:34 +03:00
Alexey 4195db11de Constify get_non_fake_part, minor cleanups 2023-05-01 17:32:34 +03:00
Brambor bbfa357890 fixing grammar in comments - mostly it's -> its (#65388) 2023-05-01 11:08:41 -03:00
David Seguin a326bcf60f Weekly Changelog 2023-04-24 to 2023-05-01 2023-05-01 02:10:09 +00:00
Alexey d6865f8930 Break the law, remove a vehicle definition 2023-05-01 03:16:32 +03:00
Alexey 031720272f Move vehicle_prototype to generic_factory 2023-05-01 03:16:32 +03:00
casswedson edeb2d06c0 Routine tileset updates on 30 April 2023 2023-04-30 23:41:31 +00:00
SurFlurer 3010c6251a [CR] NPC spawn with reasonable stored_kcal (#64718)
* NPC spawn with healthy stored_kcal

* Set stored kcal before mutate

* Use a chi_squared distribution

* Cleanup
2023-04-30 20:20:22 -03:00
Alexey 80684259bd Make firing action UX more pleasant (#65382)
* Let fire_turret_manual return success

* Make avatar handle relax_gas

* Reorder 'f'ire avatar action priority
2023-04-30 20:12:35 -03:00
Bence e5ffceec4e Cleanup: regional airport (#65386)
* airport update

* no hope fix

* remove unused stuff
2023-04-30 19:02:27 -03:00
anoobindisguise e60b308bbb obsolete the power armor bionics (#65077)
* add power armor bionics to obsoletion

* obsoletion

* obsolete

* obsolete

* obsolete

* obsolete power armor bionic spawns

* fix mistakes

* fix mistakes

* migrations

* migrations

* comma

* address removed powerarmor bionics
2023-04-30 18:22:54 -03:00
Rewryte ef311b3229 Confirmation before attacking neutral mobs (#65204)
* add confirmation

* astyle

* fix attack hostile

* comment and astyle

* safemode as toggle

Co-Authored-By: Alexey <irwiss@users.noreply.github.com>

---------

Co-authored-by: Alexey <irwiss@users.noreply.github.com>
2023-04-30 18:20:51 -03:00
Ranik a1503f9ca7 Addition of Profession requirements (#65329)
* Addition of Profession requirements

* Update professions.json

* Update achievements.json

* Profession updates and Some Misc fixes
2023-04-30 18:17:54 -03:00
NetSysFire 02a55134f5 Make some locations more rare (#65366)
* location spawning nerf

* forgot one lmoe variant
2023-04-30 18:16:01 -03:00
John Bytheway 559263edfa Work around crash in AlmostNeverAuto
Trying to desugar certain types would crash inside the Clang code; this
works around that issue.

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-04-30 16:54:16 -04:00
John Bytheway e10af9aa49 Support Windows arg parsing in plugin CMakeLists
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2023-04-30 16:54:16 -04:00
John Bytheway 21cba00200 Update LLVM version in build scripts 2023-04-30 16:54:16 -04:00
John Bytheway b1142541ca Disable all checks which fire on LLVM 16
We don't want to have to fix all the new issues that LLVM 16 finds up
front, so just disable the checks for now.  Will be re-enabled slowly
over time.
2023-04-30 16:54:16 -04:00
John Bytheway 0512952688 Port clang-tidy helper script to LLVM 16
Needs to conform to new clang-tidy CLI.
2023-04-30 11:18:52 -04:00
John Bytheway 786ef2eb48 Remove a C-style array
This array causes clang-tidy to crash.  No idea why.
2023-04-30 11:18:52 -04:00
Binrui Dong d327c49637 Try clang-tidy plugin with LLVM 16 on CI 2023-04-30 11:18:52 -04:00
Angela Graves a82558795a Merge pull request #65374 from Daved27hundred/general-appliance-repair-and-stuff
appliance recipes update + home improvement backround
2023-04-30 08:09:29 -05:00
Binrui Dong 868745c352 Add tools/ to astyle-diff Makefile target 2023-04-30 07:20:23 -04:00
Binrui Dong d3284234ee Exclude check_clang_tidy.py from flake8 check 2023-04-30 07:20:23 -04:00
Binrui Dong e2f19ed10b Update cata-almost-never-auto check 2023-04-30 07:20:23 -04:00
Binrui Dong 866afce2a9 Update custom clang-tidy checks to be compatible with LLVM 16 2023-04-30 07:20:23 -04:00
Alexey 533dd1f5bc Remove unused static (#65383) 2023-04-30 08:09:24 -03:00
bateau-de-coal 621d53eaf4 dark_gray to light_gray (#65157) 2023-04-29 21:05:15 -04:00
David Seguin 73f653aa0f Merge pull request #65300 from irwiss/obsolete-accessories
Obsolete "accessories" gunmod slot
2023-04-29 21:01:43 -04:00
Dillon Matchett bb2a075d0b [bombastic perks] Forcefield and Evasion enchants (#65246)
* Forcefield and Evasion

* spelling
2023-04-29 20:50:12 -04:00
Bence 728416f36d Apartment complex: parking garage, lobby variants, roof additions (#65249)
* apt update

parking garage, roof stuff, lobby variants

* remove 'stairs' map variant

use conditional nesteds instead

* flag
2023-04-29 20:48:01 -04:00
David Seguin c00d6a7cac Merge pull request #65293 from irwiss/vehicle-fixes
Vehicle interaction menu fixes
2023-04-29 20:47:08 -04:00
Dillon Matchett 6f0752f964 Random missions fixes (#65342)
* Stop being global

* added process EOCs

* pointer safety and removed mi-go prisoners
2023-04-29 20:45:04 -04:00
Dillon Matchett 58a5020c8b Additional ambient guns (#65372)
* pre style

* styled

* updated to imply also groups like antifascists

* Update data/json/monsters/zed_survivor.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-04-29 20:41:16 -04:00
Dillon Matchett fbeaf5d404 UI fixes (#65309) 2023-04-29 20:37:35 -04:00
Rewryte bdac839655 Fix calculation for inserting into nested containers (#65373)
* change recursive function

* change max charges function

* format and astyle

* remove unnecessary variable

* remove unneeded check

check bypasses new calculations which account weight even for rigid containers

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* use get_pocket_data and avoid div0

as per review by irwiss

* close loopholes

closed more loopholes that allow rigid containers to skip checking for parent weight capacity

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-29 20:36:06 -04:00
Bence a7dafba557 pharmacy update (#65375) 2023-04-29 20:35:19 -04:00
akrieger 137a84d228 Don't report json member errors if currently throwing an exception. (#65363) 2023-04-29 20:33:59 -04:00
Bence ddf5cfa446 Update musicstore.json (#65361) 2023-04-29 20:33:14 -04:00
Maleclypse ded3a0413f Lodge basement variant - normal (#65353)
* Lodge basement variant

* Update data/json/mapgen/hunting_lodge.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix

* Update data/json/overmap/overmap_terrain/overmap_terrain.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-29 20:32:09 -04:00
andrei 7fbae15dbc math_parser: force classic locale before parsing (#65352) 2023-04-29 20:31:15 -04:00
Andrey Andreyevich Bienkowski dd5f78ff42 json: document families shorthand (#65347)
Looking at the code there appears to be a shorthand for specifying weakpoint families that is not currently documented https://github.com/CleverRaven/Cataclysm-DDA/blob/69c3dbb431febdff993c92b285e4b8542a06dfa7/src/weakpoint.cpp#L111
2023-04-29 20:30:47 -04:00
Alexey 2d5ae2ca08 Fix some clang-tidy and MSVC errors/warnings (#65304) 2023-04-29 20:29:31 -04:00
Clarence "Sparr" Risher 2a07b928dc Actually run tests with make RUNTESTS=1 (#65177) 2023-04-29 17:28:14 -07:00
ZigVert b191cc1951 tim allen grunt 2023-04-29 15:11:15 -04:00
Jianxiang Wang (王健翔) c02676adea Fix clang-tidy.sh to correctly handle paths without a starting slash and empty subsets (#65354) 2023-04-29 13:10:13 -03:00
Angela Graves 5dec493812 Merge pull request #65365 from CleverRaven/i18n
Routine i18n updates on 29 April 2023
2023-04-29 00:10:44 -05:00
kevingranade 85199ca35e Routine i18n updates on 29 April 2023 2023-04-29 02:06:51 +00:00
NetSysFire 094c9e46ce Hospitals now have a chance of piled up corpses in body bags on the porch (#65359)
* hospitals are now overburdened by dead people

* fix density

* i am literally just copying that item, dont bother me about the density please

* minor sentence rewording
2023-04-28 19:45:45 -03:00
SolventMercury 7c09c1d51b Weakpoints & Proficiencies for Zombie-Adjacent Monsters (#65346)
* Weakpoints & Proficiencies for Zombie-Adjacent Monsters

* Update data/json/monsters/fungus_zombie.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/fungus_zombie.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/fungus_zombie.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixed Incorrect Proficiency

- Fixed the incorrect use of the Synthetic Armors proficiency on an enemy with no armor.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-28 18:40:11 -03:00
Angela Graves 0b9b1fa700 Merge pull request #65350 from CleverRaven/update-toc
Update the table of contents in doc/JSON_INFO.md
2023-04-28 00:22:32 -05:00
aMegaSloth 5fb5ee5b5b Seperate weather tolerance from stomach related traits (#65335)
* seperate weather tolerance from stomach related traits

* Add removable mutation

---------

Co-authored-by: aMegaSloth <amegasloth@gmail.com>
2023-04-28 00:03:17 -03:00
I-am-Erk 8ca4d0e534 Update the table of contents 2023-04-27 23:26:18 +00:00
RenechCDDA 45a7c244e9 document "location" for vehicle parts (#65327) 2023-04-27 16:25:42 -07:00
ZigVert 69c3dbb431 im not removing that pun (#65343) 2023-04-27 13:54:26 -07:00
halosammy a1e68b32a6 Updated Phase Immersion Suit (#65324)
* Updated Phase Immersion Suit

* Update tool_armor.json
2023-04-27 17:27:05 -03:00
Jianxiang Wang (王健翔) 1a7ffd7a0d Do not cancel clang-tidy run when a subset finishes (#65320) 2023-04-27 10:05:21 -03:00
Alexey 48ed876c6a Fix vehicles' initial fuel spawns (#65323)
* Fix vehicle fuel spawning

* Fix hybrid cars always spawning with no fuel
2023-04-27 13:17:07 +02:00
Bence feebf9037e fix (#65322) 2023-04-27 13:07:58 +02:00
Aerin bffe6c5f56 Carpet Armor (#65331)
* Fix carpet weight/volume. Add carpet pilling material. Add carpet armor.

* Add recipes and carpet scraps item

* lint
2023-04-27 13:04:37 +02:00
Eric 56eb4f6d7c Add ability to find terrain, furnitures, traps, monsters or npcs with EOC. (#65228)
* More json power

* Update NPCs.md

* Remove shift hack

* Update npctalk.cpp

* Update npctalk.cpp
2023-04-27 11:36:53 +02:00
Angela Graves bd7a3976e4 Merge pull request #65308 from anoobindisguise/patch-8
remove gross food from hardtack
2023-04-27 00:38:31 -05:00
Alexey 5f2a60d7e3 Tidy up repaired_with field (#65189) 2023-04-26 18:57:34 -07:00
Eric 9d637bb79c Make refugee center guards move around in shifts. (#64988) 2023-04-26 17:42:23 -07:00
anoobindisguise 015860edce Hopefully refine telefragging behavior (#64810) 2023-04-26 17:35:54 -07:00
Angela Graves 01203da51d Merge pull request #65286 from CleverRaven/changelog-weekly-2023-04-24
Weekly Changelog 2023-04-17 to 2023-04-24
2023-04-26 00:11:36 -05:00
anoobindisguise 25e8b859b9 no bad food vitamin 2023-04-25 19:29:54 -07:00
anoobindisguise a5ea855117 remove other hardtack bad vitamins 2023-04-25 19:29:31 -07:00
anoobindisguise 953e0b2ae0 remove other hardtack grossfood 2023-04-25 19:28:38 -07:00
anoobindisguise ba65dcbad2 remove bad food from hardtack 2023-04-25 18:16:05 -07:00
John Candlebury 5c08c4c3ac Merge pull request #65306 from anoobindisguise/patch-7
fix wrong artifacts spawning in distorted labs
2023-04-25 18:48:42 -06:00
anoobindisguise 2671deb3ba reduction of coal spawns in mines and coal/charcoal price (#64572) 2023-04-25 16:14:30 -07:00
MNG-cataclysm f9fe8e4772 Add beekeeping and beekeeping acessories (#63718)
Co-authored-by: Venera3 <72006894+Venera3@users.noreply.github.com>
2023-04-25 16:06:42 -07:00
MNG-cataclysm 4b69f91d37 Add a way for static NPCs to have randomly generated missions. (#62640) 2023-04-25 16:00:17 -07:00
Hirmuolio 042fff658a Add units::temperature_delta (#62452)
Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
2023-04-25 15:55:38 -07:00
DoctorBoomstick c3f26cdcb7 Introduces .303 British as a calibre (#62174)
* Starts work on creating the .303 calibre, adds the basic  framework for .303 bullets.

* keeps working on adding the fraimwork for .303 ammo.

* adds a .303 onhand ammo group, and adds .303 ammo types to existing item groups.

* keeps adding to the item groups.

* adds the .303 SMLE Mk III and No. 4 Mk I battle rifles. also adds their magazine and clip.

* last tweeks before pr.

* starts trying to fix errors.

* fixes bugs.

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* ups the weight of .303 ammo to 25 gm.

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* reworks .303 round discriptions to try and make them less wordy.

* axes the unneeded No. 4 entry in the migration file.

* retrigger checks

* retrigger checks

* Makes .303 ammo drastically more rare.

* splits the Mk III and No. 4 into two items.

* fixes errors.

* retrigger checks

* Starts work on creating the .303 calibre, adds the basic  framework for .303 bullets.

* keeps working on adding the fraimwork for .303 ammo.

* adds a .303 onhand ammo group, and adds .303 ammo types to existing item groups.

* keeps adding to the item groups.

* adds the .303 SMLE Mk III and No. 4 Mk I battle rifles. also adds their magazine and clip.

* last tweeks before pr.

* starts trying to fix errors.

* fixes bugs.

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* ups the weight of .303 ammo to 25 gm.

* Update data/json/items/ammo/303.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* reworks .303 round discriptions to try and make them less wordy.

* axes the unneeded No. 4 entry in the migration file.

* retrigger checks

* retrigger checks

* Makes .303 ammo drastically more rare.

* splits the Mk III and No. 4 into two items.

* fixes errors.

* retrigger checks

* starts tuning up the PR.

* Finishes reworking stuff.

* adds .303 to the list of ammo types that can be held in the ammo powch.

* Adds gun barrel lengths, and tweaks ammo armour piercing, range, and volume numbers to be more sensible and in line with real world data.

* fixes merge errors.

* adds barrel length values for the ammo.

* fixes bugs.

* fixes more bugs.

* Replaces the “cut” damage entry with “stab” and removes the flag. Also rebalances magazine spawns, as Enfield mags are quite rare when compared to clips.

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-04-25 18:34:59 -03:00
Kevin Granade 7c26d11858 Merge pull request #65301 from taatu/remove-zomborg-explosion
Stop zomborgs from exploding on death
2023-04-25 14:29:29 -07:00
anoobindisguise a697831937 fix wrong artifacts spawning in distorted labs 2023-04-25 11:49:23 -07:00
Alexey 476fd04ea1 Update inherited flags cache when de/attaching gun and tool mods 2023-04-25 18:03:51 +03:00
Alexey 4b7917f876 Allow belt_clip mod to spawn 2023-04-25 18:03:51 +03:00
Alexey ac1e93c8a3 Delete obsoletion script 2023-04-25 18:03:51 +03:00
Alexey b776240439 Obsolete "accessories" gunmod slot 2023-04-25 18:03:43 +03:00
taatu e5c57d5ab3 Stop zomborgs from exploding 2023-04-25 16:28:54 +03:00
Alexey 3e80fad337 Script to remove accessories slot 2023-04-25 16:16:51 +03:00
Alexey 1edd977f6c Move belt_clip to dedicated gunmod slot 2023-04-25 16:16:51 +03:00
Rewryte ee6be48fd7 Quadrupedal movement with paws (#65186)
* paw crouch

* lint

http://dev.narc.ro/cataclysm/format.html

* add thresh req

* lint

* manual merge

Co-Authored-By: fairyarmadillo <94415528+fairyarmadillo@users.noreply.github.com>

---------

Co-authored-by: fairyarmadillo <94415528+fairyarmadillo@users.noreply.github.com>
2023-04-25 09:51:15 -03:00
Angela Graves 43581b499c Merge pull request #65254 from anoobindisguise/anoobindisguise-gambeson-refine3
gambeson fixes
2023-04-25 00:15:00 -05:00
Maleclypse 001333c123 Apply suggestions from code review
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-04-24 23:43:16 -05:00
Maleclypse e3d5a0b53e [Xedra Evolved] How do vampires deal with blood spoilage? (#65288)
* Blood Banks

Update containers.json

lint

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-04-25 00:10:06 -04:00
halosammy b5cd22cba0 Resizing the HWP 12.3 60-Round Magazine (#65296)
* Magazine resizing

* Update robofac_gun.json

* Update robofac_gun.json

* Update robofac_gun.json

* Update robofac_gun.json

* Update robofac_gun.json

* Update robofac_gun.json
2023-04-24 23:45:15 -04:00
Dark Daskin 6deb3022a6 Fixed display of tools required to repair an item (#65284)
* Fixed display of tools required to repair an item.

* astyle src/item_factory.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-24 23:35:28 -04:00
David Seguin 18f596f744 Apply suggestions from code review
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-24 23:27:34 -04:00
Hirmuolio aed326ce25 consume energy (#65289) 2023-04-24 23:25:49 -04:00
Dark Daskin 5c07b37d35 Inherit relative rot when disassembling. (#65291) 2023-04-24 23:23:54 -04:00
PerfectlyInternal dad8ff7a8a fixed large wooden box description (#65294) 2023-04-24 23:23:01 -04:00
Dee Anzorge fb4c843540 Fix archery stamina calculations (#65295) 2023-04-24 23:22:35 -04:00
Kevin Granade a2f5875d92 Merge pull request #64386 from dseguin/jsonify_damage_types
Jsonify damage types
2023-04-24 13:46:26 -07:00
Alexey e9b8371fd5 Make cruise control on the default and only behavior 2023-04-24 22:23:01 +03:00
Alexey 5c1860ebed Make fuel_current work correctly with muscle fuel 2023-04-24 20:41:52 +03:00
Alexey d8d7dec4db Hide individual engine controls if less than 2 exist 2023-04-24 20:41:44 +03:00
Angela Graves 853ea1cbce Merge pull request #65279 from kwl01skz/patch-2
Fix spelling mistakes
2023-04-24 06:21:58 -05:00
Fris0uman d2b9061607 Replace short rope by actual seatbelt in vehicles (#64834) 2023-04-24 08:46:44 +03:00
LyleSY 5e3ceb1e32 spawn forest mammals in winter (#65193) 2023-04-24 08:46:21 +03:00
RenechCDDA fa460e41b6 update spell id to match current implementation (#65256) 2023-04-24 08:45:57 +03:00
Zhilkin Serg d9900c4f10 Merge pull request #65253 from irwiss/tidy-assign-activity
Tidy assign activity
2023-04-24 08:45:48 +03:00
RenechCDDA bc86a4eca3 remove duplicated meat_canned recipes (#65255) 2023-04-24 08:45:15 +03:00
DoctorBoomstick c01108c2cf does the changes, and fixes the gun. (#65268) 2023-04-24 08:44:38 +03:00
Eric 2a42d05461 Remove trailing zeros from variables (#65273) 2023-04-24 08:44:13 +03:00
Eric 7ab4bab38d Update portal_storm_effect_on_condition.json (#65287) 2023-04-24 08:43:27 +03:00
Kevin Granade 287df8774b Routine tileset updates on 23 April 2023 (#65283)
Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-24 08:43:12 +03:00
LyleSY fe71de11c7 fix Free Merchant guard gear groups (#65281) 2023-04-24 08:42:55 +03:00
Karol1223 9b61715436 abstract the abstracts (#65276) 2023-04-24 08:42:43 +03:00
fairyarmadillo d251f9a5a2 Reduce maid spam (#65275)
Also reduce the top hat, sombrero, 10 gallon hat, kufi, eboshi, haori, hakama, and union suit.
2023-04-24 08:42:26 +03:00
Zhilkin Serg a419d2b67c Merge pull request #65269 from jbytheway/string_view-check
Add clang-tidy check looking for opportunities to convert functions to use string_view
2023-04-24 08:42:09 +03:00
John Bytheway b7ebfe27a4 Split clang-tidy workflow into two parts (#65272)
The full clang-tidy run takes too long, so split it into one part for
src and one for everything else.
2023-04-24 08:41:58 +03:00
John Bytheway 11508d2693 Install gettext on pull translations workflow (#65271)
This is because we need to use msgattrib to compute the stats used for
lang_stats.inc.
2023-04-24 08:41:37 +03:00
David Seguin fcac354139 damage_type: documentation 2023-04-24 01:38:43 -04:00
David Seguin f021edd2e7 damage_type: string extractor 2023-04-24 01:38:38 -04:00
David Seguin 5d2a891f5e damage_type: data-driven damage type UI ordering 2023-04-24 01:38:21 -04:00
David Seguin 06f8b689e8 damage_type: damage type tests 2023-04-24 01:38:21 -04:00
David Seguin 0b7365bdcf damage_type: on-hit EOCs 2023-04-24 01:38:21 -04:00
David Seguin 740ad64ddf damage_type: read proportional/relative values for item damage 2023-04-24 01:38:20 -04:00
David Seguin 7872906abd damage_type: read proportional/relative values for monster armor 2023-04-24 01:38:20 -04:00
David Seguin b2ac3dd5e1 damage_type: convert item melee damage (goodbye STAB flag) 2023-04-24 01:38:20 -04:00
David Seguin dfc2f4ceb2 damage_type: convert bionic protection values 2023-04-24 01:38:19 -04:00
David Seguin fa0b429490 damage_type: convert material resistance values 2023-04-24 01:38:19 -04:00
David Seguin 651a0c6638 damage_type: convert monster resistance values 2023-04-24 01:38:18 -04:00
David Seguin 30a92e13fc damage_type: use ids in object creator 2023-04-24 01:38:18 -04:00
David Seguin 6141f7651e damage_type: jsonify damage types
It turns out that a lot of loading code depends on
the availability of certain damage types.

I see two ways to resolve this:
1) Juggle the loading order of JSON types so that damage
   types always load first.
2) Add deferred processing for every type with inline
   damage type definitions.

I went with option 2, which is better but still
not great since new code that loads damage/resistance
definitions would need to also call finalize_damage_map
in the finalizing stage. Option 1 would cause problems
for mods, especially because the load order would matter.

None of this can be done piecemeal, it has to all be ripped
out in one go unless we want commits that don't compile
on their own.
2023-04-24 01:38:15 -04:00
David Seguin 8730d60c79 Weekly Changelog 2023-04-17 to 2023-04-24 2023-04-24 01:10:37 +00:00
Kevin Granade 04e230caae Merge pull request #64597 from Brambor/ui_refactor
refactor ui.h & fix clamp to min instead of 0
2023-04-23 16:42:15 -07:00
Venera3 e75cf05801 Expand mattacks to use the dialog condition system (#65229) 2023-04-23 15:28:50 -07:00
Angela Graves 531e7be246 Merge pull request #65251 from anoobindisguise/anoobindisguise-rez-hallu
Fix issues with low tier artifact resonance
2023-04-23 14:11:09 -05:00
Amans Tofu 2f8d5ec5bd Spelling error 2023-04-24 02:46:10 +08:00
John Bytheway 241261e07b Add use-string_view check
This check looks for functions that currently have const std::string &
parameters which could have those parameters changed to use
std::string_view instead.

It tried to be relatively conservative in what it changes, so that the
majority of changed functions should continue to compile and function
correctly (although there certainly remain some corner cases where it
can run into trouble).

Here are (most of) the reasons a parameter might not be converted to
string_view:

- If we do not see the function definition.
- If the parameter is passed to another function as a const string &.
- If the parameter is passed to a function with dependent type.
- If the parameter is passed to an unresolved constructor.
- If the function is a template instantiation.
- If the function is implicitly generated by the compiler.
- If the parameter is used to initialize a string class member.
- If the parameter is bound to a string reference.
- If c_str() is called on the parameter.
- If the parameter is returned from the function as a string.
- If the function is virtual.
- If the address of the parameter is taken.
2023-04-23 08:27:52 -04:00
John Bytheway a6476b9e58 Port even more functions to string_view
This is the last of what my automated conversion check will convert to
string_view.

We could certainly change more, but my priority right now is to get the
check itself merged.
2023-04-23 08:27:52 -04:00
Maleclypse 2b551829d2 [Xedra Evolved] Fix Oneiric Hammer Segfault (#65113)
* Update ethereal_items.json

* Update data/mods/Xedra_Evolved/items/ethereal_items.json

* Update data/mods/Xedra_Evolved/items/ethereal_items.json

* Update ethereal_items.json

* Update data/mods/Xedra_Evolved/items/ethereal_items.json

* Create blacksmithing.json

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixes

* Update data/mods/Xedra_Evolved/items/ammo_type.json

* Update data/mods/Xedra_Evolved/items/ammo.json

* Update data/mods/Xedra_Evolved/items/ammo.json

* Fixes

* Update data/mods/Xedra_Evolved/recipes/blacksmithing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/resources.json

* Update ammo.json

* Update blacksmithing.json

* Update data/mods/Xedra_Evolved/items/ethereal_items.json

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-22 23:33:27 -04:00
anoobindisguise 964f13e715 gambeson fixes 2023-04-22 19:22:06 -07:00
Alexey 7afa062d96 Make read_activity_actor accept time_duration 2023-04-23 04:16:01 +03:00
Alexey 568aa76de8 Unwrap activity_actors into their own assign_activity overload 2023-04-23 03:58:10 +03:00
Alexey c49e37f013 Remove redundant allow_resume from Character::assign_activity 2023-04-23 03:57:32 +03:00
Geeves ce7781efb8 Mounted Police Officer (#64977)
* Mounted Police Officer

* linter

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* how did this get here I am not good at computer

* linter

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* woops

* the paddening

* the ABCs

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-22 20:33:03 -03:00
anoobindisguise e9fe517801 effect_hallu -> effect_visuals 2023-04-22 15:02:59 -07:00
David Seguin 14b206d8da Merge pull request #65174 from ralreegorganon/avatar-diving
Allow vertical movement for avatar in water
2023-04-22 17:10:32 -04:00
SurFlurer c0d43a60ab Activate cometibles at once (#65245) 2023-04-22 17:07:34 -04:00
mqrause 48fef73051 item::in_container can fill up a container with non-charge items (#65247)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-22 17:06:56 -04:00
Rewryte 34b078d16d Add option to hide bionics (#65243)
* add toggle

* astyle

* tidy up

* tidy up more
2023-04-22 17:06:10 -04:00
Bence 8adf00c917 house32 update (#65190) 2023-04-22 17:05:33 -04:00
Dillon Matchett 1a8f8b4bd7 new begin event (#65235)
* new begin event

* switch
2023-04-22 17:05:10 -04:00
Rewryte e4255439f3 mouse thumb support (#65169) 2023-04-22 17:04:25 -04:00
David Seguin 4492ec3cf9 Merge pull request #65148 from irwiss/minor-veh-fixes
Minor vehicle fixes
2023-04-22 17:02:38 -04:00
alef 8c7018c1af Update COMPILING.md (#64956)
- Add unsupported `COMPILING-CMAKE-VCPKG.md`
- Fix links
- Remove backticks from one-liner to avoid shell command substitution
- Add `\` to long one-liner
- Remove `$`/`#` prompts to allow one-click copy
2023-04-22 17:01:42 -04:00
Alexey def4609480 Ignore hostile_spotted_far while aiming, jsonify activity ignored distractions (#65175)
* Unhardcode ignored distractions for activities

* Tidy activity_type enums and loader, remove 0.F migration

* Ignore hostile_spotted_far while aiming
2023-04-22 13:46:52 -03:00
MarcusAseth 26486c87f5 Set Fixed ordering for skills in info menu, regardless of language chosen (#65226)
* Fixed ordering for skills in player info menu, regardless of language choosen

Adds an ordering value to the skills in skills.json, and uses it to control the order in which the skills appear in the player info menu

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* small spacing fix

* applied suggested changes

Removed garbage parameter passed to constructor, added a warning for when a skill has no "ordering" field specified, applied an "ordering" value to skills from Aftershok, Magiclysm and Xedra_Evolved

* changed "ordering" field name into "sort_rank"

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-22 13:39:04 -03:00
crypticcollaborator 3bf4661362 Add new types of artifacts (#65203)
* Add new types of artifacts

* Update data/json/artifact/artifact_item_types.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update formatting, spacing, plurals

* Update data/json/artifact/artifact_item_types.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix strpl and spacing

* Linted

* Fix density

* More density fixes

* Fix badge densities

* Account for proportions on badge densities

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-22 13:37:01 -03:00
Termineitor244 367b69796d Cowboy profession (#65215)
* Cowboy

* Weapon outside of holster
2023-04-22 13:36:05 -03:00
fairyarmadillo 80d38b174c Rebalanced generic zombie drops and bugout bags (#65234)
* Rebalanced generic zombie drops and bugout bags

* Update data/json/monsterdrops/zombie_default.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Reduced vending_drink_items to 10

* removed wedding dresses from zombie drops

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-22 13:33:06 -03:00
Termineitor244 ce6c293b43 Start Locations Expanded (#65239) 2023-04-22 13:31:33 -03:00
Eric 12f8e3a020 Update effects.json (#65237) 2023-04-22 13:03:46 -03:00
Dillon Matchett e7a013dbe1 [bombastic perks] Frankenperk (#65199)
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-22 07:11:17 -07:00
Գրիկոր Մ 730b398839 Even more temperature tolerance traits! (#62248)
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-22 07:08:21 -07:00
Kevin Granade 82d993b02a Merge pull request #65176 from jbytheway/lots-of-string_view
Lots of string view
2023-04-22 07:06:01 -07:00
Angela Graves e8a1eafffb Merge pull request #65236 from CleverRaven/i18n
Routine i18n updates on 22 April 2023
2023-04-22 03:36:48 -05:00
kevingranade 41786b7357 Routine i18n updates on 22 April 2023 2023-04-22 02:05:02 +00:00
Anton Simakov af4a7b3d35 Fog and mist weather (#64954)
* initial commit

* no message

* improve calculations, currently uses test values

* oops

* no message

* no message

* fixing the wrong values, remove debug message

* tests: override weather in tests that need clear vision

* Andrei's fix of vision test

* vision_junction_reciprocity fix

* weather realism test fix

---------

Co-authored-by: andrei <a12l+git@runbox.com>
2023-04-21 16:24:02 -03:00
Termineitor244 9d5ac50f07 Magic Professions (#65214)
* Magic Professions

* Grammar

* grammar 2

* Spaces
2023-04-21 15:58:52 -03:00
SolventMercury e1c731c1c2 Finished Zombie Proficiency & Weakpoint Review (#64194)
* Reviewed all Zombie Weakpoints & Proficiencies

# GENERAL TWEAKS
- Renamed Large Humanoids proficiency to Giant Humanoids, to clarify that it does not apply to somewhat large humanoids, like brutes, and only works on hulks and similar.
- Changed description of Natural Armors proficiency, as many enemies that used this proficiency had something more like a thick hide than any kind of shell.
- Renamed Natural Armor weakpoint set (wps_natural_armor) to wps_armored_hide, to better reflect its purpose and to avoid confusion with the unrelated Natural Armor proficiency, as well as to prevent its misapplication to monsters which have more of a carapace or plate armor thing going on. Natural Armors proficiency should be reserved for uniquely resilient armored foes, like kevlar zombies, whereas armored hide applies to anything with a particularly thick hide, even if not outrageously so.
# ZOMBIES
## ACID ZOMBIES
- Edited description of Corrosive Zombie to hint at its thick hide. Corrosive zombie now also trains Natural Armor proficiency.
- Spitter now has big head weakpoint set, based on description.
## AMALGAMATIONS (Their file is named like the zombie files so I put them here)
- All amalgamations now have intro_biology in their families. This should really be on any living creature of flesh and blood, with exceptions only for stuff like robots, physics-defying nether creatures, extra-dimensional anomalies, and the cafeteria meatloaf. I didn't add this to the cocoons because I wasn't sure if that made sense to do.
- Caustic amalgamation now trains biochemistry, like acid zombies do.
- Charged amalgamation now trains electromagnetics, like zapper zombies do.
## BURNED ZOMBIES
- Fixed a typo in the description for Zombie Kinderlings.
- Zombie Fiend now trains Ossified Exoskeletons. Thought I added that one earlier.
- Scorched Zombie now gets Armored Hide weakpoints due to its "leathery shell".
## FERROUS ZOMBIES
- Removed Armored Hides weakpoint set from rust shell zombie and plated zombie. Could possibly apply Ossified Exoskeletons to them, but I'm not sure.
## COMMAND ZOMBIES
- Slight description tweaks, typo fix.
## FUSED ZOMBIES
- Added proficiencies to Aberration and Dissoluted Devourer. Aberration doesn't give zombie bio because it isn't an actual zombie.
## LAB ZOMBIES
- Removed zombie bio from phase skulker, phase shrike, etc, as they aren't actually zombies.
- Gave phase shrike Ossified Exoskeletons proficiency.
## MISC ZOMBIES
- Added basic proficiencies to zombullfrog, frogmother, zombie nemesis, smoker
- Added basic weakpoints to smoker.
- Headless Horror trains giant humanoids proficiency, based on description.
- Removed Malicious Mane's natural armor training and body armor weakpoints, as it had no natural armor (or armor at all, for that matter).
## RADIATION ZOMBIES
- Added standard proficiencies and weakpoints to all of them.
## SOLDIER ZOMBIES
- Replaced body armor weakpoint set with armored hide.
- Removed military pilot's synthetic armor proficiency
## ANIMAL ZOMBIES
- Gave gastro bufo standard proficiencies and biochemistry.
## CLASSIC ZOMBIES
- Replaced beekeper's body armor weakpoints with armored hide weakpoints
## PUPATING ZOMBIES
- Added expected proficiencies and weakpoints to pupating hulks, as they were the only pupa zombies that didn't have a copy-from pointing to the base type, and did not include this information.
I noticed that most things that disappear on death - boomers, certain cocoons, etc. - tend not to have weakpoints or train proficiencies. Is this an oversight, or is this intentional? For now I left that as is.
## FLYING ZOMBIES
- Gave raptors standard and flying proficiencies.
- Electric raptor also teaches electromagnetics, like electric zombies.

* Removed my Personal Changelog from the Project Directory

* Fixed Fungal Wretch Typos

* Linted zed_amalgamations.json

* MANY Zombie Weakpoint Refinements (& Tests)

- Gave standard weakpoints to standard zombies - manually defined weakpoints for some of the basic zombie models (in zed_misc), like the zombie brute and zombie hulk, is a bit strange, since they have become some of the game's staple enemies. THIS WILL LIKELY EFFECT BALANCE, as these are not only important benchmark enemies, but also copy_from'd by quite a few other enemies. Basic brutes are now somewhat weaker depending on circumstances
- Updated ranged balance test to use enemies with a more uniform form factor, as the high volume of some benchmark enemies lead to counterintuitive results (higher armor enemy taking more damage because it's bigger and easier to shoot). Note that test differences in values aren't all actual "balance changes" but moreso changes to the test itself, so the comparison between old and new isn't 1:1. Test values were only updated on tests that failed for me (I ran the test with 10,000 cycles instead of the usual 200 to be sure the values I got were convergent).
- Added weakpoints and proficiency families to zombies I previously wasn't sure should receive them (mostly ones which self-destruct on death in some way, like boomers). This will make boomers significantly weaker, as they previously had no weakpoints whatsoever.
- Changed boomer stats so no boomer upgrade becomes smaller in volume or lighter in weight than the basic boomer.
- Added an upgrade path for Zombie Miners - they now have a chance to evolve into a shady zombie (most likely), a rust zombie, or just a normal tough zombie, with a ~70% chance not to evolve, on a half-life of 35.
- Rust shell zombies and rust plated zombies get a unique weakpoint category. Similar to bone armor, with the difference that weak points are quite a bit weaker, but the strong point is also a bit stronger.
- Flesh raptors finally have weakpoints, borrowing from the ones used for wasps.
- Removed NOHEAD flag from zombie military pilot, as it very much has a head and there's no reason to believe it to be structurally superfluous, and also fixed them being given erroneous armor weakpoints when they're just in fatigues.
- Lots of other minor weakpoint tweaks/fixes.

* Revert change to ranged tests that made it run 50 times as long.

* Update data/json/monsters/zed_amalgamation.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/monsters/zed_children.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update all Range Balance Values

* Reverted Weakpoint ID Change

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-21 15:54:52 -03:00
Termineitor244 c7e7c3f716 Make weapons recognized as weapons (#65136)
* Make weapons recognized as weapons

* Axes as tools
2023-04-21 15:50:05 -03:00
Alexey d45f115213 Fix repairing amount for items (#65181) 2023-04-21 15:48:13 -03:00
Zephanos 6673ae5602 Add no damage message for ranged weakpoint hits (#65183)
* Update creature.cpp

* Update creature.cpp

* Update src/creature.cpp

Co-authored-by: Alexey <irwiss@users.noreply.github.com>

* Update creature.cpp

---------

Co-authored-by: Alexey <irwiss@users.noreply.github.com>
2023-04-21 15:47:42 -03:00
Anton Simakov 2662790d69 Add longest_side to bullets (#65184)
* initial commit

* Add length to 50 bmg ammo box, so 50 bmg can fit here

* Update data/json/items/containers/military.json

* Update military.json

* Please work please work please work
2023-04-21 15:43:04 -03:00
KittyTac 7e7fdea6d7 Update mutation_ordering.json (#65188) 2023-04-21 15:42:23 -03:00
Maleclypse d7d57c7db7 Yogurt starter culture item, spawn and use (#65198)
* Yogurt starter culture item, spawn and use

* Update data/json/recipes/food/brewing.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-21 15:41:12 -03:00
RenechCDDA e853b238e4 Use average NPC's stats to calculate faction camp calories (#65168) 2023-04-21 15:32:04 -03:00
DoctorBoomstick 6c52c4ecda a few new child notes and video snippets. (#65085)
* adds some new snipits.

* adds a new snipit.

* adds more snippits.

* adds more snippits.

* adds the Mi-go voice line.

* Fixes some, honestly, quite silly buggs.

* fixes space and "..." errors.

* adds more missing spaces.

* nails the last of the missing spaces. I hope.
2023-04-21 15:30:52 -03:00
Maleclypse 539aea6c9e [Xedra Evolved] SECRET flag dreamsmith recipes (#65213)
* SECRET flag dreamsmith recipes

* Vampire recipe secret
2023-04-21 15:28:38 -03:00
Ranik c4a64d9cf2 Lvl 4 Achievements (#65220) 2023-04-21 15:28:15 -03:00
Jason Jones 6dec1fa397 Fix assumptions by visitable tests about the map 2023-04-21 09:26:27 -08:00
John Bytheway 92ec4f79f6 Avoid clang-analyzer warning in plugin
Something has changed in the clang-tidy plugin code that has caused a
new clang-analyzer warning.  Refactor the code to avoid the warning.
2023-04-21 06:29:18 -04:00
Angela Graves b5c1a1aa0a Merge pull request #65210 from vetall812/Ultica_ISO_zebra_fix
[Interface] Fix that allow zebra looks better
2023-04-21 00:36:23 -05:00
RenechCDDA 77f33f47ea Differentiate 12.3ln/.30-06 rounds; add reloads for exodii ammo (#65208)
* Implement exodii ammo casings, add reloaded versions and crafts

* update docs to reflect the reality of the last several years worth of additions

* Implement disassembling of exodii ammunition

* Update data/json/items/ammo/exodii.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* add reloaded exodii ammo migrations for generic guns, fix misplaced 3006 casing migration in GG

* fix GG recipe...

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-20 22:10:31 -03:00
NetSysFire 1d2c0c10b9 no more domestic tigers (#65209) 2023-04-20 22:09:39 -03:00
Jason Jones a05c0a384e Allow vertical movement for avatar in water 2023-04-20 16:29:13 -08:00
John Bytheway 89171fb202 Convert lots more things to string_view
These are mostly automated changes.  My automation tries to be
conservative, but I did have to do manual fixup of a few things.

I plan to PR the clang-tidy check that automates these changes later,
but I think more changes may be needed before that.

Some of the manual changes:
- Added svto<T> where T is an integer type, which parses integers in
  string_views.  This is our first use of the low-level C++17 int
  conversion functions.
- Added a shortcut to lcmatch for empty queries, to allow for
  refactoring overmapbuffer searches.
- Fixed an apparent bug in overmapbuffer::get_notes and get_extras,
  where it was inverting the match result.  As far as I can tell, these
  functions aren't actually used anywhere, so I guess this bug wasn't
  breaking anything.
- Allow use of string_view in JSON serialization.  Previously these were
  misidentified as sequences and appeared as a list of integers rather
  than a string.
2023-04-20 19:57:23 -04:00
John Bytheway 1aa87afc8e Allow string_id construction from string_view 2023-04-20 19:57:23 -04:00
vetal l 2103089962 Fix that allow zebra looks better
Now zebra connects only to itself and form nice edges. Road pavement remains connected to zebra like before.
2023-04-20 23:29:21 +03:00
Angela Graves 66c6e8eb25 Merge pull request #65192 from LovamKicsiGazsii/house_detached6
Less dogs in house_detached6
2023-04-20 00:54:24 -05:00
Devengel cfe2ec7f98 Add flashlight attachment for hard hats and military helmets (#64932)
* add flashlight attachments to some helmets & hats

* Remove hard hats mention

* apply suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* apply suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* apply suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* apply suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove flashlight attachment from hard hats

* Github is gonna make me insane

* Update data/json/items/armor/hats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/items/armor/hats.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-19 23:12:48 -03:00
LovamkicsiGazsi 0c7ba205f3 house_detached6 update 2023-04-19 17:58:10 +02:00
Karol1223 4309094d7c Obsolete several monsters: poor references & non-native fauna (#64960)
* Blinky is fucking DEAD

* lint the linty

* mapgen hurting juice

* finished?

* oopsie

* applied suggested changes

* I hate mapgen
2023-04-19 12:57:30 -03:00
Dillon Matchett e264dcee17 Portal Storm Coherency Pass (#65129)
* Not working but started

* Additional Work

* HES BACK

* Update PORTAL_STORM_BALANCE_AND_DESIGN.md

* final touches

* linting

* Suggestions

Co-Authored-By: anothersimulacrum <42699974+anothersimulacrum@users.noreply.github.com>

* Apply suggestions from code review

* erred on the side of caution

* Apply suggestions from code review

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: actually-a-cat <102094270+actually-a-cat@users.noreply.github.com>

---------

Co-authored-by: anothersimulacrum <42699974+anothersimulacrum@users.noreply.github.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
Co-authored-by: actually-a-cat <102094270+actually-a-cat@users.noreply.github.com>
2023-04-19 08:40:43 -07:00
Rewryte 0107f2f7aa missing dec 2023-04-19 23:14:16 +08:00
Termineitor244 5b32e27332 Magic scenario additions (#65153) 2023-04-19 07:33:01 -03:00
Alexey bfa0e228da Align vehicle part names (#65149) 2023-04-19 07:30:14 -03:00
Angela Graves 709df6bc20 Merge pull request #65110 from CleverRaven/changelog-weekly-2023-04-16
Weekly Changelog 2023-04-09 to 2023-04-16
2023-04-19 00:16:13 -05:00
Dillon Matchett a3c3959116 accessor + stat reset fixes (#65165) 2023-04-18 21:07:12 -04:00
Termineitor244 e6b6152441 New profession: Modern Archer (#65156)
* Modern Archer

* Grammar
2023-04-18 22:06:04 -03:00
Bence ffa67b3070 parkinglots (#65170) 2023-04-18 22:05:00 -03:00
Alexey ecb4238911 Fix reactor power (#65167) 2023-04-18 22:03:18 -03:00
Kevin Granade 3615eaabf1 Merge pull request #65158 from NetSysFire/wtfstale
Accessibility and Help Wanted labels make issues exempt to stale
2023-04-18 15:27:56 -07:00
Rewryte 0d77a970f8 Stop clairvoyance breaking Hub 01 and other fixes (#65138)
* clairvoyance fix

* astyled
2023-04-18 08:54:14 -03:00
Termineitor244 429425472c Crazy Party professions additions (#65152) 2023-04-18 08:52:51 -03:00
Zhilkin Serg d81f26641c Merge pull request #65160 from jbytheway/try-to-debug-language-stats
Try to debug language stats
2023-04-18 14:30:22 +03:00
John Bytheway 687f81f970 Make language stats correct again
This is mostly to help me notice when the GitHub action breaks them
again so I can go look at the error output.
2023-04-18 04:57:32 -04:00
John Bytheway 77adeee7dd Ignore lang_stats objects with negative values
When something goes wrong with the script updating the language stats it
causes both values to be -1.  Notice this case and ignore the states in
that situation.

This should suppress bad output in the UI until we fix the updating
script.
2023-04-18 04:55:59 -04:00
John Bytheway 9656cb5159 Stop suppressing errors in update_stats.sh
This is failing on CI and these errors should help debug it.

The only error I was previously suppressing was a warning about one
translation containing the \b character, which is probably not a big
deal.
2023-04-18 04:54:06 -04:00
NetSysFire 3d6bba632a add accessibility and help wanted label to exempt issues 2023-04-18 09:49:23 +02:00
Termineitor244 060fe4f85a Update effect_on_condition.json (#65154) 2023-04-18 01:16:57 -04:00
David Seguin 988be3ba6c Merge branch 'master' into changelog-weekly-2023-04-16 2023-04-18 01:14:36 -04:00
Angela Graves 6b1e14b1b0 Merge pull request #64912 from stubkan/stubkan-npc-stockholm-syndrome
Added small chance to increase follower npc relations during casual chatting
2023-04-18 00:12:59 -05:00
Kevin Granade b416a2265d Merge pull request #64802 from CleverRaven/changelog-weekly
Weekly Changelog 2023-04-07 to 2023-04-14
2023-04-17 22:02:44 -07:00
tucker f088f13e50 update part info when navigating between body parts (#65146) 2023-04-18 00:46:48 -04:00
Clarence "Sparr" Risher 2b4112e56f Smooth out npc fear based on player strength (#65151) 2023-04-18 00:44:45 -04:00
halosammy d0c703f510 Add Post-Apocalyptic Professions to BNW (#65020)
Practically speaking, if the extra professions for the timeskip scenarios generally reflect how survivors adapt after a year, newer scenarios like Brave New World should have the same range of options.
2023-04-18 00:43:28 -04:00
Termineitor244 68126f09f4 Baby Wildlife Spawns (#63485)
* Baby Wildlife Spawns

* Re-add Cerbearus spawn

* Seasonal baby spawns

* Reduce chance and pack size of herd/pack animals

* Re-introduce the oversized crow to the wild
2023-04-18 00:42:08 -04:00
Dillon Matchett dbd8cd966a Incremental skills (#65004)
* Down to construction.cpp

* finished crafting

* crafting gui

* Update faction.cpp

* Update faction_camp.cpp

* Update game.cpp

* down to handle action

* Update iexamine.cpp

* Update item.cpp

* Update iuse.cpp

* Update iuse_actor.cpp

* down to mattack

* Update melee.cpp

* Update mission_companion.cpp

* Update monattack.cpp

* up to npcmove

* Update npctalk.cpp

* Update npctrade.cpp

* Update ranged.cpp

* Update recipe.cpp

* Update trap.cpp

* Update trapfunc.cpp

* Update vehicle_use.cpp

* Update veh_type.cpp

* Update veh_utils.cpp

* tests

* was too big

* test fixes

* clang
2023-04-18 00:39:49 -04:00
David Seguin 987a5944eb Apply suggestions from code review 2023-04-18 00:22:19 -04:00
David Seguin 9b9e7f6a5b Apply suggestions from code review 2023-04-18 00:21:10 -04:00
Alexey b82fb427b6 Fix most_repairable_part display in veh interact 2023-04-18 03:34:02 +03:00
Alexey c50ca7267f Merge vehicle_clock into dashboard 2023-04-18 03:13:37 +03:00
Alexey 1cd01a86f9 Fix message when trying to sleep controlling a veh 2023-04-18 03:13:36 +03:00
Alexey 064de04cf5 Remove BOARDABLE from bike baskets 2023-04-18 03:13:36 +03:00
Alexey e3eb9d6407 Allow siphon with nearby hose 2023-04-18 03:13:36 +03:00
LyleSY 5c8d9ab6ed Luliya (#64040)
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-18 02:47:51 +03:00
John Bytheway 642b38ff81 Port generic_factory functions to string_view (#65120)
This batch is mostly stuff related to generic_factory, assign, optional,
and mandatory, with a couple of other random functions.
2023-04-18 02:46:40 +03:00
Maleclypse b46e227010 Museum location for Xedra Evolved (#62885) 2023-04-18 02:45:44 +03:00
Ranik d09ec3f11d Scenario additions (#65116) 2023-04-18 02:45:02 +03:00
Amans Tofu 55acf031aa Make the plural form of some book the same as its singular title. (#65139)
* Correction of clerical errors

Correction of plural naming that differs from singular naming.

* Correction of plural naming

* Correction of clerical errors

Correction of plural naming that differs from singular naming.
2023-04-18 02:44:29 +03:00
Clarence "Sparr" Risher bc73419481 Eliminate some premature integer division (#64808) 2023-04-18 02:43:18 +03:00
Clarence "Sparr" Risher 52325fdddd Deduplicate jackhammer and pickaxe use functions (#65081) 2023-04-18 02:43:10 +03:00
casswedson 91597ff977 fix ci warnings in release workflow (#65104)
replace a lot of the actions used in the release workflow with github's
CLI tool, it's free, already installed on the runners and powerful

- use it to create releases, it handles the release notes and logic
about comparing tags with one flag, it, like before it will fail if
there's a previous release with the same tag

- uploading release artifacts didn't change much

- added permissions to allow `gh` to write to a release `permissions:
write-all` don't know if there's a more granular alternative

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-18 02:42:45 +03:00
anothersimulacrum 2a11a36ecf Fix android missing header in system_locale.cpp (#65142) 2023-04-18 02:41:32 +03:00
Angela Graves 2d855d6bcc Merge pull request #65132 from CleverRaven/tileset-updates
Routine tileset updates on 16 April 2023
2023-04-17 00:14:33 -05:00
Huaji_Sama 496d7851c8 Fix tourniquet (#65019)
* Fix tourniquet

* Update tool_armor.json

* Fix mask_gas_xl description consistency

* Revert "Fix mask_gas_xl description consistency"

This reverts commit 2344b04f79.

* Update known_bad_density.json
2023-04-16 20:43:01 -04:00
Rewryte 890d907c8b Auras no longer burn and do not block bites (#65086)
* add unbreakable flag

* aura allow natural atk

* lint json

http://dev.narc.ro/cataclysm/format.html
2023-04-16 20:41:31 -04:00
Clarence "Sparr" Risher f5557f0026 Fix nullptr-> crash when aborting world creation (#65124) 2023-04-16 20:35:31 -04:00
Bence 070514ce36 homeless shelter update (#65126) 2023-04-16 20:35:04 -04:00
Eric beba9d6b90 Add EOC condition for time until a scheduled EOC runs (#65128)
* Update condition.cpp

* Update NPCs.md
2023-04-16 20:34:29 -04:00
mqrause da7a14421d use max instead of min in spell_effect::spawn_ethereal_item (#65133)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-16 20:32:23 -04:00
casswedson fbcb046b6a Routine tileset updates on 16 April 2023 2023-04-16 23:01:12 +00:00
Aimless-dude 66271c0c14 Put Soap in Mall Sinks (#64985)
* Update mall_ground.json

* Update locations_commercial.json

* Add files via upload

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_second_floor.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/json/mapgen/mall/mall_ground.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update locations_commercial.json

* Update data/json/itemgroups/Locations_MapExtras/locations_commercial.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update chemicals_and_resources.json

* Update locations_commercial.json

* Update locations_commercial.json

* Update bathroom_house.json

* Update locations_commercial.json

* Update data/json/itemgroups/Locations_MapExtras/locations_commercial.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-16 18:46:11 -03:00
Alexey 9c6bd5c072 Obsolete non-modular rigs (#65112)
* Adjust vehicle_part_migration to allow adding tools

* Make vehicle prototypes able to spawn tools

* Delete pre-0.G vehicle_part deserialization migrations

* Obsolete afs_metal_rig and related parts

* Obsolete afs_kitchen_rig

* Obsolete afs_cooking_rig

* Obsolete weldkit

* Obsolete welding_rig / weldrig

* Obsolete chemlab / ap_chemlab

* Obsolete foodco / craft_rig

* Obsolete kitchen_unit

* Tidy up and sort out veh_kiln / veh_forge
2023-04-16 13:35:23 -03:00
andrei f1701db631 eoc: untemplate all EOC code (#65069)
* eoc: obsolete mission_goal_condition_context

* eoc: untemplate all EOC code

* condition: post-untemplating cleanup

fix some errors that clang-tidy can catch now that the code isn't templated
2023-04-16 13:35:01 -03:00
anoobindisguise 83f0ff0fbe add second brighter mode to cranial flashlight (#65078)
* add second mode to cranial flashlight

* remove slot usage of highmode

* power cost alterations

* "included": true,

* put included in the right place
2023-04-16 13:33:20 -03:00
DoctorBoomstick a447fd9c69 More gun variants, part the third. (#62074)
* starts work on adding variants for the .22 guns.

* keeps adding them .22 variants.

* keeps working on .22 guns.

* adds variants for the remaining 5.7mm guns, and cleans up some more variants for the .22 guns.

* adds variants for the 7.62x25mm and 9x18mm guns, finishes the .22 variants, adds needed variants for magazines.

* last few clean ups.

* fixes bugs.

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/762x25.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/9x18.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/9x18.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Swaps around the variant and regular descriptions for the Makarov and PPSH.

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* retrigger checks

* starts work on adding variants for the .22 guns.

* keeps adding them .22 variants.

* keeps working on .22 guns.

* adds variants for the remaining 5.7mm guns, and cleans up some more variants for the .22 guns.

* adds variants for the 7.62x25mm and 9x18mm guns, finishes the .22 variants, adds needed variants for magazines.

* last few clean ups.

* fixes bugs.

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/57.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/762x25.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/9x18.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/9x18.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/magazine/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Swaps around the variant and regular descriptions for the Makarov and PPSH.

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Update data/json/items/gun/22.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* retrigger checks

* fixes buggs.

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-04-16 13:24:58 -03:00
Rewryte 7ac9518536 Updated descriptions 2023-04-16 23:46:02 +08:00
DoctorBoomstick afda5f6556 does the fix. (#64878) 2023-04-16 10:56:58 -03:00
Bence b09a8d669a Convention center (#65097)
* framework

* make it spawn

* follding chair looks_like

* done

* move spawns
2023-04-16 10:48:30 -03:00
ZigVert f5e704c72b Kevlar hulk mutation line has an extra step (#65101)
* made zombie. changed upgrades.

* updated desc

* updated desc 2
2023-04-16 10:46:54 -03:00
Ranik 3b2a80031c Sewer Additions (#65103) 2023-04-16 10:43:34 -03:00
Rewryte 1af8247ac8 astyled 2023-04-16 21:13:00 +08:00
Rewryte ae276a1070 subtle spell emulates no_hands negates somatic 2023-04-16 20:56:04 +08:00
Rewryte 55bd65acb0 silent spell negates verbal 2023-04-16 18:57:59 +08:00
David Seguin f43dd05190 Weekly Changelog 2023-04-09 to 2023-04-16 2023-04-16 05:55:51 +00:00
Angela Graves 692b898348 Merge pull request #65080 from CleverRaven/changelog-unique-branches
Changelog: prevent new changelog PRs from clobbering existing ones
2023-04-16 00:51:36 -05:00
Hirmuolio a052de8bff Fix energy guns(AFS) on NPC (#65088)
* energy checks

* astyle

* unused

* unused
2023-04-16 00:29:10 -04:00
John Bytheway 9dc3a2b10b Port cata_utility to string_view (#65089)
Convert various of our string utility functions to use string_view
arguments.

We can now remove the special string_starts_with and string_ends_with
overloads taking char arrays, because compilers can optimize the
string_view version just as well.
2023-04-16 00:25:27 -04:00
Sven Grewe 0a2332c4ef add widget var for remaining moves in current turn (#65091)
* add widget var for remaining moves

* add the widget_var "moves_remainder" which uses avatar.moves
* change comment for widget_var "move" to reflect its value better
* update docs

* Trigger CI
2023-04-16 00:23:50 -04:00
Sven Grewe 268b591a60 fix for an ancient faulty msg (#65093) 2023-04-16 00:23:30 -04:00
Dillon Matchett 1cfbd904c1 [bombastic perks] updated the startup trigger for bombastic perks (#65094)
* updated the startup info

* lintin aint easy
2023-04-16 00:22:09 -04:00
casswedson 4d11b5ed5a fix: linter workflow canceling loop (#65096)
the linter workflow is a hack of 2 workflows, one for data one for perms
one of them skips itself right away, but it apparently runs first this
interacted with the canceling method in a bad way

I told the concurrency or "canceling method" to cancel as you would a
normal workflow: "just run one workflow per PR at the time"

instead this should leave space for 2 workflows of the same "type" to run
per PR; as I said one skips right away, no biggie and it shouldn't
cancel the actual magical linter workflow

the fix consist of asking the concurrency to consider this workflow as 2
when it comes to canceling like so:
`linter-workflow-PR-nubmer-Pull-Request` and
`linter-workflow-PR-nubmer-Pull-Request-Target`

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-16 00:21:25 -04:00
adamkad1 f173d6cd73 Clarify Ki strike description (#65098)
* Update mutations.json

* This sounds better tbh
2023-04-16 00:20:30 -04:00
Clarence "Sparr" Risher 4c7fd39a91 Mention comestible rot_spawn in baby_egg docs (#65105) 2023-04-16 00:18:17 -04:00
John Candlebury 625cd3ae88 Clear out traumatized travelers when the bar updates (#65107) 2023-04-16 00:16:53 -04:00
Reuvin 7376b82540 Clothing and Armor Coverage Conversion Part 4 (#65008)
* Update legs_clothes.json

* Update legs_armor.json

I added a small bit to the description of the budget chainmail leggings to justify it not having 100% coverage, as budget steel and low carbon steel have the exact same melee defensive properties, only differing in ballistic protection, so I didn't want to give the budget steel leggings 100% coverage as well.

* Update helmets.json

The 'bronze helmet' is an anomaly that should probably get obsoleted. It's a one piece completely head encompassing metal helmet made of bronze. There's no example for something like this at any point throughout history, and the closest you get is a big bucket on your head. Left it in because it's outside the scope of this PR however.
2023-04-15 18:15:57 -03:00
David Seguin 287759a1ba Merge pull request #64682 from irwiss/modular-veh-toolkit-part
Modular vehicle toolkit part
2023-04-15 16:16:17 -04:00
Angela Graves b4113c1caf Merge pull request #65083 from CleverRaven/i18n
Routine i18n updates on 15 April 2023
2023-04-15 00:09:38 -05:00
Dan1ss1mo 13f8d81b48 Pain immunity flag + flat pain modifier (#63636)
* jsonized suffering

* linting

* more linting

* Update character.cpp

* linting linting

* Update character.cpp

* Update character.cpp

* some fixes

* more fixes

* Update src/character.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update character.cpp

* Update character.cpp

* Squashed commit of the following:

commit c6d7d314b5
Author: Dan1ss1mo <112878543+Dan1ss1mo@users.noreply.github.com>
Date:   Wed Mar 8 19:34:50 2023 +0300

    Update torso_armor.json

commit 6d44c3a4a9
Author: Dan1ss1mo <112878543+Dan1ss1mo@users.noreply.github.com>
Date:   Wed Mar 8 19:34:02 2023 +0300

    Update torso_armor.json

commit f1531053d5
Author: Dan1ss1mo <112878543+Dan1ss1mo@users.noreply.github.com>
Date:   Wed Mar 8 19:29:10 2023 +0300

    Update suits_protection.json

commit 2f71c08df2
Author: KHeket <102726167+KHeket@users.noreply.github.com>
Date:   Wed Mar 8 18:12:52 2023 +0300

    Freezer recipe and disassemble (#63895)

    Recipe for freezer and disassemble functionality for it

* Update src/activity_handlers.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* docs

* Update MUTATIONS.md

* Update mutation.h

* fix constant ordering

* ordering

* Update iuse.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2023-04-15 00:44:59 -04:00
Kate d65be5a624 Enhanced mouse support for inventory screens (#64750)
* -Added support for drag-and-drop of items from one pocket to another using the mouse
-Added the ability for the user to show/hide contents of a pocket by clicking the expander character next to the pocket.
-Added mouse scrolling support to the inventory screen, mouse scrolling is intended to work in tandem with drag-drop and scrolls an entire page at a time.

* Fixed a bad merge that recreated the hotkey regression in the inventory compare selector and the multi-selector.

---------

Co-authored-by: Katie McKean <Katherine.E.McKean@snapon.com>
2023-04-15 00:34:05 -04:00
TheShadowFerret da52b451c2 Fix wool arming mittens name (#65084) 2023-04-15 00:32:21 -04:00
anoobindisguise 736c4b64db lower power trigger cost of alarm system (#65076) 2023-04-14 22:33:14 -04:00
Rewryte 02fe5986cb Prevent fire damaging unbreakable items (#64979)
* added check for unbreakable flag

* extend protection to dropped items

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* remove redundancy and reorder check

* bracket

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* revert bad auto format

* Update src/item.cpp

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-04-14 22:33:01 -04:00
kevingranade abb32ed64a Routine i18n updates on 15 April 2023 2023-04-15 02:10:47 +00:00
Hirmuolio 962ad00349 Fix energy drain on guns that use both UPS and internal bettery (#65000)
* reorder checks

* avoid division by zero
2023-04-14 20:39:51 -04:00
Guilherme Janczak b0146f29de load correct stat_hp_mods (#65055)
The code was incorrectly overriding the strength modifier with the perception modifier and not writing anything to the perception modifier.
2023-04-14 20:34:00 -04:00
David Seguin 100cb112e7 don't clobber branches 2023-04-14 20:26:37 -04:00
SurFlurer 105643d9c2 Fix and enhance camp radio tower (#65026)
* Rewrite and enhance camp radio tower

* Rewrite and enhance camp radio tower

* Clang tidy
2023-04-14 20:02:47 -04:00
Anton Simakov 7261ebe98d Update mutations.json (#64994) 2023-04-14 20:01:04 -04:00
Hirmuolio eb588614e2 Do not require battery for ups/bionic powered tools (#64992)
* do not require battery

* reorder checks

* Revert "reorder checks"

This reverts commit 897a5fd473.
2023-04-14 20:00:13 -04:00
Sven Grewe 4fc9d4c71a Make safemode safe again: don't attack neutral creatures via move (#65075)
* omit attacking neutral critter by move in safemode

* fix clang tidy

* remove options alteration & add key to msg

* i dont really know what iam doing, but i hth

* thanks andrei8l...?
2023-04-14 19:59:39 -04:00
David Seguin 6411b19b28 Weekly Changelog 2023-04-07 to 2023-04-14 2023-04-14 23:58:10 +00:00
David Seguin be469f43cc Merge pull request #65058 from andrei8l/math_parser-pain
math_parser/eoc: port u_val pain to math
2023-04-14 19:57:21 -04:00
Paul Fenwick 1aea5c1344 Add ROPE 2 and SUSPENDING 2 to hoists (#65017) 2023-04-14 19:56:46 -04:00
Paul Fenwick 51ac300aac Add natural sausage casings to Ye Scots Beuk o Cuikery (#65021) 2023-04-14 19:54:54 -04:00
mqrause 69aec78619 migrate feral guns (#65023)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-14 19:53:58 -04:00
Clarence "Sparr" Risher 642a70f838 Improve new character stats interface and code (#64324) 2023-04-14 16:53:13 -07:00
mqrause 9b32c0d68c spawn items from spells with 0 damage (#64989)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-14 19:52:52 -04:00
casswedson f4d4064020 prevent spam from linter bot reviews (#65039)
you can make the github actions bot spam reviews of the same starting
errors over and over quite easily, just hit commit on each review
individually

just make it cancel runs if they are running for the same pr

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-14 19:52:08 -04:00
casswedson 7491896535 update various outdated github actions (#65042)
resolve deprecation warnings; this should do for the simple updating
before the actual refactoring needed in the most complex ci workflows

and boy the do look they'll need a full re-write

x -> x+~1 ez fix

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-14 19:51:40 -04:00
Rewryte c1fbe5cb23 Item summoning spells now respect keep hands free option (#65049)
* added keep_hands_free check

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-14 19:49:08 -04:00
SurFlurer 2965687ad5 Fix duplicate gunmod (#65051) 2023-04-14 19:48:29 -04:00
Hirmuolio 440b31343f Fix message about rot when eating with saprophage (#65068)
* fix rot check

* fix test
2023-04-14 19:40:39 -04:00
Anton Simakov 9af6e19ef5 Update bug_report.yaml (#65079) 2023-04-14 19:38:32 -04:00
John Bytheway 3e920a092b Migrate some JSON APIs to string_view (#64971)
* Start porting JSON code to string_view

This is an initial effort towards porting the JSON code to use
string_view.  The big advantage of using string_view here is that we no
longer need separate char* and std::string overloads of functions,
reducing code bloat.

But the conversion is quite viral; it's necessary to convert all the
APIs used by the JSON code to string_view too.
2023-04-14 10:18:20 -07:00
Karol1223 39fb63711d Misc Comestible Fixes (#65071)
* no food will escape my wrath

* the fixin

* lober

* why would you break the calories

* Revert "why would you break the calories"

This reverts commit 244fa857dd.
2023-04-14 11:53:57 -03:00
Eric 40b1d9db08 First (#65043) 2023-04-14 08:24:09 +03:00
Anton Simakov d53a7db08c Edit desctription of person (#65059)
Co-authored-by: nornagon <nornagon@nornagon.net>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-14 08:22:42 +03:00
andrei fa50a69160 eoc_math: use proper float comparison (#65060)
* eoc_math: use proper float comparison

* cata_utility: detele unused function
2023-04-14 08:22:15 +03:00
Anton Simakov 9ffb37f1c8 Update nether.json (#65047) 2023-04-14 08:21:33 +03:00
Clarence "Sparr" Risher 3583933600 Resolve build warning/error (#65066) 2023-04-14 08:20:52 +03:00
Angela Graves 7ee5cd3c67 Merge pull request #65022 from pjf/pull/bread_flour_foodprocessor
Add bread flour via food processor recipe
2023-04-14 00:17:33 -05:00
andrei 68738b5609 math_parser/eoc: replace u_val pain with math 2023-04-14 06:32:05 +03:00
andrei 304a7640fa math_parser: add pain diag function 2023-04-14 06:32:05 +03:00
Clarence "Sparr" Risher 2fcf05f390 Fix crash bug with empty @ Speed effect list (#65036)
Signed-off-by: Clarence "Sparr" Risher <sparr0@gmail.com>
2023-04-13 20:36:11 +03:00
andrei 328960dd57 math_parser: properly handle too many arguments for nullary 2023-04-13 20:23:25 +03:00
Alexey 2eb9ad1d96 Invalid soundpack json should be loud (#65035) 2023-04-13 18:06:20 +02:00
Alexey 557ac70dbf 'variant' field should be optional in sound_effect and preload (#65034) 2023-04-13 18:05:27 +02:00
Eric 6e1fd184fc first (#64914) 2023-04-13 08:50:53 -07:00
Angela Graves 026046bbd8 Merge pull request #65032 from Venera3/slimed-fix
Fix Slimed turning you into a dodge god
2023-04-13 01:15:18 -05:00
Curtis Merrill a8a21a9fdc separate out body_part_set to another .h (#65016) 2023-04-12 15:56:17 -07:00
Venera3 4c9cfcca11 Fix 2023-04-12 20:29:34 +02:00
Curtis Merrill 3d15dcc076 Merge pull request #65013 from casswedson/port-spellcasting-items-consume-charges-on-cancel
port: Fix spellcasting items consuming charges when canceled
2023-04-12 13:08:31 -04:00
myermark eb85d6b45f Update tailoring requirements (#64859)
Change fur tailoring requirements to require Fabric Cutting 1
2023-04-12 13:18:00 +03:00
LyleSY 42345cbc4a [DinoMod] therizinosaurus (#64805) 2023-04-12 13:16:09 +03:00
LyleSY 5fd84438ec [DinoMod] integrated mutation armor (#64861) 2023-04-12 13:15:51 +03:00
Zhilkin Serg cb2b56adb9 Merge pull request #64612 from sparr/speed_reasons_missing
Add all effects to player display speed tab
2023-04-12 13:14:37 +03:00
Zhilkin Serg 1779e005a5 Merge pull request #64796 from sparr/main_menu_hotkey_bailout
Reduce unnecessary input checking on main menu
2023-04-12 13:13:53 +03:00
Zhilkin Serg 9f26d61d79 Merge pull request #64795 from sparr/delete_world_load_line_index
Update Load menu world selection on create/delete
2023-04-12 13:13:32 +03:00
Zhilkin Serg 231d082042 Merge pull request #64809 from sparr/diary_border
Deduplicate diary border drawing code
2023-04-12 13:13:05 +03:00
Zhilkin Serg ead77e7993 Merge pull request #65003 from irwiss/allow-variant-arrays-in-sound-defs
Allow arrays in "variant" field of sound_effect JSON
2023-04-12 13:11:43 +03:00
Zhilkin Serg 6e58551b2b Merge pull request #65014 from jbytheway/string_formatter-string_view
Modernize string_formatter
2023-04-12 13:11:03 +03:00
Zhilkin Serg e129921e3f Merge pull request #64926 from jbytheway/language-stats
Add percentage-translated statistic to language selection
2023-04-12 13:10:45 +03:00
Zhilkin Serg 543496850d Merge pull request #64973 from andrei8l/math_parser-more-doc
math_parser/doc: add more var and shim examples
2023-04-12 13:09:09 +03:00
andrei e5205a34a8 inventory_ui: cache entry category (#65005) 2023-04-12 13:08:46 +03:00
Paul Fenwick 9b27f94071 Applied JSON linting
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-12 00:50:50 -07:00
Paul Fenwick ab77bd25ae Add bread flour via food processor recipe 2023-04-12 17:45:29 +10:00
Angela Graves 3fe23d18d8 Merge pull request #64942 from CleverRaven/refugee_caravan
Refugee caravan
2023-04-12 00:14:56 -05:00
chaosvolt 7f20d8bd74 port: Fix spellcasting items consuming charges when canceled 2023-04-11 19:41:03 -05:00
John Bytheway d3c271b9e4 Modernize string_formatter
Update string formatter code in a few ways, taking advantage of C++17:
- Allow string_view as the format string.
- Allow string_view to be a formatted argument (via %s).
- Simplify the metaprogramming using alias templates and variable
  templates.

astyle really struggles to style this code reasonably.  I had to add
some extra newlines to avoid some situations where astyle got into an
infinite loop of going back and forth between options.
2023-04-11 20:21:31 -04:00
Alexey e5e2422b37 Allow arrays in "variant" field of sound_effect JSON 2023-04-11 21:15:23 +03:00
David Seguin c772e58551 comment out unvisited members that slipped in (#65001) 2023-04-11 14:08:41 -04:00
stubkan 87584658de Adjusting recipes using electric motors to use correct motor size relative to resulting item sizes (#64514)
* Initial commit with majority of recipe rebalances for volume

* Updated crafting recipes for tiny and small motors for accuracy

* Updated two robot recipes to use motor sizes more in line with their size

* Updated test case carver recipe to reflect item json recipe changes

* Updated electric motor descriptions to clearly display motor tiers
Doubled power of smallest electric vehicle motor to match tier position

* Updated electric bicycle drag values to pass tests

* Update data/json/recipes/other/parts.json

Removing pipe from engine disassembly recipe, as its destroyed during construction

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-11 11:36:04 -04:00
Kamayana 84d61c33c2 Item Use EOC Adjustments - Alternate snippet spam fix (#64910)
* Disabled active processing for effect_on_conditons_actor

* Add menu_text for effect_on_conditons_actor
2023-04-11 11:32:08 -04:00
Kate ec5d8331f7 Keybindings screen mouse support (#64924)
* For the keybindings screen, changing the prompt at the top telling the user how to use the screen into buttons that can be highlighted and clicked with the mouse.

* Implemented mouse-hover and mouse-select to the keybindings screen, allowing the user to initiate the changing of key bindings using only the mouse.

* Fixed formatting issues

* Dealt with warnings thrown on Clang build.

* Added translation calls to strings to fix build warnings.

* Changed the new btn_index enum to be scoped.

* Small refactoring of enum for a better code readability

removed "_btn" repetition from kb_btn_idx enum after it was made scoped.
instead of kb_btn_idx::remove_btn we can use simpler form of kb_btn_idx::remove

* Added static_cast to convert scoped enum values to int index for a compile-time optimization

---------

Co-authored-by: Тимур Кашафутдинов <leemuar@yandex-team.ru>
2023-04-11 11:28:36 -04:00
Eric e5f8a67194 Add more monster conversation options (#64928)
* Add more monster conversation options

* Update MONSTERS.md
2023-04-11 11:15:18 -04:00
Bence c41986d1be Map update: 3x3 hotels (#64933)
* hotel update

* remove no hope mapgen variant

item and vehicle spawns are done externally now
no need to keep this

* lint

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-11 11:13:54 -04:00
John Bytheway de3e09954a Use loading_ui for loading the save (#64952)
We have loading_ui to help show the loading progress of the game data,
but loading the save game just had a boring popup dialog that didn't
show any progress.

Change game::load to also use the loading_ui window.

One specific side-benefit of this is that when certain debug messages
appear, they might now disappear again rather than staying up until the
game is loaded, and potentially confusing users who feel they ought to
have been dismissed.
2023-04-11 11:13:00 -04:00
anothersimulacrum 9f4fd7f162 Allow unvisited member checking of effects (#64957)
Instead of fetching the JSON for every mod, grab it at the start and
pass it in to everywhere that needs it.
2023-04-11 11:11:02 -04:00
Sven Grewe 8bcc9c37f7 [fix] energy consumption of taste mod CBM (#64982)
* [fix] drainage of taste mod cbm

* change order of conditional in for_fun() to be more performant
* mod_power_level(-foo) only if negative fun would be applied without CBM
* ^also only if enough energy is available

* Trigger CI

---------

Co-authored-by: Sven "qoreQyaS" Grewe <git@gucke.net>
2023-04-11 11:05:42 -04:00
Aaron bf9c9d9dca Wield Widget hides (Folded) and tname now includes default_mods (#64983)
* Instead of including “(Folded)” into the wield widget – The with_collapsed flag is now used to determine if we want to include (Folded)

* default_mods will fluctuate from +1 to +2 for built_in stocks

This is because tname() didn't count default_mods. Added default_mods.count  tname()

* Update src/character.cpp

Adding Automation suggestions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item.cpp

Adding Automation suggestions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item.cpp

Adding Automation suggestions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-11 11:01:50 -04:00
Hirmuolio 0ea2b5931b Do not set charges to -1 on items that are not count by charges when filling a pocket (#64986)
* do not set to -1

* do not set at all
2023-04-11 10:58:09 -04:00
Bence 428cc55fc4 lessdogs (#64987) 2023-04-11 10:56:39 -04:00
Paul Fenwick 3bfe70f739 Add bundling for synthetic fabric (#64993)
* Add bundling for synthetic fabric

* Update bundle_nylon to be reversible

Thanks @Karol1223 for the suggestion.
2023-04-11 10:49:09 -04:00
SurFlurer 89a8992bdb Prevent broken vp in-place replacement when racked (#64995)
* no in-place replace on racked vehicle

* astyle
2023-04-11 10:48:37 -04:00
NetSysFire f71135f792 handle_action.cpp: tiny terminal punctuation fix (#64998) 2023-04-11 10:47:50 -04:00
Dillon Matchett 99ad23585c Bullet damage by barrel length (#64961)
* inheritance still WIP, some UI missing, mods needed

* Update src/damage.h

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>

* Update src/damage.cpp

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>

* tests, rest of the code

* linting

* Update src/item.cpp

* Apply suggestions from code review

* Update tests/ammo_test.cpp

* Update ammo_test.cpp

---------

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2023-04-11 10:21:55 -04:00
Dillon Matchett 0d48286d3b Activities can fire EOCs (#64943)
* code, unit tests, docs

* push this untested

* eoc fixes

* clang plus potential fixes

* Update data/mods/TEST_DATA/EOC.json

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>

* Update eoc_test.cpp

---------

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-11 10:19:00 -04:00
Maleclypse bdc69085fb Update achievement.cpp (#64996)
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-11 10:18:18 -04:00
Alexey bafd02cdc6 Add up attached tools mass to vehicle mass 2023-04-11 16:09:20 +03:00
Alexey Kim 5d08908972 Display possible tools to attach in UI 2023-04-11 15:46:46 +03:00
Alexey Kim 1d53fae46b Make veh_app_interact reset uilist and ui_adaptors 2023-04-11 15:46:46 +03:00
Alexey Kim 94aaf0bd99 Add json for items, recipes, and vehicle parts, appliances 2023-04-11 15:46:46 +03:00
Alexey Kim 3c56088e2f Use invlets as hotkeys 2023-04-11 15:46:46 +03:00
Alexey Kim 9f2c1e177b Add modular vehicle toolkit part 2023-04-11 15:46:45 +03:00
Alexey Kim 4572a125ae Allow draining vehicle ammo for TOOL magazines 2023-04-11 15:46:45 +03:00
andrei 8ae42f3369 math_parser: center problematic token in debug message 2023-04-11 15:30:35 +03:00
andrei 3b674c58b0 math_parser: add more common math functions (#64984)
clamp, floor, trunc, ceil, and round
2023-04-11 09:11:50 -03:00
andrei 8151c98a4b math_parser: validate strings and var names
don't allow inner spaces or quotation marks
2023-04-11 14:39:38 +03:00
Angela Graves 7b634d0056 Merge pull request #64818 from RanikOrtega/master
Scenario additions, Achievement additions and Meta progression updates
2023-04-11 00:18:49 -05:00
Clarence "Sparr" Risher b05b6990c8 Deduplicate diary border drawing code 2023-04-10 20:13:35 -04:00
LyleSY 7824c1befc heroin giveaway rework 2023-04-10 18:58:09 -04:00
Anton Simakov 1ab1bed176 [Magiclysm] attunements stuff (#64946)
* no message

* Apply suggestions from code review

Co-authored-by: Curtis Merrill <curtis.r.merrill@gmail.com>

* Update dictionary.txt

---------

Co-authored-by: Curtis Merrill <curtis.r.merrill@gmail.com>
2023-04-10 18:45:09 -04:00
LyleSY 13fb950940 spellcheck 2023-04-10 16:50:15 -04:00
LyleSY d2f89082f3 never going to make it 2023-04-10 16:45:19 -04:00
LyleSY d9535e65e8 many changes 2023-04-10 16:42:24 -04:00
LyleSY cad63a7872 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-10 16:32:20 -04:00
John Bytheway 520832c8c6 Separate stats updating to a new script
It turns out that merge_po.sh is no longer used.  Instead the files are
updated via a GitHub workflow.  Separate out the new code into a new
script and call it from that workflow.

Also, update the TRANSLATING docs.
2023-04-10 13:31:54 -04:00
Alexey b8a29ea8c2 Move damage indicators to json (#64911) 2023-04-10 11:27:59 -04:00
NetSysFire 0a3198b94f Add a rocky obstacle (#64945)
* rocky obstacle

* Update data/json/furniture_and_terrain/terrain-manufactured.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* use more rocks

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-10 11:25:10 -04:00
Rewryte 4572d85bc0 Refresh equipment spell duration on recast (#64963)
* refresh equipment spell duration

* missing function

* restore accidental deletion

* auto format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-10 11:22:51 -04:00
andrei cc6b43c11c avatar/item: update cached flags when transforming items (#64949) 2023-04-10 11:18:19 -04:00
casswedson 39d183eaba bump actions/upload-artifacts to v3 (#64962)
resolve a ci deprecation warning

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-10 11:13:07 -04:00
casswedson 66c1c4cf8e resolve another ci deprecation warning (#64959)
remove an old action used to generate a timestamp for the experimental
releases; just use `time` to generate a similar string

this release uses this patch, build date string looks good
https://github.com/casswedson/Cataclysm-DDA/releases/tag/cdda-experimental-2023-04-09-1807

also prefer ${{ github.repository }} since it's a local variable, this way
I don't have to change it every time I want to test the release workflow
in my fork

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-10 11:10:43 -04:00
Dillon Matchett 6925f250d4 Updates to Survivor Mode Calcs (#64944)
* Proper armor calcs, corrected some movement bugs, consider quick

* forgot to use these

* clang
2023-04-10 11:02:14 -04:00
KHeket a5629dcc38 Making nomad armors working again (#64974)
After  #63978 nomad jumpsuits, armor and harness became unturnable on. In #64941 andrei8l gave me a solution. I cant wait for somebody to do it - so I did it by myself
2023-04-10 12:00:45 -03:00
Maleclypse 12045be63c [Xedra Evolved] Government report snippets (#63591)
* Update xedra.json

* Apply suggestions from code review

* Incident and spawns

* Apply suggestions from code review

* Update data/mods/Xedra_Evolved/snippets/xedra.json

* Update notes_and_news.json

* Update data/mods/Xedra_Evolved/items/notes_and_news.json
2023-04-10 11:57:04 -03:00
Ranik-Ortega 949cba0873 Update scenarios.json 2023-04-10 07:36:04 -05:00
Sven Grewe 19cb6b5175 add lamps to motels (#64813)
* add lamps to motels

* json syntax

* Empty-commit to trigger CI

* [fix] remove lamps from toilets && janitor closet

* remove terrain & furniture definitions in participating mapgen defs
* revert floor tiles in janitor closet & bathrooms back to terrain only

---------

Co-authored-by: Sven "qoreQyaS" Grewe <git@gucke.net>
2023-04-10 09:31:57 -03:00
Ranik-Ortega 36fe8c9789 Update scenarios.json 2023-04-10 07:23:22 -05:00
RenechCDDA 08b345ffe4 [CR] Force tools to check all pockets for crafting components, including non-magazine ones (#64706)
* force tools to check all pockets, including non-magazine ones

* Thank you bot I did forget to astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-10 08:58:45 -03:00
Sven Grewe dcd627017c [misc] red -> tomato & chilly subsitudes curry (#64970)
* renamed "red sauce" to "tomato sauce", because red sauce is actually
  Marinara which needs spice
* moved curry_powder to be a substitude for chilly-powder to fit
  requirements as of issue #34068

Co-authored-by: Sven "qoreQyaS" Grewe <git@gucke.net>
2023-04-10 08:53:47 -03:00
Angela Graves 426b738031 Merge pull request #64969 from CleverRaven/tileset-updates
Routine tileset updates on 09 April 2023
2023-04-10 03:38:38 -05:00
andrei 9ce299b96f math_parser/doc: add more var and shim examples 2023-04-10 09:03:00 +03:00
andrei c5207fb3e6 math_parser: add error message for unknown function 2023-04-10 09:03:00 +03:00
andrei e7521f12d9 math_parser/shim: fix number conversion 2023-04-10 07:19:07 +03:00
Clarence "Sparr" Risher a5648bc3d3 Add missing effects to player display speed tab 2023-04-09 20:25:53 -04:00
Clarence "Sparr" Risher e34d8b935d Update Load menu world selection on create/delete 2023-04-09 20:03:07 -04:00
Clarence "Sparr" Risher e376342cae Reduce unnecessary input checking on main menu 2023-04-09 19:56:26 -04:00
Brambor 873e6554b1 refactor ui.h: rename functions, improve docs 2023-04-10 01:51:38 +02:00
casswedson ed5fa6d4e0 Routine tileset updates on 09 April 2023 2023-04-09 23:19:55 +00:00
Maleclypse e9ab8341f0 Combat Capable Mounts (#62014)
* First attempt

* astyle

* Second Attempt

* Apply suggestions from code review

Co-authored-by: David Seguin <davidseguin@live.ca>

* Update character.cpp

* Melian Mantis Stallion

* Update src/character.cpp

Co-authored-by: mqrause <38702195+mqrause@users.noreply.github.com>

* Update changeling.json

* Combat Mounts attack enemy monsters

* astyle

* Revert "Combat Mounts attack enemy monsters"

This reverts commit 2d19982240c1c10a42989cacceddf264d11b23f7.

* Update data/mods/Xedra_Evolved/monsters/changeling.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Quest to get a mount

* fig and pomegranates

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/mtype.h

* Fruits and requirements

Update terrain-flora.json

* Apply suggestions from code review

* fixes

* Update data/mods/Xedra_Evolved/furniture_and_terrain/furniture.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update furniture.json

* npc

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update furniture.json

* Update boann.json

* Update data/mods/Xedra_Evolved/monsters/changeling.json

* Update data/mods/Xedra_Evolved/monsters/changeling.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update boann.json

* Update data/mods/Xedra_Evolved/npc/boann.json

* Island

* Update boann.json

* Update overmap_terrain.json

* Update overmap_specials.json

* Revert "Update overmap_specials.json"

This reverts commit 9f48eadf32.

Update overmap_special.json

Update furniture.json

* Fixes

* fixes

* Finally fixed

* Update boann.json

* Apply suggestions from code review

Update terrain-flora.json

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: mqrause <38702195+mqrause@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-09 19:27:28 -03:00
Brambor e2da40d860 refactor ui.h: functions increment_and
functions
- increment_and_wrap
- increment_and_clamp

fix clamp to min instead of 0
2023-04-09 23:48:46 +02:00
Brambor 533f2b6a24 refactor ui.h: streamline docs; style function definitions 2023-04-09 23:48:46 +02:00
Brambor 80604ff90c refactor ui.h: move function definitions around 2023-04-09 23:48:46 +02:00
Anton Simakov 123606c54c Update Pottery_Sewing_Shops.json (#64955) 2023-04-09 10:10:44 -04:00
TheShadowFerret 796a9b77b0 More Perks (#64921) 2023-04-09 09:37:28 -03:00
Ranik-Ortega 6700d28cf7 Merge branch 'master' of https://github.com/RanikOrtega/Cataclysm-DDA 2023-04-09 07:25:10 -05:00
Ranik-Ortega ce7a7f1488 Update scenarios.json 2023-04-09 07:25:02 -05:00
casswedson e95fedeb41 ci: bump actions/checkout to v3 (#64920)
v2 runs on a "deprecated" node version, resolve warnings fix fix fix

https://github.com/CleverRaven/Cataclysm-DDA/actions/runs/4602053354

*also*
bump comment and labeler actions

these are easy, just update versions; no need to worry about something
breaking
no need to make a different pr just for this

Co-authored-by: casswedson <casswedson@users.noreply.github.com>
2023-04-09 04:24:27 -04:00
Huaji_Sama 3c9be2289b Misc fixes (#64935)
* Update terrain-walls.json

* Update robofac_intercom_trades.json

* Update newcharacter.cpp

* Update 300blk.json
2023-04-09 04:18:26 -04:00
Alexey 3397fcd22f Correctly quantize part damage on removal (#64938) 2023-04-09 04:16:33 -04:00
mqrause 270814bf5d spawn test vehicles undamaged (#64940)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-09 04:15:14 -04:00
anothersimulacrum 21e59e7ab0 Enable JSON unvisited members check (#64922)
* Gambeson fixes

Warmth can't be defined per portion.

* Fix EOC iuse actor fields

EOCs can't take/don't have these fields.

* Fix palette comments

* Remove ups_charges from monster guns

Now energy drain.

A

* common is an NPC class attribute

Not an NPC attribute

* Typo fix

* use_lose_var does not have a value

* Restore unvisited member checking
2023-04-09 02:45:20 -04:00
Angela Graves e33e1cfd8c Merge pull request #64915 from LovamKicsiGazsii/bowling-update
Map update: bowling alley
2023-04-09 00:51:32 -05:00
Bence b40079d207 craftshop update (#64937) 2023-04-08 22:07:43 -03:00
LyleSY 330aedd6f1 Better intro for C 2023-04-08 16:35:46 -04:00
LyleSY 923776ec65 Fix C opening line 2023-04-08 16:32:15 -04:00
LyleSY c30cc90004 update notes to reflect "I love you" commit 2023-04-08 16:10:57 -04:00
LyleSY 7c8d18e0c8 Update data/json/encounters/randenc_caravans.json
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-08 16:08:43 -04:00
LyleSY 1fb912b53e Update data/json/encounters/randenc_caravans.json
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-08 16:08:35 -04:00
LyleSY e46b55b5c4 Update data/json/encounters/randenc_caravans.json
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-08 16:08:28 -04:00
anoobindisguise f23414fed6 make phase immersion armor use an internal battery like RM13 (#64833)
* convert phase immersion to use an internal battery

* add "s

* remove battery here
2023-04-08 15:32:24 -03:00
Reuvin c94ec99459 Clothing and Armor Coverage Conversion Part 3 (#64897)
* Update gloves.json

* Update undergarment.json

* Update swimming.json

* Update undergarment.json
2023-04-08 15:30:33 -03:00
LyleSY a14e21b01c I love you 2023-04-08 13:45:02 -04:00
LyleSY 6de1ed86a7 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-08 13:22:43 -04:00
LyleSY 55a0614497 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:19:12 -04:00
LyleSY dd8e63e1e1 refugees get angry 2023-04-08 13:18:28 -04:00
LyleSY 6afa0ae5d9 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:15:50 -04:00
LyleSY cd635e2a37 Update refugee_caravans.json 2023-04-08 13:13:08 -04:00
LyleSY 92b92d072e Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:11:15 -04:00
LyleSY 040c0cfb9b Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:10:59 -04:00
LyleSY da81ef6fbb Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:10:44 -04:00
LyleSY d1a26dbe12 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:10:26 -04:00
LyleSY fd1c5866d0 Update data/json/npcs/random_encounters/refugee_caravans.json
Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
2023-04-08 13:10:08 -04:00
LyleSY e96d6bea8f rebuild EOC 2023-04-08 12:11:04 -04:00
LyleSY aba94a121c Normalize spawn numbers 2023-04-08 11:47:36 -04:00
LyleSY 6f65ba998f Update randenc_caravans.json 2023-04-08 11:43:09 -04:00
LyleSY b5fbf62bd4 refugee caravans 2023-04-08 11:41:22 -04:00
John Bytheway 0884447847 Colour the percentages in the language options
This makes it easier to read the list of options and see what's going
on.
2023-04-08 07:53:05 -04:00
John Bytheway ff2a10eddb Explain the percentage in language choice
This required increasing the number of rows in the options tooltip area
by one.
2023-04-08 07:37:43 -04:00
John Bytheway b0d33141ab Tweak code to compile on gcc
It seems that gcc doesn't allow you to construct a temporary string_view
in a constexpr initializer_list, but you can if you use the string_view
literal operator.  \o/
2023-04-08 07:25:01 -04:00
Angela Graves 7e48693fa3 Merge pull request #64927 from CleverRaven/i18n
Routine i18n updates on 08 April 2023
2023-04-08 01:12:48 -05:00
MNG-cataclysm 4dfa86c61c Add the first Exodii mission (#62335)
* Add the stuff

* Linting

* Update data/json/npcs/exodii/exodii_merchant_missions.json

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>

* Update data/json/npcs/exodii/exodii_merchant_missions.json

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>

* Update data/json/npcs/exodii/exodii_merchant_missions.json

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>

* Update exodii_merchant_missions.json

* Update exodii_merchant_talk.json

* Add the conditional

* Update data/json/npcs/exodii/exodii_merchant_missions.json

* Apply suggestions from code review

* lint

* Update data/json/npcs/exodii/exodii_merchant_talk.json

* Update exodii_merchant_talk.json

---------

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
2023-04-07 20:27:07 -07:00
DoctorBoomstick 26a11b34fd does the changes. (#64881) 2023-04-07 20:19:31 -07:00
Ranik f4aef59410 Update effect_on_condition.json 2023-04-07 21:54:24 -05:00
Ranik 487e940fa3 Update effect_on_condition.json 2023-04-07 21:54:06 -05:00
Leon Joe 3f9c139c77 Add trap avoid json flag (#64864) 2023-04-07 19:42:16 -07:00
Zephanos 73ca6cd6e4 Update nether.json (#64848) 2023-04-07 19:26:23 -07:00
ZigVert 08dfeb5f68 Update speech.json (#64840) 2023-04-07 19:25:48 -07:00
Clarence "Sparr" Risher d34fa2f098 Add CMake option for XDG directories (#64816) 2023-04-07 19:24:16 -07:00
stubkan 192c4c9385 Add ability to remove plants from planters without destroying planter (#64811) 2023-04-07 19:21:53 -07:00
Ranik 1f4f05dab6 Merge branch 'master' into master 2023-04-07 21:21:52 -05:00
Leon Joe 0f8b16c476 Update doc for limb pos flag name (#64788)
* Add documentation for a hardcoded special attack

* Fix documentation flag name for body part position
2023-04-07 19:19:46 -07:00
kevingranade cd02e8476d Routine i18n updates on 08 April 2023 2023-04-08 02:09:29 +00:00
Clarence "Sparr" Risher 8d000891fb Expose world_generator.all_worlds getter (#64803)
Also update last world when saving
2023-04-07 19:06:08 -07:00
Ranik-Ortega 87aab5ef03 Update effect_on_condition.json 2023-04-07 21:01:51 -05:00
Volkov Sergey 49760fb604 Exeption in tutorial (debug mode only) (#64789) 2023-04-07 18:47:48 -07:00
KittyTac 714aa12fc9 Update medical.json (#64774) 2023-04-07 18:18:50 -07:00
John Bytheway 56226948d2 Show percentage of translated strings in options
When choosing a language in the options menu, show the percentage of
strings translated for that language.
2023-04-07 21:04:17 -04:00
akrieger af13c5058f Use /DEBUG:FASTLINK to speed up dev & pr link times (#64919) 2023-04-07 17:55:27 -07:00
Brain-Overflow 13c20d1e26 Fix mod manager name in new world keybinding menu (#64863) 2023-04-07 17:35:24 -04:00
Rewryte 044eb059b6 wall cling floor fix (#64887) 2023-04-07 17:18:23 -04:00
Bence 34e3ef0d39 update (#64898) 2023-04-07 16:56:02 -04:00
Bence 06c0ecd126 update (#64893) 2023-04-07 16:55:23 -04:00
Bence 37a052731b update (#64885) 2023-04-07 16:54:52 -04:00
Bence 6e24b6b74d update (#64883) 2023-04-07 16:54:20 -04:00
Bence b967cd2d8e update (#64879) 2023-04-07 16:53:50 -04:00
Bence 4d6b7284a7 update (#64870) 2023-04-07 16:53:07 -04:00
Bence 6fe6e0818d Roof palettizing: lumbermill & lumberyard (#64869)
* update

* ocu lumbermill

* no hope update
2023-04-07 16:52:35 -04:00
Rewryte 7035a3f752 Enable auto pulping acidic zombies if acid protected (#64829)
* added checks for pulping acidics

* separate acid_immune variable and remove unused const

* Formatting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-07 16:50:45 -04:00
Terrorforge 63877e4951 Fix pipebomb length and volume (#64860)
* Fix pipebomb length

* update volume as well
2023-04-07 16:48:12 -04:00
Eric 328d8d07c5 Update magic.cpp (#64839) 2023-04-07 16:46:31 -04:00
Amans Tofu 28b9cee88a More accurately describe task requirements (#64850)
A lot of people told me they couldn't do the job. Because no one knows exactly how much "6 bottles" is.
2023-04-07 16:45:28 -04:00
WhiteCloud0123 92e8717f1e Adjust the order of 'delete world' and 'reset world' (#64855)
* Adjusting the order of 'delete world' and 'reset world'

* hotkeys order
2023-04-07 16:44:06 -04:00
Kate 3e038e1d86 Mouse hover hotkey regression (#64862)
* Fixing a regression where pressing an item's hotkey does not select it as expected.

* Fixed regression related to hotkey presses in inventory multi-select screen.

* Fixed hotkey regression in item contents examiner, and the inventory compare view.
2023-04-07 16:41:20 -04:00
SurFlurer 44b237fe2d Validate main_tool to prevent some CTD (#64877)
* Validate main_tool

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* convert reference to ptr for checking

* Rerun test?

* Rerun test

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-07 16:28:25 -04:00
Dillon Matchett 8123dda278 [Bombastic Perks] Perk config menu (#64889)
* Config menu

* setting entry

* styling
2023-04-07 16:23:37 -04:00
Ranik-Ortega 0c76565c17 Update scenarios.json 2023-04-07 15:21:00 -05:00
Eric 8f07102a7b Add (#64891) 2023-04-07 16:20:18 -04:00
mqrause 704aee0f67 update docs for the vs astyle extension (#64896)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-07 16:14:51 -04:00
Huaji_Sama 2c5cabddce Fix description and doc (#64899)
* Update terrain-mechanisms.json

* Update WEATHER_TYPE.md

* Update survival.json

* Update misc.json

* Update tailor.json

* Update professions.json

* AAAAAAAAA

* Update nether.json
2023-04-07 16:13:53 -04:00
Paul Fenwick 305a976cbd Add pjf to comment-commands.yml (#64902)
I would like to be able to confirm bugs, thanks!
2023-04-07 16:10:21 -04:00
Alexey dca4462d36 Fix density failure on druid_bandages (#64909) 2023-04-07 16:09:49 -04:00
Alexey b7ed8394b1 Fix clang errors (#64913) 2023-04-07 15:54:45 -04:00
LovamkicsiGazsi 54500e5f23 bowling update 2023-04-07 21:21:13 +02:00
Ranik-Ortega 9892ec1efb Update effect_on_condition.json 2023-04-07 13:30:02 -05:00
John Bytheway f2bc80a292 Refactor merge_po.sh and create stats
Refactor merge_po.sh to reduce code duplication.

In merge_po.sh, after updating each .po file, gather some stats on that
file.

Merge those stats into src/lang_stats.inc for use in C++ code.
2023-04-07 14:20:09 -04:00
John Bytheway 0abb4a0a6e Fix typo / formatting 2023-04-07 14:18:37 -04:00
Ranik-Ortega 86e2ffcc5e Update scenarios.json 2023-04-07 13:07:21 -05:00
Ranik-Ortega 5f00bd23b9 Polishing and updates. 2023-04-07 12:48:57 -05:00
stubkan 4b4d7927a2 Added chance to boost npc relations during casual chatting 2023-04-07 18:03:32 +01:00
Bence fef3110d8d update (#64866) 2023-04-07 08:48:27 -07:00
Eric b9581d9269 Fix divide by zero issue (#64888)
* Update item_factory.cpp

* Update item_factory.cpp
2023-04-07 12:57:17 +02:00
Bence bebd0c7d6a fix mobile home park (#64906) 2023-04-07 12:54:31 +02:00
Anton Simakov d282f96439 Update electronics.json (#64904) 2023-04-07 12:54:08 +02:00
anoobindisguise 2206bd79e4 feral cops become zombie cops (#64828) 2023-04-07 12:49:16 +02:00
Angela Graves b836ae34f5 Merge pull request #64873 from tenmillimaster/Cho-ko-no
Remove SMG type from repeating crossbow
2023-04-07 02:23:36 -05:00
Terrorforge 451f26b2b8 Update 700nx.json (#64674) 2023-04-06 21:39:52 -07:00
Kevin Granade e97831862d Merge pull request #64633 from andrei8l/math_parser
Math expression parser
2023-04-06 21:35:21 -07:00
Jianxiang Wang (王健翔) 7f2ed299f1 Use dummy definition in clang-tidy lit tests (#64559) 2023-04-06 21:20:03 -07:00
stubkan 9332b41321 Rebalanced motor/engine volume/weight (both item and vehicle parts) for realism (#64482)
* Rebalanced motors and engines (both item and vehicle parts) for realism

* Adjust misquoted 0.4 engine being 25 HP, when it should be 10 HP

* Updated displacement values to match small gas engine sizes correctly

* Updated gasoline motor descriptions to better show engine displacement in descriptions

* Rewrote engine displacement adjective to account for 2 decimal places for smaller engines.
Thanks to andrei8l for help

* Rewrote test unit check for engine displacement to account for new V2 engine volume
(1L engine now a 0.6L engine)

* Rebalanced scrap drops from destroying engines to be 30-50% of engine mass.

* Adjusted engine starter motor repair to use correct size motor (tiny)

* Updated test check for 27 L truck to fit new displacement adjectives

* Updated vehicle drag tests - adjusted from engine weights

* The github bot wanted me to do this - remove trailing zeros from test jsonUpdate data/mods/TEST_DATA/vehicle_drag_test.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* The github bot wanted me to do this - remove trailing zeros from test jsonUpdate data/mods/TEST_DATA/vehicle_drag_test.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Adjusted test cases for vehicle drag and efficiency re: engine mass changes

* Added descriptions to gas engine vehicle parts to better display
engine tier

* corrected fuel usage for 200cc

* empty commit (changed one word) to re-run tests

* empty commit

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-06 21:17:04 -07:00
LyleSY 92bda222f4 large bones (#64175) 2023-04-06 20:58:58 -07:00
mqrause ce6c17dc4e add test for spawning items inside a container (#64457)
Co-authored-by: mqrause <martin@qrause.de>
2023-04-06 20:00:45 -07:00
anoobindisguise 3a6de1922e Increase epicuticle encumbrance, lower breathability, add mouth coverage (#64344) 2023-04-06 19:59:09 -07:00
Hirmuolio 6768e73568 Unify gun battery/ups/bionic energy consumption (#63978)
Co-authored-by: ehughsbaird <44244083+ehughsbaird@users.noreply.github.com>
2023-04-06 19:49:02 -07:00
GrandpuhTy ecbedd8a3f Add updated spacebar sidebar files (#63502) 2023-04-06 19:15:19 -07:00
flybye3o6 7527935907 Acidic blood refinement (#61516)
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-04-06 18:54:40 -07:00
Kevin Granade 80c3ec5fc3 Merge pull request #64801 from Maleclypse/Turrets-fire-at-vehicles
Monsters will now fire at moving vehicles
2023-04-06 17:48:17 -07:00
Maleclypse 7cb4a48ebb Merge pull request #40 from irwiss/Turrets-fire-at-vehicles
Turrets fire at vehicles
2023-04-06 17:15:22 -05:00
Alexey de59c0912b Refactor moving vehicle picking into map.cpp 2023-04-07 01:10:11 +03:00
Alexey 1be015184f Revert "irwss fix"
This reverts commit 52d8f227a2.
2023-04-07 01:09:42 +03:00
Alexey 903ef6349f Fix flaky uncraft test (#64882) 2023-04-06 09:19:05 -07:00
akrieger d0e1db5c2f Update vcpkg configuration, again (#64874) 2023-04-06 06:45:53 -07:00
Angela Graves 40ae4a8dba Merge pull request #64865 from tenmillimaster/remove-non-mil-casings
Corrects military shootout casing itemgroup
2023-04-06 08:37:19 -05:00
Bence ac1f197a9e remove NOITEM flag (#64871) 2023-04-06 13:01:53 +02:00
Bence 30157d7824 update (#64831) 2023-04-06 12:47:11 +02:00
Curtis Merrill 8ed8e1054f refactor monster::plan (#64656) 2023-04-06 12:40:53 +02:00
Maleclypse 52d8f227a2 irwss fix
Co-Authored-By: Alexey <irwiss@users.noreply.github.com>
2023-04-05 21:32:58 -05:00
Eric 4f38fb0be1 Add EOC effect to spawn NPCs, portal storm event to create an npc. (#64603)
* Add portal npc

* Update portal_storm_effect_on_condition.json

* Update Portal_NPC.json

* Add indoor only

* Clean up

* Update npctalk.cpp

* Update npctalk.cpp
2023-04-05 19:03:16 -07:00
Kevin Granade d5dde12e40 Merge pull request #64627 from Brambor/filters_m_r
Crafting GUI filters `m:` (don't show nested) `r:` (added - filter by (by)product)
2023-04-05 18:58:23 -07:00
Kevin Granade daef9ea4e9 Merge pull request #64622 from irwiss/remove-reinforcement
Remove reinforcement / accurizing, clean up item damage
2023-04-05 18:52:10 -07:00
Tonkatsu 8279a84769 30 rpm is not a smg 2023-04-05 17:11:27 -05:00
Tonkatsu 51be1ea2c9 Update comment. 2023-04-05 14:15:57 -05:00
Tonkatsu 4e02577130 -wrong cas, +MG+GL cas+links 2023-04-05 13:59:11 -05:00
Binrui Dong 63212f9681 Remove myself from Codeowner of lang/ (#64852) 2023-04-05 10:14:07 -07:00
mqrause de40ba8651 refactor spell_effect::spawn_ethereal_item (#64600) 2023-04-05 07:34:52 -07:00
Anton Simakov ad4e5c933b Electronic snippets (thanks for help) (#63565)
* initial commit

* Apply suggestions from code review

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>

* spaces

* Apply suggestions from code review

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* no message

* Apply suggestions from code review

Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>

* spaaaace

* even less spaces?

* did i just forgot to save my changes?

* spelling

* spaces please left me alone

* caseless bullets -> caseless cartridges

* seems to be the last one

---------

Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
Co-authored-by: NetSysFire <59517351+NetSysFire@users.noreply.github.com>
2023-04-05 13:15:53 +02:00
John Bytheway be4edcddb7 Cache values of statistics in value constraints (#64844)
Fixes #63903.

Previously, every time a value was compared to the value of some
statistic in a value constraint, that statistic was recomputed from
scratch.

This led to O(n^2) runtime, and potentially very slow load times for
games (in particular, the achievement for revisiting your starting OMT
was problematic).

Instead, use the existing stats tracker infrastructure to cache the
statistic value and automatically update the cached value whenever it
changes, but not otherwise.

Now the example savegame from #63903 loads in a matter of seconds,
rather than many minutes.
2023-04-05 13:09:16 +02:00
anothersimulacrum 719f8ea2fe Fix more json errors (#64800)
* nested doesn't have fill_ter

* AFS: incorrect JSON comments

* AFS: itemgroup lacks subtype

* AFS: requirements don't use copy-from

* AFS: Acid rain removed

* Magiclysm: add_trait doesn't accept duration

* Magiclysm: regenerate -> regenerates

* Magiclysm: Remove GUN entries from ARMOR

* Magiclysm: add itemgroup subtype

* Magiclysm: fix enchantments

* Magiclysm: armor -> armor_data

* Magiclysm: remove stack_size

* Xedra: ter_furn transform cannot popup

* Xedra: add itemgroup subtype

* Xedra: Remove weights already set by proportional

* Xedra: Remove unused plural name

* Xedra: Remove inappropriate fields form city building

* Xedra: move place_monsters into mapgen

* Xedra: move allow_no_target outside of spell data

* Xedra: Only books are scannable

* Xedra: Mapgen can't do container-item

* Xedra: Fix TALK_RESCUED_INVESTIGATE

* Xedra: fix Jottunn encounter removal

* No Hope: port dda mapgen fixes

* Innawoods: Itemgroups are distributions

* Innawoods: use result_mult for recipes
2023-04-05 12:32:47 +02:00
Light-Wave 6bd5d00eca [Magiclysm] Adds diviner to the Forge of Wonders (#61623)
* Adds mapgen, some dialogue

* Update data/mods/Magiclysm/npc/TALK_FORGE_DIVINER.json

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Update data/mods/Magiclysm/npc/TALK_FORGE_DIVINER.json

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>

* Acid ant quests

* More scrying

* Formating

* Spelling

* Propper formating

* man-made, geographical, and plants

* Linting

* Linting

* Find gods

* Update data/mods/Magiclysm/npc/TALK_FORGE_DIVINER.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Magiclysm/npc/TALK_FORGE_DIVINER.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Make asking for animals not break the diviner

* Update TALK_FORGE_DIVINER.json

* Add om_specials

* Update forge_diviner_missions.json

* Update forge_diviner_missions.json

* Moves Innawood quest to Innawood

* retrigger checks

* retrigger checks

* Fixes Innawood Caves

* Update data/mods/Magiclysm/npc/forge_diviner_missions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: MNG-cataclysm <58958654+MNG-cataclysm@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-05 11:48:27 +02:00
Angela Graves c46b75a156 Merge pull request #64797 from Kaeteker/master
Fix blackpowder .30-06 fmj having doubled stat reduction
2023-04-05 02:13:56 -05:00
Kate 34f911609c Mouse hover support for inventory screens (#64632)
* Added support for items highlighting on mouse hover-over on the main inventory screen as well as the inventory multi-selector.

* Update src/inventory_ui.cpp

Fixing style inconsistencies

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/inventory_ui.cpp

Fixing style inconsistencies

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/inventory_ui.cpp

Fixing style inconsistencies

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/inventory_ui.cpp

Fixing style inconsistencies

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* caught regressions in inventory_examiner and inventory_compare_selector ... mouse hover was triggering selection events which is unintentional.

* Update src/inventory_ui.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/inventory_ui.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/inventory_ui.cpp

Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: andrei <68240139+andrei8l@users.noreply.github.com>
2023-04-05 02:49:22 -04:00
Kevin Granade 93696d7c46 remove skill rust option (#64708)
* remove skill rust option

* remove option

* Update src/options.cpp

* clean up option reference and unnecessary message

* remove unused var

---------

Co-authored-by: Fris0uman <41293484+Fris0uman@users.noreply.github.com>
2023-04-05 02:45:28 -04:00
Dillon Matchett 45a37ee3d4 [bombastic perks] cleaned up prereqs stuff (#64792)
* cleaned up prereqs stuff

* updating talk topic to be more descriptive
2023-04-05 02:34:56 -04:00
Clarence "Sparr" Risher aac75fa8bc Improve too small screen resize calculations (#64804) 2023-04-05 02:26:03 -04:00
Kate fef277fcb9 Character sheet mouse support (#64819)
* Added mouse hover support to the character info screen ('@'). WIP

* Finished adding mouse support to character sheet, focus follows mouse and clicking is supported, the user can now click the "buttons" on the top right to view key bindings, customize their character, and view morale.

* Dealt with warnings, added one small code cleanup.

* Changed the windows parameter to a reference to appease the build gods
2023-04-05 02:18:39 -04:00
SurFlurer 9a01df107f Make NPC guards complain at player stealing items (#64822)
* Return to pos after addressing player

* reviewdog
2023-04-05 02:15:35 -04:00
Fris0uman 2b33738715 Enable custom sprite for swivel chairs (#64825)
Co-authored-by: Fris0uman <sthapplz@gmail.com>
2023-04-05 02:12:53 -04:00
Eric 72fa89597f Update mission_util.cpp (#64837) 2023-04-05 02:08:18 -04:00
SurFlurer ae4f21ef26 Prevent direction randomize overflow (#64841) 2023-04-05 02:07:00 -04:00
Brambor 99da94cfdd remove mention of never used WALL_CLING_FOURTH (#64842)
- introduced in
commit: 2c41bdfa83
PR: Add ability to count character flags, move all trait flag checks over to character flag (#55061)
2023-04-05 02:06:20 -04:00
Jeremy Rose fe47c4379f fix sewer json (#64847) 2023-04-05 02:04:56 -04:00
SurFlurer 76f4ded722 Character::use_amount() returns consumed items' content (#64846)
* use_amount returns content

* Clang-tidy
2023-04-05 02:04:07 -04:00
ZigVert 94d4d0a33d timmy twoshoes over here repeating himself (#64821) 2023-04-05 02:02:13 -04:00
Paul Fenwick 7c075870e0 Add looks_like to 22_casing_new (#64820) 2023-04-05 02:01:52 -04:00
Binrui Dong 9399f295ba Add path filter in clang-tidy.yml (#64845)
* Add path filter in clang-tidy.yml

* Update clang-tidy.yml
2023-04-04 22:06:07 -07:00
Sơn Phan Trung 32e04e0f70 Update COMPILING.md C++14 reference to C++17 (#64724)
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-04-04 20:20:57 -07:00
Maleclypse c3e699d19e Update src/mattack_actors.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-04 22:20:39 -05:00
Maleclypse 58b288a005 Update src/mattack_actors.cpp
Co-authored-by: David Seguin <davidseguin@live.ca>
2023-04-04 21:05:23 -05:00
Ranik-Ortega eb79fb95b9 Update scenarios.json 2023-04-04 15:49:56 -05:00
Ranik-Ortega a090e5a5c3 Update scenarios.json 2023-04-04 10:03:43 -05:00
Clarence "Sparr" Risher e084982901 Dedupe msg for action attempted mounted/underwater (#64817) 2023-04-04 15:16:59 +02:00
Ranik-Ortega 52f81b70c7 Update scenarios.json 2023-04-04 07:49:33 -05:00
Bence 7c027dd29c Standard house variant distribution, survivor homes, doormats (#64678)
* doormat

* palette update

add the survivor palette: barricaded doors and windows, traps, survivor fridges, empty cans

replace drystone wall gates

domestic_general_and_variant_palette

doormats, palette regionalizing

* house cleanup

* comment update
2023-04-04 08:41:24 -03:00
Leon Joe 87986bea6e Spawn graboids after 13 days (#64812)
* Spawn graboids after 13 days

* Spawn graboids after 13 days
2023-04-04 08:40:46 -03:00
actually-a-cat 5f8f7a9af3 Fix mutation conflicts on Magiclysm tails (#64781) 2023-04-04 08:38:34 -03:00
Karol1223 716d20dab2 the thingie (#64696) 2023-04-04 08:37:44 -03:00
John Candlebury 0d9ad8e6de New bar enconters for the Ancilla Bar (#64745)
* New bar enconters for the Ancilla Bar

* Text editing pass.
2023-04-04 12:57:49 +02:00
Dillon Matchett 962ffff0ba Revamped Free Start (#64697)
* Add difficulty info to character creation screen

* Remove some difficulty impact refs

* Working needs to be refactored

Basic UI Changes and freeform upgrades

* Refactored and working, might need balance

* Added option for debug

* Last few bits of cleanup

* Fixes

* more fixes

* more fixing without compiling

* more cleanup of unused

* FIX CLANG

* spacing

Consolidated descriptors, added 1 additional band, Lifestyle

Co-Authored-By: pfj <33199288+pfj@users.noreply.github.com>
Co-Authored-By: Terrorforge <5107449+Terrorforge@users.noreply.github.com>
Co-Authored-By: PatrikLundell <22739822+PatrikLundell@users.noreply.github.com>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
Co-authored-by: pfj <33199288+pfj@users.noreply.github.com>
Co-authored-by: Terrorforge <5107449+Terrorforge@users.noreply.github.com>
Co-authored-by: PatrikLundell <22739822+PatrikLundell@users.noreply.github.com>
2023-04-04 12:53:16 +02:00
Jeremy Rose b0c8492b64 remove unused comestible radiation (#64766)
* remove unused comestible radiation

* also remove from docs
2023-04-04 12:42:14 +02:00
SurFlurer 19b37696db Fix auto_attacking barehanded NPC crash (#64772)
* fix crash

* reviewdog

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-04 12:41:53 +02:00
John Candlebury d27db1ba78 Standarized Makaylas (#64773) 2023-04-04 12:40:01 +02:00
SurFlurer c02ccbb3ab Fix ammo's charge being reduced when calculating reload move_points (#64634)
* Add "is_fake" parameter

* Manually revert some astyle

* Annotation

* Another way of implementation

Revert "Add "is_fake" parameter"

This reverts commit 1a33f04f8a.

Revert "Manually revert some astyle"

This reverts commit 76ec5df569.

Revert "Annotation"

This reverts commit 2e53d6fa0c.

* Better implementation

* Annotation

* Typo

* Astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Astyle

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* deduplicate

* Remove redundant handled_qty

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-04 12:19:29 +02:00
LyleSY 1db7658ccd [innawood] Cave ramp fixes (#64652)
* [innawood] Cave ramp fixes

* fewer Ws
2023-04-04 12:12:08 +02:00
Karol1223 1d2bdeb066 Finish the port of Crazy Cata monsters to Crazy Cata (#64390)
* evil

* remove it all

* jsonification

Co-Authored-By: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

* do it fix the thing?

* quite evil if I do say so myself

* NO MORE SHIA

* of course there's linting

---------

Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
2023-04-04 12:07:32 +02:00
Angela Graves 0106b1dc67 Merge pull request #64793 from LovamKicsiGazsii/json-sewer
JSON sewer mapgen
2023-04-04 00:29:58 -05:00
Ranik-Ortega 42889694ac Merge branch 'master' of https://github.com/RanikOrtega/Cataclysm-DDA 2023-04-03 22:25:05 -05:00
Ranik-Ortega d3f76a691a Lint Update 2023-04-03 22:17:59 -05:00
Karol1223 f8605259a1 Fruit Audit - Weight, Volume, Calories and Vitamins (#64695)
* first pass - numbers

* second round

* recipes themselves

* small stuff

* disassemblies

* man it'd be so cool if this fixed it

* orang juic

* lint this devil

* organize the thing

* description cleanup

Co-Authored-By: FoolsGold45 <46657256+FoolsGold45@users.noreply.github.com>

---------

Co-authored-by: FoolsGold45 <46657256+FoolsGold45@users.noreply.github.com>
2023-04-04 00:10:59 -03:00
anoobindisguise afa8b1b747 Gambesons rework (again) (#64114) 2023-04-03 19:23:45 -07:00
Maleclypse 70125c144e Update data/json/statistics.json 2023-04-03 21:23:20 -05:00
Ranik 21396d8057 Update data/json/statistics.json
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-03 21:21:36 -05:00
Ranik 9648afd3ef Update data/json/scenarios.json
Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2023-04-03 21:21:20 -05:00
Ranik c5358075e0 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:15:05 -05:00
Ranik 67893ff758 Update data/json/start_locations.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:14:52 -05:00
Ranik f84c61c0cf Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:14:34 -05:00
Ranik 5b26116c16 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:14:20 -05:00
Ranik 9f906898c9 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:13:43 -05:00
Ranik ef0b77495c Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:13:32 -05:00
Ranik 4802e5681c Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:13:21 -05:00
Ranik 3296c82de7 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:13:10 -05:00
Ranik bed3f187ac Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:12:58 -05:00
Ranik bc13e917f1 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:12:29 -05:00
Ranik 0134897850 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:12:01 -05:00
Ranik 219a3774e6 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:11:49 -05:00
Ranik 0a95fe8ace Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:11:37 -05:00
Ranik c7dcdfce4d Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:11:22 -05:00
Ranik 85251598b2 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:11:12 -05:00
Ranik 7d23ff3d20 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:11:01 -05:00
Ranik a89fca4f90 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:10:51 -05:00
Ranik c0859ea692 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:10:41 -05:00
Ranik ae223da856 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:10:29 -05:00
Ranik cc4894c746 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:09:58 -05:00
Ranik 9e64cea87e Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:09:49 -05:00
Ranik 40496d930e Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:09:38 -05:00
Ranik c0791b72bb Update data/json/statistics.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:09:02 -05:00
Ranik 33636d7057 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:08:46 -05:00
Ranik 2dc17f941e Update data/json/statistics.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:08:20 -05:00
Ranik 6fe3209a3b Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:07:47 -05:00
Ranik 3326ff5951 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:07:23 -05:00
Ranik fe542fa610 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:06:52 -05:00
Ranik 9a2edb2235 Update data/json/achievements.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:06:26 -05:00
Ranik cff3004895 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:06:11 -05:00
Ranik 3533dfd4e8 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:06:00 -05:00
Ranik c41e419b01 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:54 -05:00
Ranik 9e79ff7c20 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:42 -05:00
Ranik 85154df771 Update data/json/scenarios.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:36 -05:00
Ranik 8bd229c8d4 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:29 -05:00
Ranik 626be58932 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:20 -05:00
Ranik 7d86f97e28 Update data/json/effect_on_condition.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:14 -05:00
Ranik c97f9b1249 Update data/json/achievements.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 21:05:01 -05:00
Ranik-Ortega 8644a0ca49 Scenario additions, Achievement additions and Meta progression updates 2023-04-03 20:46:38 -05:00
Maleclypse 6c362d4818 Apply suggestions from code review
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2023-04-03 19:08:22 -05:00
Maleclypse 3b7e36db58 Update src/mattack_actors.cpp
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2023-04-03 18:42:38 -05:00
Maleclypse 9032dbb729 Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2023-04-03 18:37:01 -05:00
Maleclypse d732f2246a Update src/mattack_actors.cpp
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2023-04-03 18:32:51 -05:00
Maleclypse f335ab8419 addresses all seeing turrets
Co-Authored-By: Anton Burmistrov <11132525+Night-Pryanik@users.noreply.github.com>
2023-04-03 16:05:56 -05:00
LovamkicsiGazsi 6070c29efa fixing errors 2023-04-03 17:42:59 +02:00
Angela Graves cff82009f9 Merge pull request #64798 from CleverRaven/tileset-updates
Routine tileset updates on 02 April 2023
2023-04-03 00:29:02 -05:00
Maleclypse dc21c38acb Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-02 19:44:03 -05:00
Maleclypse 72bcab2be9 Adds Monsters and Documentation 2023-04-02 18:33:09 -05:00
casswedson db7c8e3219 Routine tileset updates on 02 April 2023 2023-04-02 23:01:37 +00:00
Maleclypse 3d1dadf31e Turrets attack vehicles
Co-Authored-By: Anton Burmistrov <11132525+Night-Pryanik@users.noreply.github.com>
Co-Authored-By: joveeater <6675689+joveeater@users.noreply.github.com>
2023-04-02 17:44:01 -05:00
Kaeteker a8ddd60dcd fix blackpowder .30-06 fmj inheriting from wrong cartridge 2023-04-02 15:08:19 -07:00
Huaji_Sama 48d1f793a8 Fix options.cpp (#64768) 2023-04-02 23:00:11 +03:00
Jeremy Rose 3550b71ead add force-drop option to debug menu (#64775) 2023-04-02 22:59:41 +03:00
Cyrano7 a61f87a28a Add football to throwing practice recipe (#64785) 2023-04-02 22:58:23 +03:00
Cyrano7 ce281c8282 maximising -> maximizing (#64786) 2023-04-02 22:58:06 +03:00
Clarence "Sparr" Risher a8809b85be Use minimum spanning tree for road connections (#64717)
* Deduplicate code for overmap road connections

* Use minimum spanning tree for road connections
2023-04-02 22:57:36 +03:00
Clarence "Sparr" Risher cc720a32cd Deduplicate code for overmap road connections (#64716) 2023-04-02 22:57:07 +03:00
Clarence "Sparr" Risher 2f3cbdd0f1 Store limb_scores as map instead of vector (#64776) 2023-04-02 22:56:53 +03:00
Clarence "Sparr" Risher 067837c610 Move aiming logic outside loop and inside ifs (#64761) 2023-04-02 22:56:27 +03:00
Clarence "Sparr" Risher 52baacdf7f Replace count_*_flag with has_*_flag (#64759) 2023-04-02 22:56:10 +03:00
John Bytheway 03fe3605c4 Add myself to CODEOWNERS for clang-tidy stuff (#64790) 2023-04-02 22:55:40 +03:00
Clarence "Sparr" Risher af42e388eb Replace 15_degrees with vehicles::steer_increment (#64575)
The constant 15_degrees (and 6, which is 90/15) appears various places
in the code without explanation. Replacing it with a name should clarify
the intent and meaning of the places it is used.
2023-04-02 22:55:32 +03:00
Zhilkin Serg 45e6e514c7 Merge pull request #64570 from sparr/49992_northwest_vehicle_glyph_fix
Fix rounding in vehicle glyph choice
2023-04-02 22:55:01 +03:00
andrei 2de8b1df9c doc: document math parser integration in JSON 2023-04-02 22:41:25 +03:00
andrei fdb0f86630 tests/math_parser: add an EOC integration test unit 2023-04-02 22:41:25 +03:00
andrei 385b949874 tests/math_parser: add a test unit 2023-04-02 22:41:25 +03:00
LovamkicsiGazsi 3f98d6caa7 more variation 2023-04-02 18:38:48 +02:00
TheShadowFerret d9b813590a [Bombastic Perks] Mo' Perks & Thick Skull adjustments (#64777)
* Way of the Adjective Hand x3

Epic Jade Empire reference

* Existing perk fixes

* Perks for a later PR


Gentle Death & Quickdraw Perks

* Move additional perks out

This reverts commit 5faa1ca169.
2023-04-02 13:37:12 -03:00
anothersimulacrum 4acd21936e Remove absent codeowners, fix path case (#64769)
Remove absent codeowners and codeowners for mods that exist anymore.
They didn't have write perms, so it didn't work anyway.

Also, fix bombastic perks path case, so the author is alerted.
2023-04-02 09:42:29 -03:00
Maleclypse 2adbbc9eea [Perks Mod] Popeye the Sailor man Perk (#64751)
* Popeye the Sailor man

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Moved everything to its own file, and added to the menu

Co-Authored-By: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

* Syntax Fixes and fail effect

Co-Authored-By: Maleclypse <54345792+Maleclypse@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: bombasticSlacks <dillon.matchett@gmail.com>
2023-04-02 09:35:38 -03:00
andrei 06e0a3a785 talker: allow dummy talker to be instantiated 2023-04-02 14:42:38 +03:00
andrei 051c45a4b2 math_parser/dialogue: implement an u_val shim 2023-04-02 14:42:38 +03:00
andrei dc475462e1 npctalk/EOC: integrate math parser into EOCs 2023-04-02 14:42:38 +03:00
andrei ff766fb435 math_parser: implement a math expression parser 2023-04-02 14:42:38 +03:00
Angela Graves fb313d84eb Merge pull request #64746 from TheShadowFerret/MosinMan
Correct 7.62x54R description
2023-04-02 00:41:13 -05:00
Maleclypse f3c54329b8 Electronic locks in vanilla (#64748)
Apply suggestions from code review

Update terrain-doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-02 00:21:13 -03:00
LovamkicsiGazsi 6c577a4410 connect specials to sewer 2023-04-01 23:28:03 +02:00
LovamkicsiGazsi 28fb721b94 json mapgen sewer 2023-04-01 23:27:37 +02:00
Bence b9651f079c Motel cleanup (#64726)
* motel cleanup

* kick
2023-04-01 15:59:36 -03:00
Dillon Matchett 23ed03eb1c Update labeler for perks mod (#64755)
* Update labeler.yml

* Update CODEOWNERS
2023-04-01 13:48:58 -04:00
David Seguin 1ac63730fb Merge pull request #64742 from sparr/city_cpp_h
Refactor city.cpp/.h out of overmap.cpp/.h
2023-04-01 13:48:02 -04:00
Dillon Matchett 85d409fd86 [Bombastic Perks] Added documentation and configuration menu (#64744)
* Added documentation and configuration menu

* Style

* added conflicts mention

* updated structure a bit more

* Why didn't this style?
2023-04-01 13:45:51 -04:00
David Seguin bc76352eca Merge pull request #64494 from anothersimulacrum/fix-unvisited
Fix unvisited JSON members
2023-04-01 13:44:32 -04:00
anothersimulacrum 5f47202085 Typo fix 2023-04-01 14:44:49 +00:00
anothersimulacrum aa65d98482 Max range goes in spells, not spell monattacks 2023-04-01 14:44:49 +00:00
anothersimulacrum 11abbeef50 Remove members that don't belong
These aren't loaded by these objects. The container item for the pills
is already a bottle, and I'm not sure what density was aiming to
accomplish exactly.
2023-04-01 14:44:49 +00:00
anothersimulacrum fdbde48b61 Remove null folded volume
Leaving it unset has the same effect, the part is not foldable. I'm not
sure why the reader (assign()) chokes on null here, though.
2023-04-01 14:44:49 +00:00
anothersimulacrum 4b56f951c0 No sealing here 2023-04-01 14:44:49 +00:00
anothersimulacrum 59414df980 npc_lose_var doesn't take a value 2023-04-01 14:44:49 +00:00
anothersimulacrum 4040df00b9 Move npc_lose_trait to effect 2023-04-01 14:44:49 +00:00
anothersimulacrum 46578676b4 Variants don't support item attributes
Just remove them.
2023-04-01 14:44:49 +00:00
anothersimulacrum e2ac1e1040 Move data that should be in NPC classes from NPCs
NPC classes are the appropriate place for this, not NPC defs.
2023-04-01 14:44:49 +00:00
anothersimulacrum 7bb30203c5 Mutations don't have relic data
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>

Looks like a simple misunderstanding, replace with enchantments.
2023-04-01 14:44:49 +00:00
anothersimulacrum b87d057f75 Various minor typos
'attack_cost ' -> 'attack_cost'
flag -> flags
colo -> color
coutnt -> count
variants_type -> variant_type
2023-04-01 14:44:49 +00:00
anothersimulacrum 039f71e8ce Fix items using comestible properties that are not
Make one of them a comestible, remove the property in the other case
2023-04-01 14:44:49 +00:00
anothersimulacrum 54be72204d Remove xedra_corpse container_item
It should have been container-item, but this whole thing was just an
accidental leftover from prototyping, so axe it.
2023-04-01 14:44:49 +00:00
anothersimulacrum 50451b73c3 Remove 'repeat' from itemgroup
This appears to be confusion with the mapgen syntax.
2023-04-01 14:44:49 +00:00
anothersimulacrum 88c2cedafa Remove sun_intensity
This was removed in 5525a3f38a, but
5e94c7cc1d added a weather containing it.
It was also not removed from the docs.
2023-04-01 14:44:43 +00:00
anothersimulacrum f38b77fdde Remove unused description from construction
Constructions cannot use descriptions, and this is just a duplicate of
the description of the terrain, which is the description for the
construction anyways.
2023-04-01 14:44:11 +00:00
anothersimulacrum 72380a1fc1 Remove unused encumb_impacts_dodge
This was removed in 9d71fc88a3, but not
removed from the entries.
2023-04-01 14:44:11 +00:00
anothersimulacrum 8c29eb1304 Use "null", not JSON special null
null is a special value in JSON, but the parsing code expects a string
here to actually parse this value. Make it a string as expected.
2023-04-01 14:44:11 +00:00
Huaji_Sama bb335db722 misc doc fixes (#64727)
* misc doc fixes

* Update MUTATIONS.md

* Update MODDING.md

* Update MONSTERS.md

* Update NPCs.md

* Update NPCs.md

* Update PRACTICE_RECIPES.md

* Update JSON_INHERITANCE.md

* Update PROFICIENCY.md

* Update JSON_INFO.md

* Update PROFICIENCY_LIST.md

* Update REGION_SETTINGS.md

* Update PROFICIENCY_LIST.md

* Update JSON_INFO.md

* Update GAME_BALANCE.md

* Update ITEM_SPAWN.md

* Update POSTAPOC_PRICE_GUIDE.md

* Update PROFICIENCY.md

* Update OVERMAP.md

* Update

* Update
2023-04-01 11:35:57 -03:00
Kate dcb1b6f868 Unloading a container with a spillable container inside causes an infinite loop (#64687)
* When a container spills as part of an unload operation, there's a chance, when the game is attempting to add the item to the player's inventory, that the item is placed back into the container it spilled from, causing an infinite loop.

* Update src/item_contents.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item_contents.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item_pocket.cpp

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update src/item_pocket.h

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-01 08:48:34 -03:00
Angela Graves 6ef8d469bf Merge pull request #64747 from CleverRaven/i18n
Routine i18n updates on 01 April 2023
2023-04-01 00:08:54 -05:00
Light-Wave 608822b7e5 [Innwood] Adds back forest trails. Also no longer requires city size to be set to 0. (#64713)
* Add files via upload

* Delete connections.json

* Update modinfo.json

* Removes content of game_balance.

* Adds back content, hopefully correctly this time

* Revert "Adds back content, hopefully correctly this time"

This reverts commit 402c71b46d.

* Tries letting github desktop deal with formating

* retrigger checks

* retrigger checks
2023-04-01 00:57:31 -04:00
Clay Caviness a3a11fef5c Fix some incorrect line endings. (#64735)
Perhaps as some JSON import/conversion, some lines had an extra `\",` at the end
2023-04-01 00:51:35 -04:00
Bence f681338447 stairs looks like (#64729) 2023-04-01 00:48:48 -04:00
Anton Simakov 2fca9c7979 [Xedra Evolved] another batch of random stuff (#64701)
* Initial commit

* Update data/mods/Xedra_Evolved/effects/effects.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update data/mods/Xedra_Evolved/items/spell_learning_items/spell_learning_items_eater.json

* Update data/mods/Xedra_Evolved/items/spell_learning_items/spell_learning_items_eater.json

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>

* Re: Ferret

* re: Maleclypse

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
2023-04-01 00:48:26 -04:00
Bence 41d1f5055d soil, central slope (#64734) 2023-04-01 00:48:03 -04:00
andrei 84531c0147 rng: check for nan/inf in rng_float 2023-04-01 06:30:34 +03:00
kevingranade 877c883c9d Routine i18n updates on 01 April 2023 2023-04-01 02:23:18 +00:00
LaVeyanFiend 677173c414 7.62x54r is still used 2023-03-31 21:29:54 -04:00
akrieger 9065a8c605 Remove stale warning about an older ccache version for visual studio. (#64736) 2023-03-31 21:24:56 -03:00
Karol1223 cf87ddc3b9 Small metals weight & recipes audit (#64568)
* copper & bronze

* lead

* silver

* more

* liiiiiiiiinting

* hopefully test fixes?

* don't be an idiot next time

* setting the foundations

* gold

* platinum

* final touchups

* price fixes
2023-03-31 21:24:28 -03:00
RanikOrtega 465fac42ab Additional Location Achievements (#64712)
* Update achievements.json

* Update achievements.json

* Update data/json/achievements.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-31 21:22:53 -03:00
Clarence "Sparr" Risher f93cbc35a6 Refactor city.cpp/.h out of overmap.cpp/.h 2023-03-31 18:47:42 -04:00
Clarence "Sparr" Risher 4bdb950459 Preserve history from overmap to city source files 2023-03-31 18:46:39 -04:00
Clarence "Sparr" Risher 74cefbd9ac Preserve history from overmap to city source files 2023-03-31 18:46:03 -04:00
Clarence "Sparr" Risher c284e897ea Preserve history from overmap to city source files 2023-03-31 18:45:42 -04:00
Clarence "Sparr" Risher bea4101388 Preserve history from overmap to city source files 2023-03-31 18:44:29 -04:00
Zhilkin Serg a33c958e6f Fix conditions for avatar_dies event (#64733)
Fixes https://github.com/CleverRaven/Cataclysm-DDA/issues/64732
2023-03-31 14:03:44 -04:00
David Seguin efbcd28926 Merge pull request #64648 from CleverRaven/profile-clang-tidy
Monitor time consumption of clang-tidy checks
2023-03-31 09:40:10 -04:00
ZigVert f2adb27e1d fursuit zombie no longer weighs nothing and can no longer bite (#64650)
* added vol & weight & removed bite

* added simulacrums suggestion

* w
2023-03-31 09:26:42 -04:00
Kevin Granade cb7128ba74 not to bee (#64679)
* not to bee

* beegone

* beeneficial pruning

* end of the beegining

* beeleanup

* not the bees!

* beeutiful simplicity

* desting

* more destinging

* json destunging
2023-03-31 09:25:19 -04:00
SurFlurer cc4a5eb105 clean up code (#64683) 2023-03-31 09:20:59 -04:00
andrei d176ab8082 inv_ui: never hide entries in the selection column (#64720) 2023-03-31 09:20:03 -04:00
Light-Wave 4d53a1cf03 Marks hunting lodge and campground as man-made (#64715)
* Marks hunting lodge as man-made

* Also marks campground
2023-03-31 09:16:24 -04:00
Procyonae 721cc4828d Tutorial spilled paint fix (#64714)
* Adds a new itemgroup to spawn the paint in cans correctly

* Removed a line break

* Corrected indentation

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Removed some more line breaks

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-31 09:16:03 -04:00
Curtis Merrill 88178b1223 create avatar_dies event (#64685)
* create avatar_dies event

* handle avatar_dies in memorial logger switch

* Update src/event.cpp

Co-authored-by: David Seguin <davidseguin@live.ca>

* Update src/memorial_logger.cpp

Co-authored-by: David Seguin <davidseguin@live.ca>

---------

Co-authored-by: David Seguin <davidseguin@live.ca>
2023-03-31 08:40:51 -04:00
Dillon Matchett 31e2f3c64b Bombastic Perks, Perk System Mod (#64285)
* Perk System

* EOC upgrades, need to do more in the future

* linted and working

* Typo fixes

Co-Authored-By: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-Authored-By: avianArsonist <91783002+avianArsonist@users.noreply.github.com>

* Update data/mods/BombasticPerks/perks.json

* Added perks and warning menus

* styling

* Apply suggestions from code review

* Spelling Fixes

---------

Co-authored-by: TheShadowFerret <99621099+TheShadowFerret@users.noreply.github.com>
Co-authored-by: avianArsonist <91783002+avianArsonist@users.noreply.github.com>
2023-03-31 08:38:57 -04:00
Angela Graves 5aac1e54c5 Merge pull request #64689 from aoae23/patch-1
Gives sugar beet syrup a batch crafting time
2023-03-31 00:42:27 -05:00
David Seguin 1df1844e3e Merge pull request #64694 from BrettDong/clang-tidy-fix
Preparation for upgrading to clang-tidy 16
2023-03-31 01:18:58 -04:00
strategineer fc74bce693 Fix "Play Now" options bringing up the world generation prompt (#64659) 2023-03-30 22:56:48 -04:00
Anton Simakov e3579e5516 Update earthshaper.json (#64668) 2023-03-30 22:55:33 -04:00
Binrui Dong 18adf7f0fe Add LSArchitecturePriority property in macOS Info.plist (#64690) 2023-03-30 22:49:51 -04:00
Alexey 222f75dfa8 Fix json lint execution policy and more static_casts (#64692) 2023-03-30 22:49:22 -04:00
Bence 81cc404f1b roof (#64702) 2023-03-30 22:46:40 -04:00
Bence 3a1bb5cfaf Mutable mine roof (#64704)
* roof

* man-made
2023-03-30 22:45:31 -04:00
Jianxiang Wang (王健翔) 6ed177c2e4 Enable -g1 in CMake release build to produce source and line number in stack trace (#64705) 2023-03-30 22:44:59 -04:00
Bence 1002dd6dbd remove extra quotation mark (#64703) 2023-03-30 22:43:18 -04:00
Bence 87e52159f2 No more Take Your Dog to Work Day (#64574)
* working age zeds

* GROUP_CIVILIAN

* balance
2023-03-30 12:57:37 -04:00
FoolsGold45 f90b012587 Character Creation Audit (#64609)
* Update scenarios.json

Fixing grammar and awkward sentence structure; added "Challenge" to the title of any scenario with the CHALLENGE flag.

* Update hobbies.json

* Proofreading descriptions & tweak some names

* Standardize Military Professions

Give military professions that were imported from Fuji's mod more standardized proficiencies, skills, and items, with the Military Recruit's kit used as a baseline. The Undercover Operative is a notable exception - their kit is purposely non-standard and mostly composed of civilian clothing, but they still have the standard military training. Also gave the Military Breacher a breaching shotgun with carry vest, and some breaching slugs to play with.

* Update professions.json

breacher item fixes

* More tweaks after testing

Removed extraneous chest rigs from sniper and hacker, used item groups to workaround issue where grenadier and breacher don't spawn with the correct amount of spare ammo. reverted addition of breaching shotgun and related items on breacher

* phones

the non-elderly military vet gets a smartphone instead of a cell phone as most professions do. various other professions get smartphones or cell phones if they have storage space and if it isn't inappropriate for their profession

* minor proofreads

* Update scenarios.json

* Update professions.json

fixed an "embarrassing" typo

* confiscate cheerleader's phone

* Update data/json/professions.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-30 12:56:48 -04:00
KittyTac 801daa4d2e Update mutation_scenarios.json (#64637) 2023-03-30 12:53:33 -04:00
Binrui Dong ab3f43799d Avoid unnecessary copy construction [performance-unnecessary-copy-initialization] 2023-03-31 00:41:22 +08:00
Binrui Dong 97f353e38f Access static member through type name [readability-static-accessed-through-instance] 2023-03-31 00:41:22 +08:00
Binrui Dong b6607cc71f Migrate &vec[0] to vec.data() [readability-container-data-pointer] 2023-03-31 00:41:22 +08:00
Binrui Dong d03954af2d Remove unused decl [misc-unused-using-decls] 2023-03-31 00:41:22 +08:00
Binrui Dong aabd6d3160 Clean up duplicate header includes [readability-duplicate-include] 2023-03-31 00:41:19 +08:00
Maleclypse dff5ec11ca [Xedra Evolved] Electronic home doors (#64661)
* Numpad doors

lint

* Adjust vanilla palettes to include new doors

Update vanilla_palettes_adjusted.json

* Apply suggestions from code review

* Update terrain-doors.json

Update terrain-doors.json

Update terrain-doors.json

final touches

* Update data/mods/Xedra_Evolved/furniture_and_terrain/terrain-doors.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-30 10:01:21 -03:00
starpolemic cbc41b49f3 Gives sugar beet syrup a batch crafting time 2023-03-30 00:47:05 -07:00
Binrui Dong ebc3fffa4e Disable some time consuming clang-tidy checks 2023-03-30 14:59:30 +08:00
Binrui Dong d2323afdea Suppress cata-large-inline-function warning in cata_bitset 2023-03-30 14:59:30 +08:00
Binrui Dong 201d3666a9 Profile clang-tidy checks time consumption 2023-03-30 14:59:27 +08:00
Angela Graves dd52426fcb Merge pull request #64548 from anoobindisguise/anoobindisguise-protectivelenses
Protective Lenses buff (again because stalebot closed my first one)
2023-03-30 00:12:11 -05:00
teackot f3e9c4e43d Make all tile overlights destroyable (#64610) 2023-03-29 18:07:50 -07:00
strategineer 39148cf0f4 Don't try to display empty effects (#64631) 2023-03-29 20:08:21 -04:00
Clarence "Sparr" Risher 2cc0e73953 Fix compiler warning uninitialized anonymous func (#64638) 2023-03-29 20:07:28 -04:00
Clarence "Sparr" Risher 0451dec077 Eliminate compiler warning uninitialized limb_type (#64635) 2023-03-29 20:04:24 -04:00
strategineer 44ff1d36e0 Implement unused CLOSE_ADV_INV option (#64639)
... which closes the AIM menu when the player uses the "move all items" keybind and finishes moving the items
2023-03-29 20:03:05 -04:00
Binrui Dong 5e03ecc12b Update pull-translations.yml (#64646) 2023-03-29 20:02:09 -04:00
NetSysFire 3f8da23f04 nerf boiled lentils fun and add more ingredients to succotash (#64649) 2023-03-29 20:00:43 -04:00
Kamayana df51f06aa0 Show 2 actions if only 2 (#64663) 2023-03-29 19:53:45 -04:00
andrei 540fe64401 inventory_ui: improve pickup header (#64664) 2023-03-29 19:52:28 -04:00
SurFlurer e75316da67 Update camp mission ui (#64669) 2023-03-29 19:50:09 -04:00
wwkk222208 191c833704 Gun shot sounds are no longer played when using a bow with a damper. (#64670) 2023-03-29 19:48:21 -04:00
Sven Grewe 98801d4b88 Add solarized to color themes (#64676)
Solarized color scheme was missing in the list, IMHO it's kinda basic.

https://ethanschoonover.com/solarized/

Co-authored-by: Sven "qoreQyaS" Grewe <git@gucke.net>
2023-03-29 19:46:57 -04:00
strategineer a0bcf9ee54 Add myself to comment-commands.yml file so I can confirm bugs (#64660) 2023-03-29 09:45:11 -07:00
Tonkatsu 6753c7fc2f Removes SPIW guns (#61657) 2023-03-29 09:33:18 -07:00
David Seguin 67c4d7d194 properly split changelog lines in merge_summaries.sh (#64630) 2023-03-29 12:36:27 +02:00
Clarence "Sparr" Risher 5c077fa9e3 Deduplicate code for drawing labeled bars of chars (#64367) 2023-03-29 12:35:02 +02:00
Angela Graves a66bf06cb4 Merge pull request #64645 from pjf/pull/salsify
Allow bulk cooking of salisfy + dahlia and remove unhealthiness
2023-03-29 00:34:46 -05:00
taatu 65407fa8bf Oxygen concentration and compression (#61696) 2023-03-28 10:41:01 -07:00
Paul Fenwick 15826b3d39 Allow bulk cooking of salisfy + dahlia and remove unhealthiness
- Salisfy is a scrape'n'bake recipe. There should be a batch time
  factor. I've used `[ 80, 4 ]` as most of the prep is in the baking.

- Salsify was listed as -1 health because it contained inulin. That will
  give most people gas, but is Generally Recognised As Safe. Lots of
  modern foods have inulin added to boost their fibre content.

- Dahlia roots, as far as I'm aware, are also a scrape'n'bake, so I've
  added a batch factor there as well.
2023-03-29 00:24:47 +11:00
Angela Graves 6d311a79b1 Merge pull request #64565 from LovamKicsiGazsii/update-mapgen-docs
Update mapgen documents
2023-03-28 00:27:40 -05:00
Eric bdbee468ac Allow displaying recipe description for recipes without results (#64623)
* Update crafting_gui.cpp

* Update JSON_INFO.md
2023-03-27 23:01:35 -04:00
Brambor 4774491772 plank recipe: make 8 instead of 1 + 7 (#64624) 2023-03-27 22:58:41 -04:00
Eric 8c7e41fbde Update magic.cpp (#64628) 2023-03-27 22:57:33 -04:00
strategineer aa51ba0a10 Add context to physical activity text json field so that it can be translated properly (#64629) 2023-03-27 22:57:08 -04:00
anoobindisguise 018d65be54 Feral Cops (#59501) 2023-03-27 19:48:25 -07:00
Anton Burmistrov 5788e31aff Removed myself from codeowners and maintainers of No Hope mod (#64618) 2023-03-27 19:39:36 -07:00
Alexey Kim 8946b5e826 Remove excess overloads 2023-03-28 05:18:30 +03:00
Alexey Kim 67ba330fe0 Add a test for damage symbols/levels/colors 2023-03-28 05:18:30 +03:00
Alexey Kim ae1c1e6296 Damage symbols/colors/levels/etc now have 5 stages 2023-03-28 05:18:29 +03:00
Alexey Kim 02a4cb888f Stop item::set_damage changing degradation 2023-03-28 05:18:29 +03:00
Alexey Kim 2a81250bea Amend damage functions considering no negative damage now 2023-03-28 05:18:29 +03:00
Alexey Kim 93cc1f62d4 Remove firearm accurizing and firearm repair via mending 2023-03-28 05:18:29 +03:00
Alexey Kim 37462e27c4 Remove reinforcing 2023-03-28 05:18:18 +03:00
Brambor 8eebe0faf4 crafting_gui: add filter r: (products & byproducts)
- uses wildcards
- prompt r:* takes only ~7sec on my PC which I declare acceptable freeze
2023-03-28 02:53:57 +02:00
Brambor 21448fd2cb crafting_gui: filter m:no: don't show nested recipes 2023-03-28 02:52:30 +02:00
Brambor 9e2e49ffd8 refactor: unnest ifs 2023-03-28 02:52:30 +02:00
Brambor f39ffecc3d refactor, rename, docs 2023-03-28 02:51:52 +02:00
Alexey Kim 5782f99ab5 Adjust tests as no more negative damage is allowed 2023-03-28 03:06:56 +03:00
Alexey Kim 5c0f2a791f Remove item::min_damage, item::damage_floor, itype::damage_min 2023-03-28 03:06:50 +03:00
Alexey Kim 2899bb1299 Remove legacy item "damage" float reader 2023-03-27 21:39:11 +03:00
Anton Simakov 63ae979367 Update dreamsmith.json (#64616) 2023-03-27 14:34:40 -04:00
David Seguin 3d299b1087 Merge pull request #64614 from BrettDong/mac-arm64
Build Universal Binary on macOS
2023-03-27 14:33:44 -04:00
SurFlurer 4ef0868aa1 Avoid spilling items to the original item. (#64615) 2023-03-27 14:32:16 -04:00
Alexey fc84a0aa90 Unhardcode oter_id migrations (#64564)
Co-authored-by: Brambor <tondadrd@seznam.cz>
2023-03-27 14:30:23 -04:00
Binrui Dong b149406f07 Disable precompiled header in macOS CI build 2023-03-27 18:53:10 +08:00
Binrui Dong eb8a2f688f Build macOS Universal Binary in build matrix CI 2023-03-27 18:23:55 +08:00
Binrui Dong a8688ef6f4 Build macOS Universal Binary in Experimental Release workflow 2023-03-27 18:20:38 +08:00
Binrui Dong a858efb452 Add UNIVERSAL_BIANRY Makefile option 2023-03-27 18:19:17 +08:00
Binrui Dong ad52638d9e Remove OSX_MIN Makefile option 2023-03-27 18:14:56 +08:00
anoobindisguise 46c496a489 revert all other changes 2023-03-26 11:45:25 -07:00
anoobindisguise 8a19f359c6 Update data/json/items/armor/integrated.json
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-26 11:41:07 -07:00
anoobindisguise 8558dacdc2 Readd no salvage 2023-03-25 23:53:16 -07:00
anoobindisguise 8a67e8d799 undo the aluminization change 2023-03-25 17:35:01 -07:00
Clarence "Sparr" Risher e16ddd6ded Fix rounding in 8way vehicle direction calculation
Also replace loop with arithmetic in 4way and 8way calculations
2023-03-25 16:51:50 -04:00
LovamkicsiGazsi 77946e125b update mapgen 2023-03-25 15:07:17 +01:00
LovamkicsiGazsi 65ef14949b update docs 2023-03-25 15:07:08 +01:00
anoobindisguise 2dfd96dc63 Merge branch 'master' into anoobindisguise-protectivelenses 2023-03-24 21:25:33 -07:00
anoobindisguise f4df640c58 Merge branch 'CleverRaven:master' into anoobindisguise-protectivelenses 2022-12-31 14:33:55 -08:00
anoobindisguise faca570774 adjust 2022-12-22 09:39:51 -08:00
anoobindisguise c0a18636bc aluminized 2022-12-21 17:34:58 -08:00
anoobindisguise 1d3b13bf2f fix 2022-12-21 15:10:15 -08:00
anoobindisguise d9351e37f2 buff protective lenses integrated item a bit 2022-12-21 15:09:03 -08:00
3586 changed files with 2763075 additions and 1155513 deletions
+30
View File
@@ -7,6 +7,9 @@
#
# Comments on the checks we have decided are not worthwhile:
#
# * bugprone-throw-keyword-missing
# This check is too time consuming. Disable it for now to save CI time.
#
# * cert-dcl21-cpp (postfix operator++ and operator-- should return const objects)
# This is an unconventional code style, and conflicts with
# readability-const-return-type.
@@ -14,6 +17,10 @@
# * cert-env33-c (calls to system, popen)
# Unlikely to catch bugs, and using system is convenient for portability.
#
# * cert-dcl37-c and cert-dcl-51-cpp (reserved identifiers)
# These two checks are aliases for bugprone-reserved-identifier.
# Don't repeatedly run the same check for three times.
#
# * cert-err58-cpp (exceptions from static variable declarations)
# We have lots of memory allocations in static variable declarations, and
# that's fine.
@@ -27,6 +34,10 @@
# * readability-braces-around-statements
# Covered by astyle and buggy in clang-tidy 8. Can enable once we have a newer
# clang-tidy.
#
# * readability-identifier-naming
# We are not enforcing a standard identifier naming scheme in the code base.
# This check does not bring much value at the moment and consumes a lot of CPU time.
Checks: "\
bugprone-*,\
@@ -34,6 +45,8 @@ cata-*,\
cert-*,\
-cert-dcl21-cpp,\
-cert-env33-c,\
-cert-dcl37-c,\
-cert-dcl51-cpp,\
-cert-err58-cpp,\
clang-diagnostic-*,\
cppcoreguidelines-slicing,\
@@ -46,19 +59,36 @@ modernize-*,\
performance-*,\
readability-*,\
-readability-braces-around-statements,\
-bugprone-assignment-in-if-condition,\
-bugprone-easily-swappable-parameters,\
-bugprone-implicit-widening-of-multiplication-result,\
-bugprone-narrowing-conversions,\
-bugprone-throw-keyword-missing,\
-bugprone-unchecked-optional-access,\
-bugprone-unhandled-exception-at-new,\
-misc-confusable-identifiers,\
-misc-const-correctness,\
-misc-no-recursion,\
-misc-non-private-member-variables-in-classes,\
-misc-use-anonymous-namespace,\
-modernize-concat-nested-namespaces,\
-modernize-macro-to-enum,\
-modernize-pass-by-value,\
-modernize-return-braced-init-list,\
-modernize-use-default-member-init,\
-modernize-use-nodiscard,\
-readability-container-data-pointer,\
-readability-convert-member-functions-to-static,\
-readability-duplicate-include,\
-readability-else-after-return,\
-readability-function-cognitive-complexity,\
-readability-identifier-length,\
-readability-identifier-naming,\
-readability-implicit-bool-conversion,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-simplify-boolean-expr,\
-readability-suspicious-call-argument,\
-readability-use-anyofallof,\
"
WarningsAsErrors: '*'
+27
View File
@@ -0,0 +1,27 @@
FROM mcr.microsoft.com/devcontainers/cpp:0-ubuntu-22.04
# NOTE: Uninstall CMake extensions
# This is not a supported method by CDDA maintainers and it's confusing have this in the editor
# TODO: Not possible yet, waiting on upstream.
# Considered trying to get cheeky and deleting the folder but I believe that is held on the host
# This would require building out a more full featured container. Easier to wait and see.
# RUN code --uninstall-extension ms-vscode.cmake-tools && \
# code --uninstall-extensiontwxs.cmake
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.22.2"
# Optionally install the cmake for vcpkg
COPY ./reinstall-cmake.sh /tmp/
RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
fi \
&& rm -f /tmp/reinstall-cmake.sh
# [Optional] Uncomment this section to install additional vcpkg ports.
# RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
# [Optional] Uncomment this section to install additional packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libsdl2-dev libsdl2-ttf-dev \
libsdl2-image-dev libsdl2-mixer-dev libfreetype6-dev build-essential astyle ccache
+33
View File
@@ -0,0 +1,33 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
{
"name": "Cataclysm",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"github.vscode-github-actions",
"ms-vscode.makefile-tools",
"EditorConfig.EditorConfig",
"chiehyu.vscode-astyle"
]
}
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "gcc -v",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
+59
View File
@@ -0,0 +1,59 @@
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
#
set -e
CMAKE_VERSION=${1:-"none"}
if [ "${CMAKE_VERSION}" = "none" ]; then
echo "No CMake version specified, skipping CMake reinstallation"
exit 0
fi
# Cleanup temporary directory and associated files when exiting the script.
cleanup() {
EXIT_CODE=$?
set +e
if [[ -n "${TMP_DIR}" ]]; then
echo "Executing cleanup of tmp files"
rm -Rf "${TMP_DIR}"
fi
exit $EXIT_CODE
}
trap cleanup EXIT
echo "Installing CMake..."
apt-get -y purge --auto-remove cmake
mkdir -p /opt/cmake
architecture=$(dpkg --print-architecture)
case "${architecture}" in
arm64)
ARCH=aarch64 ;;
amd64)
ARCH=x86_64 ;;
*)
echo "Unsupported architecture ${architecture}."
exit 1
;;
esac
CMAKE_BINARY_NAME="cmake-${CMAKE_VERSION}-linux-${ARCH}.sh"
CMAKE_CHECKSUM_NAME="cmake-${CMAKE_VERSION}-SHA-256.txt"
TMP_DIR=$(mktemp -d -t cmake-XXXXXXXXXX)
echo "${TMP_DIR}"
cd "${TMP_DIR}"
curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${CMAKE_BINARY_NAME}" -O
curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${CMAKE_CHECKSUM_NAME}" -O
sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}"
sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license
ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest
+1 -1
View File
@@ -1,5 +1,5 @@
[flake8]
exclude = .git,__pycache__,lang/json
exclude = .git,__pycache__,lang/json,tools/clang-tidy-plugin/test/check_clang_tidy.py
ignore =
# E265 forces comments to have a space after the '#'. We have a bunch of
# optional debugging code commented out this way, and not having a space is
-31
View File
@@ -1,31 +0,0 @@
#Note that despite github calling these "owners", a better term would be "alerts"
#Everything in the cataclysm repository remains under a creative commons license, nobody owns the mods.
#In fact, the code "owners" designation is meant to encourage third party
#individuals to contribute to the mod, with the curators notified for reviews.
/data/mods/Aftershock/ @Maleclypse @John-Candlebury @Mom-Bun
/data/mods/DinoMod/ @ephemeralstoryteller @damien @LyleSY
/data/mods/Graphical_Overmap/ @Kilvoctu @Larwck
/data/mods/MMA/ @Hymore246
/data/mods/blazemod/ @SouP
/data/mods/classic_zombies/ @I-am-Erk
/data/mods/crt_expansion/ @Soupster89
/data/mods/desertpack/ @davidpwbrown
/data/mods/generic_guns/ @tenmillimaster
/data/mods/Magiclysm/ @KorGgenT
/data/mods/My_Sweet_Cataclysm/ @Fris0uman
/data/mods/ruralbiome/ @I-am-Erk
/data/mods/speedydex/ @KorGgenT
/data/mods/stats_through_kills/ @KorGgenT
/data/mods/Xedra_Evolved/ @Maleclypse
/data/mods/Dark-Skies-Above/ @ephemeralstoryteller
/data/mods/No_Hope/ @Night-Pryanik
/data/mods/innawood/ @Light-Wave
/data/mods/MA/ @ZhilkinSerg
magic*.cpp @KorGgenT
magic*.h @KorGgenT
/tools/ @int-ua
/lang/ @BrettDong
widget.cpp @wapcaplet @dseguin
widget.h @wapcaplet @dseguin
+1 -1
View File
@@ -72,7 +72,7 @@ body:
`ESC`Main Menu -> `b`Debug Menu -> `i`Info -> `r`Generate game report
placeholder: |
- OS: [e.g. iOS 8 or Windows 10 or Ubuntu 18.04]
- Game Version: [e.g. 0.C-29938-g90f5268437]
- Game Version: [e.g. d6ec466 (64-bit) ]
- Graphics version: [Tiles or Terminal]
- Ingame language: [Arabic or Bulgarian or Chinese (Simplified) or Chinese (Traditional) or Dutch or Esperanto or French or German or Italian (Italy) or Japanese or Korean or Polish or Portuguese (Brazil) or Russian or Serbian or Spanish (Argentina) or Spanish (Spain) or Turkish]
- Mods loaded: [e.g. dda, boats, hacktheplanet, StatsThroughSkills]
+5
View File
@@ -34,6 +34,11 @@ users:
- sadenar
- RenechCDDA
- irwiss
- strategineer
- pjf
- SurFlurer
- Procyonae
- harakka
keywords:
- name: confirm-bug
+14
View File
@@ -174,8 +174,10 @@
"Map / Mapgen":
- "**/**mapgen**"
- "**/mapgen**"
- "**/mapgen/**"
- "**/**overmap**"
- "**/overmap**"
- "**/overmap/**"
"Martial Arts":
- "**/martialart**"
@@ -209,6 +211,9 @@
- "**/**translation**"
- "**/translation**"
"Mods: Bombastic Perks":
- data/mods/BombasticPerks/**/*
"Mods: Aftershock":
- data/mods/Aftershock/**/*
- data/mods/aftershock_exoplanet/**/*
@@ -252,6 +257,12 @@
"Mods: Xedra Evolved":
- data/mods/Xedra_Evolved/**/*
"Mods: Mind Over Matter":
- data/mods/MindOverMatter/**/*
"Mods: Sky Island":
- data/mods/Sky_Island/**/*
"Mods":
- any: [ 'data/mods/**' ]
all: [ '!data/mods/TEST_DATA/**' ]
@@ -271,3 +282,6 @@
- "**/**vehicle**"
- "**/vehicle**"
- "src/veh_**"
"Game: Defense Mode":
- "src/gamemode_defense**"
+2 -2
View File
@@ -33,7 +33,7 @@ If there is no related issue, explain here what issue, feature, or other concern
#### Testing
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. -->
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. See TESTING_YOUR_CHANGES.md -->
#### Additional context
@@ -43,4 +43,4 @@ If there is no related issue, explain here what issue, feature, or other concern
<!--README: Cataclysm: Dark Days Ahead is released under the Creative Commons Attribution ShareAlike 3.0 license.
The code and content of the game is free to use, modify, and redistribute for any purpose whatsoever.
By contributing to the project you agree to the term of the license and that any contribution you make will also be covered by the same license.
See http://creativecommons.org/licenses/by-sa/3.0/ for details. -->
See http://creativecommons.org/licenses/by-sa/3.0/ for details. -->
+55
View File
@@ -0,0 +1,55 @@
files:
'data/mods/Aftershock/**':
- Maleclypse
- John-Candlebury
'data/mods/DinoMod/**':
- LyleSY
'data/mods/BombasticPerks/**':
- bombasticSlacks
'data/mods/MMA/**':
- Hymore246
'data/mods/classic_zombies/**':
- I-am-Erk
'data/mods/generic_guns/**':
- tenmillimaster
'data/mods/Magiclysm/**':
- KorGgenT
- GuardianDll
'data/mods/My_Sweet_Cataclysm/**':
- Fris0uman
'data/mods/ruralbiome/**':
- I-am-Erk
'data/mods/speedydex/**':
- KorGgenT
'data/mods/stats_through_kills/**':
- KorGgenT
'data/mods/Xedra_Evolved/**':
- Maleclypse
- GuardianDll
'data/mods/MindOverMatter/**':
- Standing-Storm
'data/mods/innawood/**':
- Light-Wave
'data/mods/MA/**':
- ZhilkinSerg
'data/mods/No_Hope/**':
- Night-Pryanik
'**/.clang-tidy':
- jbytheway
'**/magic*.cpp':
- KorGgenT
'**/magic*.h':
- KorGgenT
'tools/{spell_checker/!(dictionary.txt){,/**},!(spell_checker){,/**}}':
- jbytheway
'src/widget.cpp':
- wapcaplet
- dseguin
'src/widget.h':
- wapcaplet
- dseguin
'src/ui_manager.*':
- Qrox
'data/raw/keybindings{.json,/**}':
- Qrox
+8 -41
View File
@@ -5,14 +5,8 @@
"homepage": "https://www.libsdl.org/download-2.0.php",
"license": "Zlib",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
{ "name": "vcpkg-cmake", "host": true },
{ "name": "vcpkg-cmake-config", "host": true }
],
"default-features": [
"base"
@@ -20,39 +14,12 @@
"features": {
"base": {
"description": "Base functionality for SDL",
"dependencies": [
{
"name": "sdl2",
"default-features": false,
"features": [
"ibus",
"wayland",
"x11"
],
"platform": "linux"
}
]
"dependencies": [ { "name": "sdl2", "default-features": false, "features": [ "ibus", "wayland", "x11" ], "platform": "linux" } ]
},
"ibus": {
"description": "Build with ibus IME support",
"supports": "linux"
},
"samplerate": {
"description": "Use libsamplerate for audio rate conversion",
"dependencies": [
"libsamplerate"
]
},
"vulkan": {
"description": "Vulkan functionality for SDL"
},
"wayland": {
"description": "Build with Wayland support",
"supports": "linux"
},
"x11": {
"description": "Build with X11 support",
"supports": "!windows"
}
"ibus": { "description": "Build with ibus IME support", "supports": "linux" },
"samplerate": { "description": "Use libsamplerate for audio rate conversion", "dependencies": [ "libsamplerate" ] },
"vulkan": { "description": "Vulkan functionality for SDL" },
"wayland": { "description": "Build with Wayland support", "supports": "linux" },
"x11": { "description": "Build with X11 support", "supports": "!windows" }
}
}
+2 -5
View File
@@ -13,10 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/checkout@v3
- name: install dependencies
run: sudo apt-get install libncursesw5-dev gettext
- name: Prepare Build Analyzer
@@ -37,7 +34,7 @@ jobs:
ClangBuildAnalyzer --stop . buildAnalysis
- name: Analyze
run: ClangBuildAnalyzer --analyze buildAnalysis
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: ClangBuildAnalyzer-traces
path: "**/obj/*.json"
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
cancel_others: 'true'
paths: '[".github/workflows/astyle.yml", "Makefile", ".astylerc", "**.cpp", "**.h", "**.c"]'
- run: echo ${{ github.event.number }} > pull_request_id
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: pull_request_id
path: pull_request_id
+1 -1
View File
@@ -19,6 +19,6 @@ jobs:
sudo apt-get install python3-pip
sudo pip3 install polib
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Check printf format string in translations"
run: ./tools/check_po_printf_format.py
+53 -16
View File
@@ -1,4 +1,4 @@
name: Clang-tidy (clang-12, tiles)
name: Clang-tidy 16
on:
push:
@@ -8,6 +8,17 @@ on:
pull_request:
branches:
- master
paths:
- '**.c'
- '**.cpp'
- '**.h'
- '**.hpp'
- '**/CMakeLists.txt'
- '**/Makefile'
- 'build-scripts/clang-tidy.sh'
- 'build-scripts/clang-tidy-wrapper.sh'
- 'build-scripts/get_affected_files.py'
- '.github/workflows/clang-tidy.yml'
# We only care about the latest revision of a PR, so cancel all previous instances.
concurrency:
@@ -26,37 +37,54 @@ jobs:
uses: fkirc/skip-duplicate-actions@master
with:
cancel_others: 'true'
paths: '[ "**.cpp", "**.h", "**.c", "**/CMakeLists.txt", "**/Makefile", "**.hpp", "**.cmake", ".github/workflows/clang-tidy.yml" ]'
paths: '[ "**.cpp", "**.h", "**.c", "**/CMakeLists.txt", "**/Makefile", "**.hpp", "**.cmake", "build-scripts/clang-tidy.sh", "build-scripts/clang-tidy-wrapper.sh", "build-scripts/get_affected_files.py", ".github/workflows/clang-tidy.yml" ]'
build:
needs: skip-duplicates
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
# To make the run finish in the run time limit, we split it up into two
# parts: the src directory and everything else
subset: [ 'src', 'other' ]
runs-on: ubuntu-22.04
env:
CMAKE: 1
CLANG: clang++-12
COMPILER: clang++-12
CLANG: clang++-16
COMPILER: clang++-16
CATA_CLANG_TIDY: plugin
CATA_CLANG_TIDY_SUBSET: ${{ matrix.subset }}
TILES: 1
SOUND: 1
RELEASE: 1
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: install dependencies
- name: install LLVM 16
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main"
sudo apt-get update
sudo apt-get install libncursesw5-dev clang-12 libclang-12-dev llvm-12-dev llvm-12-tools \
libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev libpulse-dev ccache \
gettext jq
sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main"
sudo apt update
sudo apt install llvm-16 llvm-16-dev llvm-16-tools clang-16 clang-tidy-16 clang-tools-16 \
libclang-16-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev \
libpulse-dev ccache gettext jq
- name: install dependencies
run: |
sudo apt install python3-pip libncursesw5-dev ninja-build cmake gettext
pip3 install --user lit
- name: ensure clang-tidy and FileCheck commands point to LLVM 16
run: |
mkdir ~/llvm-command-override
ln -s /usr/bin/clang-tidy-16 ~/llvm-command-override/clang-tidy
ln -s /usr/bin/FileCheck-16 ~/llvm-command-override/FileCheck
echo "$HOME/llvm-command-override" >> $GITHUB_PATH
- name: checkout repository
uses: actions/checkout@v3
- name: prepare
run: bash ./build-scripts/requirements.sh
- name: determine changed files
if: ${{ github.event_name == 'pull_request' }}
uses: actions/github-script@v5
uses: actions/github-script@v6.3.3
with:
script: |
var fs = require('fs');
@@ -75,3 +103,12 @@ jobs:
- uses: ammaraskar/gcc-problem-matcher@master
- name: run clang-tidy
run: bash ./build-scripts/clang-tidy.sh
- name: show most time consuming checks
if: always()
run: | # the folder may not exist if there is no file to analyze
if [ -d clang-tidy-trace ]
then
jq -n 'reduce(inputs.profile | to_entries[]) as {$key,$value} ({}; .[$key] += $value) | with_entries(select(.key|contains(".wall"))) | to_entries | sort_by(.value) | reverse | .[0:10] | from_entries' clang-tidy-trace/*.json
else
echo "clang-tidy-trace folder not found."
fi
+1 -4
View File
@@ -23,10 +23,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/checkout@v3
- name: install cmakelang
run: python3 -m pip install -U cmakelang
- name: run cmake-lint
+2 -2
View File
@@ -39,7 +39,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@@ -64,7 +64,7 @@ jobs:
# uses a compiled language
- run: |
make RELEASE=1 RUNTESTS=0
make RELEASE=1 TESTS=0
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v3
- name: Set-up Comvent
uses: rytswd/comvent@v0.3
uses: rytswd/comvent@v0.5.2
id: comvent
with:
token: ${{ secrets.GITHUB_TOKEN }}
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Detect translation file changes"
uses: actions/github-script@v6
uses: actions/github-script@v6.3.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+1 -4
View File
@@ -20,10 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/checkout@v3
- name: install dependencies
run: sudo apt-get install flake8
- name: Enable flake8 problem matcher
+63
View File
@@ -0,0 +1,63 @@
name: JSON Formatter in HTML
on:
workflow_dispatch:
push:
paths:
- 'tools/format/**'
- 'tools/format_emscripten/**'
- '.github/workflows/format_emscripten.yml'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install dependencies (ubuntu)
run: |
sudo apt-get update
sudo apt-get install emscripten
- name: Build with emcc (emscripten)
run: tools/format_emscripten/build.sh
- name: Display files
run: ls -Rah
- name: Upload zipped html as artifact
uses: actions/upload-artifact@v3
with:
name: formatter
path: formatter.html
- uses: actions/checkout@v3
with:
ref: gh-pages
- uses: actions/download-artifact@v3
with:
name: formatter
- name: Display files
run: ls -Rah
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.TX_PR_CREATOR_JSON_LINTER }}
commit-message: JSON linter gh-pages file update
base: gh-pages
branch: gh-pages-json-linter-update
branch-suffix: short-commit-hash
delete-branch: true
add-paths: formatter.html
title: Update Github Pages JSON linter page
body: "#### Summary\nNone\n\n#### Additional context\nAutomatically generated PR from emscripten compile output"
labels: Organization,<Documentation>
# create as a draft to allow maintainers to cull the changes before merging
draft: true
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
cancel_others: 'true'
paths: '["**.json", ".github/workflows/json.yml"]'
- run: echo ${{ github.event.number }} > pull_request_id
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: pull_request_id
path: pull_request_id
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# I don't want no bot removing stuff for me
+1 -1
View File
@@ -15,7 +15,7 @@ on:
- '**.c'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.run_id }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
+27 -23
View File
@@ -89,6 +89,7 @@ jobs:
localize: 1
test-stage: 1
native: linux64
pch: 1
archive-success: basic-build
dont_skip_data_only_changes: 1
title: Basic Build and Test (Clang 10, Ubuntu, Curses)
@@ -98,6 +99,20 @@ jobs:
ccache_limit: 2G
ccache_key: linux-llvm-10
- compiler: clang++
os: macos-12
release: 1
cmake: 0
native: osx
pch: 0
tiles: 1
sound: 1
localize: 1
title: Clang 14, macOS 12, Tiles, Sound, x64 and arm64 Universal Binary
# cache size ??? to be observed
ccache_limit: 4G
ccache_key: macos-llvm-14-universal
- compiler: g++-9
os: ubuntu-latest
release: 1
@@ -109,6 +124,7 @@ jobs:
lto: 1
libbacktrace: 1
native: linux64
pch: 1
title: GCC 9, Curses, LTO
# ~850MB in a clean build
# ~370MB compressed
@@ -124,6 +140,7 @@ jobs:
sound: 0
localize: 1
native: linux64
pch: 1
sanitize: address
cxxflags: --gcc-toolchain=/opt/mock-gcc-11
mods: --mods=magiclysm
@@ -143,6 +160,7 @@ jobs:
sound: 0
localize: 1
native: linux64
pch: 1
sanitize: address
title: GCC 11, Ubuntu, Curses, ASan
# ~480MB in a clean build
@@ -151,27 +169,12 @@ jobs:
ccache_limit: 4G
ccache_key: linux-gcc-11-asan
- compiler: clang++
os: macos-12
release: 0
cmake: 0
native: osx
sanitize: undefined
tiles: 1
sound: 1
localize: 1
title: Clang 14, macOS 12, Tiles, Sound, UBSan
# ~880MB ccache-compressed in a clean build
# ~100 compressed
# observed usage: 3.85GB -> 500MB
ccache_limit: 4G
ccache_key: macos-llvm-14
- compiler: g++
os: ubuntu-latest
release: 0
cmake: 0
native:
pch: 1
tiles: 1
sound: 1
localize: 1
@@ -194,6 +197,7 @@ jobs:
sound: 1
localize: 0
native: linux64
pch: 1
title: GCC 9, Ubuntu, Tiles, Sound, CMake
# ~180MB in a clean build
# ~25MB compressed
@@ -226,6 +230,7 @@ jobs:
EXTRA_TEST_OPTS: --error-format=github-action
NUM_TEST_JOBS: ${{ matrix.num_test_jobs }}
NATIVE: ${{ matrix.native }}
PCH: ${{ matrix.pch }}
GOLD: ${{ matrix.gold }}
LTO: ${{ matrix.lto }}
LIBBACKTRACE: ${{ matrix.libbacktrace }}
@@ -240,14 +245,13 @@ jobs:
steps:
- name: checkout repository
if: ${{ env.SKIP == 'false' }}
uses: actions/checkout@v2
with:
fetch-depth: 1
uses: actions/checkout@v3
- name: install dependencies (ubuntu)
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' }}
run: |
sudo apt-get update
sudo apt-get install libncursesw5-dev ccache gettext parallel
sudo locale-gen en_US.UTF-8 de_DE.UTF-8
- name: install SDL2 dependencies (ubuntu)
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' && matrix.tiles == 1 }}
run: |
@@ -290,7 +294,7 @@ jobs:
shell: bash
- name: ccache cache files
if: ${{ env.SKIP == 'false' && ( runner.os == 'Linux' || runner.os == 'macOS' ) }}
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.get-vars.outputs.ccache-path }}
# double-dash after compiler is not a typo, it is to disambiguate between g++-<date> and g++-11-<date> for restore key prefix matching
@@ -324,18 +328,18 @@ jobs:
echo ${{ github.event.number }} > pull_request_id
echo "false" > ${{ env.ARCHIVE_SUCCESS }}
if: ${{ env.ARCHIVE_SUCCESS && failure() }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
if: ${{ always() && env.ARCHIVE_SUCCESS }}
with:
name: pull_request_id
path: pull_request_id
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
if: ${{ always() && env.ARCHIVE_SUCCESS }}
with:
name: ${{ env.ARCHIVE_SUCCESS }}
path: ${{ env.ARCHIVE_SUCCESS }}
- name: upload artifacts if failed
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.2
if: failure()
with:
name: cata_test
+9 -18
View File
@@ -57,13 +57,10 @@ jobs:
runs-on: windows-2019
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@v1.3.1
- name: Use GNU tar to enable zstd for actions/cache
run: |
@@ -71,21 +68,15 @@ jobs:
echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"
shell: cmd
- name: Restore artifacts, or run vcpkg, build and cache artifacts
uses: lukka/run-vcpkg@v10
- name: Install stable CMake
uses: lukka/get-cmake@latest
- name: Install vcpkg
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
# run-vcpkg tries to hash vcpkg.json but complans if it finds more than one.
# That said, we also have our custom vcpkg_triplets to hash, so we keep everything the same.
appendedCacheKey: ${{ hashFiles( 'msvc-full-features/vcpkg.json', 'msvc-object_creator/vcpkg.json', '.github/vcpkg_triplets/**', '.github/vckg_ports/**' ) }}
# Rev this value to drop cache without changing vcpkg commit
prependedCacheKey: v1-x64-full
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
# We have to use at least this version of vcpkg to include fixes for yasm-tool's
# availability only as an x86 host tool. Keep it in sync with the builtin-baseline
# field in vcpkg.json. Caching happens as a post-action which runs at the end of
# the whole workflow, after vcpkg install happens during msbuild run.
vcpkgGitCommitId: 'd08e708c2111893da3cc7e49b597ee4654c8076e'
vcpkgGitCommitId: '5b1214315250939257ef5d62ecdcbca18cf4fb1c'
- name: Integrate vcpkg
run: |
@@ -186,7 +177,7 @@ jobs:
- name: Run tests
if: ${{ github.ref_name != 'master' }}
run: |
.\Cataclysm-test-vcpkg-static-Release-x64.exe --min-duration 0.2 --rng-seed time
.\Cataclysm-test-vcpkg-static-Release-x64.exe --min-duration 20 --rng-seed time
- name: Dump disk usage logs if job failed
if: failure()
@@ -39,7 +39,7 @@ jobs:
name: spell_check_output
- name: 'Comment on PR'
if: steps.set-spell-check-retcode.outputs.spell-check-retcode >= 1
uses: actions/github-script@v5
uses: actions/github-script@v6.3.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+6 -2
View File
@@ -9,11 +9,13 @@ jobs:
if: github.repository == 'CleverRaven/Cataclysm-DDA'
runs-on: ubuntu-22.04
steps:
- name: install gettext tools
run: sudo apt-get install gettext
- name: "Install Transifex CLI"
run: |
curl -sL https://github.com/transifex/cli/releases/download/v1.6.4/tx-linux-amd64.tar.gz | sudo tar zxvf - -C /usr/bin tx
- name: "Delete existing i18n branch"
uses: actions/github-script@v6
uses: actions/github-script@v6.3.3
with:
github-token: ${{ secrets.TX_PR_CREATOR }}
script: |
@@ -21,7 +23,7 @@ jobs:
await github.rest.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "i18n"
ref: "heads/i18n"
})
} catch (error) {
console.log(error)
@@ -37,6 +39,8 @@ jobs:
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
run: tx pull --force
- name: "Update stats"
run: ./lang/update_stats.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
@@ -31,7 +31,7 @@ jobs:
sudo apt install python3-pip
sudo pip3 install polib
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Generate translation template"
run: |
lang/update_pot.sh
+24 -72
View File
@@ -25,62 +25,25 @@ jobs:
release:
name: Create Release
runs-on: ubuntu-latest
permissions: write-all
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
timestamp: ${{ steps.get-timestamp.outputs.time }}
release_already_exists: ${{ steps.tag_check.outputs.exists }}
steps:
- name: Get build timestamp
id: get-timestamp
uses: nanzm/get-time-action@v1.1
with:
timeZone: 0
format: 'YYYY-MM-DD-HHmm'
run: |
echo "time=$(/bin/date -u "+%Y-%m-%d-%H%M")" >> $GITHUB_OUTPUT
- name: Generate environmental variables
id: generate_env_vars
run: |
echo "tag_name=cdda-experimental-${{ steps.get-timestamp.outputs.time }}" >> $GITHUB_OUTPUT
echo "release_name=Cataclysm-DDA experimental build ${{ steps.get-timestamp.outputs.time }}" >> $GITHUB_OUTPUT
- name: Check if there is existing git tag
id: tag_check
uses: mukunku/tag-exists-action@v1.0.0
with:
tag: ${{ steps.generate_env_vars.outputs.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
- name: Push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.5
if: ${{ steps.tag_check.outputs.exists == 'false' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.generate_env_vars.outputs.tag_name }}
tag_prefix: ""
- name: "Generate release notes"
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github.v3+json" \
/repos/CleverRaven/Cataclysm-DDA/releases/generate-notes \
-f tag_name='${{ steps.generate_env_vars.outputs.tag_name }}' \
-f target_commitish='master' \
-q .body > CHANGELOG.md
- name: Create release
id: create_release
uses: actions/create-release@v1
if: ${{ steps.tag_check.outputs.exists == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.generate_env_vars.outputs.tag_name }}
release_name: ${{ steps.generate_env_vars.outputs.release_name }}
body_path: ./CHANGELOG.md
draft: false
prerelease: true
- uses: actions/checkout@v3
- run: |
gh release create ${{ steps.generate_env_vars.outputs.tag_name }} --generate-notes --prerelease --title "${{ steps.generate_env_vars.outputs.release_name }}"
builds:
needs: release
if: ${{ needs.release.outputs.release_already_exists == 'false' }}
strategy:
fail-fast: false
matrix:
@@ -142,20 +105,20 @@ jobs:
artifact: linux-curses-x64
ext: tar.gz
content: application/gzip
- name: OSX Curses x64
- name: macOS Curses Universal Binary (x64 and arm64)
os: macos-12
mxe: none
tiles: 0
sound: 0
artifact: osx-curses-x64
artifact: osx-curses-universal
ext: dmg
content: application/x-apple-diskimage
- name: OSX Tiles x64
- name: macOS Tiles Universal Binary (x64 and arm64)
os: macos-12
mxe: none
tiles: 1
sound: 0
artifact: osx-tiles-x64
artifact: osx-tiles-universal
ext: dmg
content: application/x-apple-diskimage
- name: Android x64
@@ -181,32 +144,29 @@ jobs:
content: application/aap
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
permissions: write-all
env:
ZSTD_CLEVEL: 17
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get soundpack
if: matrix.sound == 1
run: |
git clone --depth=1 --shallow-submodules --recurse-submodules https://github.com/Fris0uman/CDDA-Soundpacks '${{ github.workspace }}/CDDA-Soundpacks'
mv '${{ github.workspace }}/CDDA-Soundpacks/sound/CC-Sounds' '${{ github.workspace }}/data/sound'
- name: Install dependencies (windows msvc) (0/3)
if: runner.os == 'Windows'
uses: lukka/get-cmake@latest
- name: Install dependencies (windows msvc) (1/3)
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.0.2
uses: microsoft/setup-msbuild@v1.3.1
- name: Install dependencies (windows msvc) (2/3)
if: runner.os == 'Windows'
uses: lukka/run-vcpkg@v10
uses: lukka/run-vcpkg@v11
id: runvcpkg
with:
appendedCacheKey: ${{ hashFiles( 'msvc-full-features/vcpkg.json', '.github/vcpkg_triplets/**', '.github/vckg_ports/**' ) }}
# Rev this value to drop cache without changing vcpkg commit
prependedCacheKey: v1-${{ matrix.arch }}
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
# We have to use at least this version of vcpkg to include fixes for yasm-tool's
# availability only as an x86 host tool. Keep it in sync with the builtin-baseline
# field in vcpkg.json. Caching happens as a post-action which runs at the end of
# the whole workflow, after vcpkg install happens during msbuild run.
vcpkgGitCommitId: 'd08e708c2111893da3cc7e49b597ee4654c8076e'
vcpkgGitCommitId: '5b1214315250939257ef5d62ecdcbca18cf4fb1c'
- name: Install dependencies (windows msvc) (3/3)
if: runner.os == 'Windows'
run: |
@@ -278,7 +238,7 @@ jobs:
env:
# Enable pretty backtraces
BACKTRACE: 1
CDDA_STRIPPED_PDB: 1
CDDA_RELEASE_BUILD: 1
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets
run: |
msbuild -m -p:Configuration=Release -p:Platform=${{ matrix.arch }} "-target:Cataclysm-vcpkg-static;JsonFormatter-vcpkg-static" msvc-full-features\Cataclysm-vcpkg-static.sln
@@ -287,11 +247,11 @@ jobs:
- name: Build CDDA (osx)
if: runner.os == 'macOS'
run: |
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 USE_HOME_DIR=1 OSX_MIN=10.13 FRAMEWORK=1 dmgdist
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 USE_HOME_DIR=1 FRAMEWORK=1 UNIVERSAL_BINARY=1 dmgdist
mv Cataclysm.dmg cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.dmg
- name: Set up JDK 8 (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
@@ -323,16 +283,8 @@ jobs:
./gradlew -Pj=$((`nproc`+0)) bundleExperimentalRelease
mv ./app/build/outputs/bundle/experimentalRelease/*.aab ../cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.aab
fi
- name: Upload release asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.${{ matrix.ext }}
asset_name: cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.${{ matrix.ext }}
asset_content_type: ${{ matrix.content }}
- run: |
gh release upload cdda-experimental-${{ needs.release.outputs.timestamp }} cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.${{ matrix.ext }}
- name: Trigger GitHub pages rebuild
shell: bash
run: |
+26
View File
@@ -0,0 +1,26 @@
name: Auto request review
on:
pull_request_target:
types: [opened, synchronize, ready_for_review, reopened]
concurrency:
group: request-review-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
auto-request-review:
# Do not spam reviewer with PRs in forks. If fork owners wish to alert
# people of their changes they may change this line themselves.
if: github.repository == 'CleverRaven/Cataclysm-DDA'
name: Auto request review
runs-on: ubuntu-latest
steps:
- name: Request review
uses: qrox/auto-request-review@481e6cd2f5d57b6e914d81ca731211384a76798f
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml
+3 -3
View File
@@ -2,7 +2,7 @@ name: 'Stale issue handler'
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'
- cron: '30 * * * *'
permissions:
issues: write
pull-requests: write
@@ -24,8 +24,8 @@ jobs:
days-before-close: 30
start-date: '2020-05-07'
ascending: ${{ contains(fromJson('["01", "03", "05", "07", "09", "11"]'), env.time) }}
operations-per-run: 250
exempt-issue-labels: '<Bug>,<Bugfix>,<Crash / Freeze>,Organization: Bounty,Good First Issue,(P1 - Critical),(P2 - High),(P3 - Medium),(P4 - Low),(P5 - Long-term),(S2 - Confirmed),0.G String Freeze,0.G Feature Freeze,0.G Content Freeze'
operations-per-run: 110
exempt-issue-labels: 'Accessibility,<Bug>,<Bugfix>,<Crash / Freeze>,Organization: Bounty,Good First Issue,Help Wanted,(P1 - Critical),(P2 - High),(P3 - Medium),(P4 - Low),(P5 - Long-term),(S2 - Confirmed),0.G String Freeze,0.G Feature Freeze,0.G Content Freeze'
exempt-pr-labels: '<Bug>,<Bugfix>,<Crash / Freeze>,Organization: Bounty,Good First Issue,(P1 - Critical),(P2 - High),(P3 - Medium),(P4 - Low),(P5 - Long-term),(S2 - Confirmed),0.G String Freeze,0.G Feature Freeze,0.G Content Freeze'
exempt-all-milestones: true
exempt-all-assignees: true
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
name: labeler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: fuxingloh/multi-labeler@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -43,7 +43,7 @@ jobs:
run: echo "pr-id=$( cat pull_request_id )" >> $GITHUB_OUTPUT
- name: set-label
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.conclusion != 'skipped' || steps.set-basic-build-success.outputs.basic-build-success == 'true' }}
uses: actions/github-script@v5
uses: actions/github-script@v6.3.3
with:
script: |
if ('${{ steps.set-pr-id.outputs.pr-id }}'.trim().length == 0) {
@@ -58,7 +58,7 @@ jobs:
}
- name: remove-label
if: ${{ github.event.workflow_run.conclusion == 'failure' && steps.set-basic-build-success.outputs.basic-build-success != 'true' }}
uses: actions/github-script@v5
uses: actions/github-script@v6.3.3
with:
script: |
if ('${{ steps.set-pr-id.outputs.pr-id }}'.trim().length == 0) {
+6 -6
View File
@@ -28,7 +28,7 @@ jobs:
sudo apt-get install python3-pip gettext
sudo pip3 install polib pyspellchecker
- name: "Checkout test merge commit"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Compute base commit and test merge commit"
id: get-commit-hash
run: |
@@ -41,7 +41,7 @@ jobs:
./lang/update_pot.sh
cp lang/po/cataclysm-dda.pot ~/merge.pot
- name: "Checkout base commit"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ steps.get-commit-hash.outputs.base_commit }}
- name: "Generate translation template on base commit"
@@ -50,7 +50,7 @@ jobs:
./lang/update_pot.sh
cp lang/po/cataclysm-dda.pot ~/base.pot
- name: "Checkout test merge commit"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ steps.get-commit-hash.outputs.test_merge_commit }}
- name: "List text changes"
@@ -68,15 +68,15 @@ jobs:
wc -c spell_check_output | grep -o '[0-9]*' > spell_check_retcode
echo "length=$(cat spell_check_retcode)" >> $GITHUB_OUTPUT
- run: echo ${{ github.event.number }} > pull_request_id
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: pull_request_id
path: pull_request_id
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
with:
name: spell_check_retcode
path: spell_check_retcode
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3.1.2
if: steps.get_length.outputs.length >= 1
with:
name: spell_check_output
+2 -2
View File
@@ -14,10 +14,10 @@ jobs:
name: Update the table of contents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: npx doctoc doc/JSON_INFO.md --github
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
commit-message: Update the table of contents
branch: update-toc
+3 -3
View File
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "Get current date"
uses: 1466587594/get-current-time@v2
id: current-date
@@ -33,13 +33,13 @@ jobs:
echo "date=$( date +"%Y-%m-%d" -d $CURR_DATE )" >> $GITHUB_OUTPUT
echo "old_date=$LAST_WEEK" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3.10.0
uses: peter-evans/create-pull-request@v4
with:
commit-message: Weekly Changelog ${{ steps.getting-changes.outputs.old_date }} to ${{ steps.getting-changes.outputs.date }}
committer: David Seguin <davidseguin@live.ca>
author: David Seguin <davidseguin@live.ca>
token: ${{ secrets.TX_PR_CREATOR }}
branch: changelog-weekly
branch: changelog-weekly-${{ steps.getting-changes.outputs.date }}
delete-branch: true
base: master
title: Weekly Changelog ${{ steps.getting-changes.outputs.old_date }} to ${{ steps.getting-changes.outputs.date }}
+13 -1
View File
@@ -33,6 +33,7 @@
/src/prefix.h
/sound/
/templates/
/export_dir/
/tools/format/json_formatter.cgi
CataclysmWin.cscope_file_list
CataclysmWin.depend
@@ -62,10 +63,15 @@ json_formatter
*.vcxproj.filters
*.lastbuildstate
.vs/
.vscode/
Directory.Build.props
Directory.Build.targets
# Visual Studio Code
.vscode/
.vscode/**
!.vscode/settings.json
!.vscode/extensions.json
# Visual Studio project files
/msvc-full-features/**/
@@ -119,6 +125,9 @@ tags
/lang/json/*
!/lang/json/README
# Languag translation stats intermediate files
/lang/stats/
# Netbeans IDE folders
nbproject/
@@ -141,6 +150,9 @@ __pycache__
# vimdiff backup
*.orig
# obsidian.md files
.obsidian
# OSX
Cataclysm.app
build-data/osx/AppIcon.icns
+7
View File
@@ -0,0 +1,7 @@
{
"recommendations": [
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker",
"cdda-toys.cdda-json-formatter"
]
}
+32
View File
@@ -0,0 +1,32 @@
{
"C_Cpp.default.configurationProvider": "ms-vscode.makefile-tools",
"makefile.configurations": [
{
"name" : "Linux - X64 - Tiles/Sound - Release",
"makeArgs": [
"-j4",
"CLANG=1",
"CCACHE=1",
"NATIVE=linux64",
"RELEASE=1",
"TILES=1",
"SOUND=1"
]
},
{
"name" : "Linux - X64 - Tiles/Sound - Debug",
"makeArgs": [
"-j4",
"CLANG=1",
"CCACHE=1",
"NATIVE=linux64",
"TILES=1",
"SOUND=1"
]
}
],
"cmake.configureOnOpen": false,
"github-actions.remote-name": "upstream",
// NOTE: This disable the plugins formatting so astyle is used.
"C_Cpp.formatting": "disabled",
}
+77 -112
View File
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.21)
cmake_minimum_required(VERSION 3.20)
project(CataclysmDDA)
@@ -12,13 +12,18 @@ endif()
set(CMAKE_TLS_VERIFY ON)
# Build options
include(CMakeDependentOption)
option(TILES "Build graphical tileset version." "OFF")
option(CURSES "Build curses version." "ON")
option(SOUND "Support for in-game sounds & music." "OFF")
option(BACKTRACE "Support for printing stack backtraces on crash" "ON")
option(LIBBACKTRACE "Print backtrace with libbacktrace." "OFF")
option(USE_HOME_DIR "Use user's home directory for save files." "ON")
option(USE_PREFIX_DATA_DIR "Use UNIX system directories for game data in release build." "ON")
option(USE_XDG_DIR "Use XDG directories for save and config files." "OFF")
option(USE_HOME_DIR "Use user's home directory for save and config files." "ON")
cmake_dependent_option(USE_PREFIX_DATA_DIR
"Use UNIX system directories for game data in release build." ON
"UNIX" OFF
)
option(LOCALIZE "Support for language localizations. Also enable UTF support." "ON")
option(LANGUAGES "Compile localization files for specified languages." "")
option(DYNAMIC_LINKING
@@ -38,7 +43,7 @@ if (TESTS)
include(CTest)
endif()
message(STATUS "${PROJECT} build environment --")
message(STATUS "${PROJECT_NAME} build environment --")
message(STATUS "Build realm is: ${CMAKE_SYSTEM_NAME} ${CMAKE_HOST_SYSTEM_PROCESSOR}")
if (NOT CMAKE_BUILD_TYPE)
@@ -96,6 +101,7 @@ include(CheckCXXCompilerFlag)
#SET(CMAKE_SHARED_LIBRARY_C_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS} -m32")
#SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS} -m32")
find_package(PkgConfig)
if (NOT DYNAMIC_LINKING)
if(NOT MSVC)
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.dll.a")
@@ -119,49 +125,6 @@ else ()
endif ()
endif ()
# System specific actions
if ("${CMAKE_SYSTEM_NAME}" MATCHES "(Linux|FreeBSD|Darwin)")
if (NOT DATA_PREFIX)
set(DATA_PREFIX ${CMAKE_INSTALL_PREFIX}/share/cataclysm-dda)
endif ()
if (NOT README_DIR)
set(README_DIR ${DATA_PREFIX})
endif ()
if (NOT LOCALE_DIR)
set(LOCALE_DIR ${CMAKE_INSTALL_PREFIX}/share/locale)
endif ()
if (NOT BIN_PREFIX)
set(BIN_PREFIX ${CMAKE_INSTALL_PREFIX}/bin)
endif ()
if (NOT DESKTOP_ENTRY_PATH)
set(DESKTOP_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/applications)
endif ()
if (NOT PIXMAPS_ENTRY_PATH)
set(PIXMAPS_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor)
endif ()
if (NOT PIXMAPS_UNITY_ENTRY_PATH)
set(PIXMAPS_UNITY_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/icons/ubuntu-mono-dark)
endif ()
if (NOT MANPAGE_ENTRY_PATH)
set(MANPAGE_ENTRY_PATH ${CMAKE_INSTALL_PREFIX}/share/man)
endif ()
endif ()
if ("${CMAKE_SYSTEM_NAME}" MATCHES "(Windows|MSYS)")
if (NOT DATA_PREFIX)
set(DATA_PREFIX ${CMAKE_INSTALL_PREFIX}/data)
endif ()
if (NOT README_DIR)
set(README_DIR ${CMAKE_INSTALL_PREFIX})
endif ()
if (NOT LOCALE_DIR)
set(LOCALE_DIR ${CMAKE_INSTALL_PREFIX}/lang)
endif ()
if (NOT BIN_PREFIX)
set(BIN_PREFIX ${CMAKE_INSTALL_PREFIX})
endif ()
endif ()
message(STATUS "${PROJECT_NAME} build options --")
# Preset variables
@@ -186,10 +149,15 @@ if (TILES)
set(CURSES OFF)
endif ()
# Can't use both home and xdg directories
if (USE_XDG_DIR)
set(USE_HOME_DIR OFF)
endif ()
# Set build types and display info
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(RELEASE 0)
message(STATUS "Build ${PROJECT} in development mode --")
message(STATUS "Build ${PROJECT_NAME} in development mode --")
message(STATUS "Binaries will be located in: " ${CMAKE_SOURCE_DIR})
set(CMAKE_VERBOSE_MAKEFILE ON)
# Since CataclysmDDA does not respect PREFIX for development builds
@@ -197,29 +165,36 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
# in the source directory
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR} CACHE PATH
"Single Directory for all Executables.")
set(BIN_PREFIX ${CMAKE_SOURCE_DIR})
set(CMAKE_INSTALL_BINDIR .)
else ()
set(RELEASE 1)
add_definitions(-DRELEASE)
# Use CMAKE_INSTALL_PREFIX as storage of data,gfx, etc.. Useful only on *nix OS.
if(USE_PREFIX_DATA_DIR)
if ("${CMAKE_SYSTEM_NAME}" MATCHES "(Linux|FreeBSD|Darwin)")
set(CMAKE_INSTALL_DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share/cataclysm-dda")
add_definitions(-DPREFIX=${CMAKE_INSTALL_PREFIX})
configure_file(
"${CMAKE_SOURCE_DIR}/src/prefix.h.in"
"${CMAKE_SOURCE_DIR}/src/prefix.h"
@ONLY)
add_definitions(-DDATA_DIR_PREFIX)
endif ()
else()
set(CMAKE_INSTALL_DATADIR data)
set(CMAKE_INSTALL_DOCDIR . )
set(CMAKE_INSTALL_LOCALEDIR lang)
set(CMAKE_INSTALL_BINDIR . )
endif ()
message(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
message(STATUS "BIN_PREFIX : ${BIN_PREFIX}")
message(STATUS "DATA_PREFIX : ${DATA_PREFIX}")
message(STATUS "CMAKE_INSTALL_BINDIR : ${CMAKE_INSTALL_BINDIR}")
if (LOCALIZE)
message(STATUS "LOCALE_PATH : ${LOCALE_DIR}")
message(STATUS "CMAKE_INSTALL_LOCALEDIR : ${CMAKE_INSTALL_LOCALEDIR}")
endif ()
message(STATUS "DESKTOP_ENTRY_PATH : ${DESKTOP_ENTRY_PATH}")
message(STATUS "PIXMAPS_ENTRY_PATH : ${PIXMAPS_ENTRY_PATH}")
message(STATUS "PIXMAPS_UNITY_ENTRY_PATH : ${PIXMAPS_UNITY_ENTRY_PATH}")
message(STATUS "MANPAGE_ENTRY_PATH : ${MANPAGE_ENTRY_PATH}")
add_definitions(-DRELEASE)
# Use CMAKE_INSTALL_PREFIX as storage of data,gfx, etc.. Useful only on *nix OS.
if (CMAKE_INSTALL_PREFIX AND NOT WIN32 AND USE_PREFIX_DATA_DIR)
add_definitions(-DPREFIX=${CMAKE_INSTALL_PREFIX})
configure_file(
"${CMAKE_SOURCE_DIR}/src/prefix.h.in"
"${CMAKE_SOURCE_DIR}/src/prefix.h"
@ONLY)
add_definitions(-DDATA_DIR_PREFIX)
endif ()
endif ()
message(STATUS "GIT_BINARY : ${GIT_EXECUTABLE}")
@@ -229,6 +204,7 @@ message(STATUS "CURSES : ${CURSES}")
message(STATUS "SOUND : ${SOUND}")
message(STATUS "BACKTRACE : ${BACKTRACE}")
message(STATUS "LOCALIZE : ${LOCALIZE}")
message(STATUS "USE_XDG_DIR : ${USE_XDG_DIR}")
message(STATUS "USE_HOME_DIR : ${USE_HOME_DIR}")
message(STATUS "LANGUAGES : ${LANGUAGES}")
message(STATUS "See doc/COMPILING/COMPILING-CMAKE.md for details and more info --")
@@ -255,11 +231,11 @@ if (NOT MSVC)
if (NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Windows")
set(CATA_WARNINGS "${CATA_WARNINGS} -Wredundant-decls")
endif ()
set(CATA_OTHER_FLAGS "${CATA_OTHER_FLAGS} -fsigned-char")
set(CATA_OTHER_FLAGS "${CATA_OTHER_FLAGS} -fsigned-char -g1")
# Compact the whitespace in the warning string
string(REGEX REPLACE "[\t ]+" " " CATA_WARNINGS "${CATA_WARNINGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CATA_WARNINGS} ${CATA_OTHER_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g")
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g2")
endif ()
set(CMAKE_CXX_STANDARD 17)
@@ -285,8 +261,18 @@ find_package(ZLIB REQUIRED)
if (TILES)
# Find SDL, SDL_ttf & SDL_image for graphical install
message(STATUS "Searching for SDL2 library --")
find_package(SDL2)
if (NOT (SDL2_FOUND OR TARGET SDL2::SDL2))
if (NOT CMAKE_FIND_PACKAGE_PREFER_CONFIG)
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
# ^^ Use sdl2-config.cmake provided by the system or VCPKG
find_package(SDL2)
if(NOT SDL2_FOUND)
# Use our CMakeModules/Find/FindSDL2.cmake
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG OFF)
find_package(SDL2)
endif()
set(CMAKE_FIND_PACKAGE_PREFER_CONFIG OFF)
endif()
if (NOT (SDL2_FOUND OR TARGET SDL2::SDL2 OR TARGET SDL2::SDL2-static))
message(FATAL_ERROR
"This project requires SDL2 to be installed to compile in graphical mode. \
Please install the SDL2 development libraries, \
@@ -294,23 +280,9 @@ if (TILES)
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif ()
if (NOT DYNAMIC_LINKING)
# SDL, SDL_Image, SDL_ttf deps are required for static build
message(STATUS "Searching for SDL deps libraries --")
find_package(Freetype REQUIRED)
find_package(PNG REQUIRED)
find_package(JPEG REQUIRED)
find_package(ZLIB REQUIRED)
find_package(BZip2 REQUIRED)
endif ()
message(STATUS "Searching for SDL2_TTF library --")
if (NOT VCPKG_MANIFEST_MODE)
find_package(SDL2_ttf)
else()
find_package(sdl2-ttf)
endif()
if (NOT (SDL2_TTF_FOUND OR TARGET SDL2::SDL2_ttf OR TARGET SDL2::SDL2_ttf-static))
find_package(SDL2_ttf)
if (NOT (SDL2_TTF_FOUND OR TARGET SDL2::SDL2_ttf OR TARGET SDL2_ttf::SDL2_ttf-static))
message(FATAL_ERROR
"This project requires SDL2_ttf to be installed to compile in graphical mode. \
Please install the SDL2_ttf development libraries, \
@@ -319,12 +291,8 @@ if (TILES)
endif ()
message(STATUS "Searching for SDL2_image library --")
if(VCPKG_MANIFEST_MODE)
find_package(sdl2-image)
else()
find_package(SDL2_image)
endif()
if (NOT (SDL2_IMAGE_FOUND OR TARGET SDL2::SDL2_image))
find_package(SDL2_image)
if (NOT (SDL2_IMAGE_FOUND OR TARGET SDL2::SDL2_image OR TARGET SDL2_image::SDL2_image-static))
message(FATAL_ERROR
"This project requires SDL2_image to be installed to compile in graphical mode. \
Please install the SDL2_image development libraries, \
@@ -362,25 +330,14 @@ if (SOUND)
endif ()
# Sound requires SDL_mixer library
if(VCPKG_MANIFEST_MODE)
message(STATUS "Searching for sdl2-mixer library --")
find_package(sdl2-mixer)
if (NOT TARGET SDL2::SDL2_mixer)
message(FATAL_ERROR
"You need the sdl2-mixer development library \
to be able to compile with sound enabled. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif()
else()
message(STATUS "Searching for SDL2_mixer library --")
find_package(SDL2_mixer)
# if (NOT TARGET SDL2_mixer::SDL2_mixer-static) # TODO x64-mingw-static ?
if (NOT SDL2_MIXER_FOUND)
message(FATAL_ERROR
"You need the SDL2_mixer development library \
to be able to compile with sound enabled. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif()
message(STATUS "Searching for SDL2_mixer library --")
find_package(SDL2_mixer)
if (NOT (SDL2_MIXER_FOUND OR TARGET SDL2_mixer::SDL2_mixer
OR TARGET SDL2_mixer::SDL2_mixer-static))
message(FATAL_ERROR
"You need the SDL2_mixer development library \
to be able to compile with sound enabled. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif()
endif ()
@@ -412,6 +369,10 @@ if (USE_HOME_DIR)
add_definitions(-DUSE_HOME_DIR)
endif ()
if (USE_XDG_DIR)
add_definitions(-DUSE_XDG_DIR)
endif ()
find_program(CCACHE_FOUND ccache)
if (CCACHE_FOUND AND CATA_CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER ccache)
@@ -437,9 +398,7 @@ if (CATA_CLANG_TIDY_PLUGIN OR CATA_CLANG_TIDY_EXECUTABLE)
add_subdirectory(tools/clang-tidy-plugin)
endif()
install(DIRECTORY doc gfx
DESTINATION ${DATA_PREFIX}
)
install(DIRECTORY doc TYPE DOC)
if (RELEASE)
install(FILES
@@ -447,9 +406,15 @@ if (RELEASE)
${CMAKE_SOURCE_DIR}/LICENSE.txt
${CMAKE_SOURCE_DIR}/LICENSE-OFL-Terminus-Font.txt
${CMAKE_SOURCE_DIR}/VERSION.txt
DESTINATION ${README_DIR})
TYPE DOC)
if (TILES)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/gfx DESTINATION ${DATA_PREFIX})
if (USE_PREFIX_DATA_DIR)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/gfx
TYPE DATA)
else()
install(DIRECTORY ${CMAKE_SOURCE_DIR}/gfx
DESTINATION .)
endif()
endif()
endif()
+42 -1
View File
@@ -94,4 +94,45 @@ set(SDL2IMAGE_LIBRARY ${SDL2_IMAGE_LIBRARIES})
set(SDL2IMAGE_INCLUDE_DIR ${SDL2_IMAGE_INCLUDE_DIRS})
set(SDL2IMAGE_FOUND ${SDL2_IMAGE_FOUND})
mark_as_advanced(SDL2_IMAGE_LIBRARY SDL2_IMAGE_INCLUDE_DIR)
mark_as_advanced(SDL2_IMAGE_LIBRARY SDL2_IMAGE_INCLUDE_DIR)
if(NOT DYNAMIC_LINKING AND PKGCONFIG_FOUND)
if (NOT TARGET SDL2_image:SDL2_image-static)
add_library(SDL2_image::SDL2_image-static STATIC IMPORTED)
set_property(TARGET SDL2_image::SDL2_image-static
PROPERTY IMPORTED_LOCATION ${SDL2_IMAGE_LIBRARY}
)
endif()
message(STATUS "Searching for SDL_images deps libraries --")
find_package(JPEG REQUIRED)
find_package(PNG REQUIRED)
find_package(TIFF REQUIRED)
find_library(JBIG jbig REQUIRED)
find_package(LibLZMA REQUIRED)
target_link_libraries(SDL2_image::SDL2_image-static INTERFACE
JPEG::JPEG
PNG::PNG
TIFF::TIFF
${JBIG}
LibLZMA::LibLZMA
${ZSTD}
)
pkg_check_modules(WEBP REQUIRED IMPORTED_TARGET libwebp)
pkg_check_modules(ZIP REQUIRED IMPORTED_TARGET libzip)
pkg_check_modules(ZSTD REQUIRED IMPORTED_TARGET libzstd)
pkg_check_modules(DEFLATE REQUIRED IMPORTED_TARGET libdeflate)
target_link_libraries(SDL2_image::SDL2_image-static INTERFACE
PkgConfig::WEBP
PkgConfig::ZIP
PkgConfig::ZSTD
PkgConfig::DEFLATE
)
elseif(NOT TARGET SDL2_image::SDL2_image)
add_library(SDL2_image::SDL2_image UNKNOWN IMPORTED)
set_property(TARGET SDL2_image::SDL2_image
PROPERTY IMPORTED_LOCATION ${SDL2_IMAGE_LIBRARY}
)
target_link_libraries(SDL2_image::SDL2_image INTERFACE
z
)
endif()
+21 -1
View File
@@ -94,4 +94,24 @@ set(SDL2MIXER_LIBRARY ${SDL2_MIXER_LIBRARIES})
set(SDL2MIXER_INCLUDE_DIR ${SDL2_MIXER_INCLUDE_DIRS})
set(SDL2MIXER_FOUND ${SDL2_MIXER_FOUND})
mark_as_advanced(SDL2_MIXER_LIBRARY SDL2_MIXER_INCLUDE_DIR)
mark_as_advanced(SDL2_MIXER_LIBRARY SDL2_MIXER_INCLUDE_DIR)
if(NOT DYNAMIC_LINKING AND PKGCONFIG_FOUND)
if (NOT TARGET SDL2_mixer::SDL2_mixer-static)
add_library(SDL2_mixer::SDL2_mixer-static STATIC IMPORTED)
set_property(TARGET SDL2_mixer::SDL2_mixer-static
PROPERTY IMPORTED_LOCATION ${SDL2_MIXER_LIBRARY}
)
endif()
message(STATUS "Searching for SDL_mixer deps libraries --")
pkg_check_modules(FLAC REQUIRED IMPORTED_TARGET flac)
target_link_libraries(SDL2_mixer::SDL2_mixer-static INTERFACE
PkgConfig::FLAC
)
elseif(NOT TARGET SDL2_mixer::SDL2_mixer)
add_library(SDL2_mixer::SDL2_mixer STATIC IMPORTED)
set_property(TARGET SDL2_mixer::SDL2_mixer
PROPERTY IMPORTED_LOCATION ${SDL2_MIXER_LIBRARY}
)
endif()
+26 -1
View File
@@ -93,4 +93,29 @@ set(SDL2TTF_LIBRARY ${SDL2_TTF_LIBRARIES})
set(SDL2TTF_INCLUDE_DIR ${SDL2_TTF_INCLUDE_DIRS})
set(SDL2TTF_FOUND ${SDL2_TTF_FOUND})
mark_as_advanced(SDL2_TTF_LIBRARY SDL2_TTF_INCLUDE_DIR)
mark_as_advanced(SDL2_TTF_LIBRARY SDL2_TTF_INCLUDE_DIR)
if (NOT DYNAMIC_LINKING AND PKGCONFIG_FOUND)
if (NOT TARGET SDL2_ttf::SDL2_ttf-static)
add_library(SDL2_ttf::SDL2_ttf-static STATIC IMPORTED)
set_property(TARGET SDL2_ttf::SDL2_ttf-static
PROPERTY IMPORTED_LOCATION ${SDL2_TTF_LIBRARY}
)
endif()
message(STATUS "Searching for SDL_ttf deps libraries --")
find_package(Freetype REQUIRED)
find_package(Harfbuzz REQUIRED)
target_link_libraries(SDL2_ttf::SDL2_ttf-static INTERFACE
Freetype::Freetype
harfbuzz::harfbuzz
)
pkg_check_modules(BROTLI REQUIRED IMPORTED_TARGET libbrotlidec libbrotlicommon)
target_link_libraries(Freetype::Freetype INTERFACE
PkgConfig::BROTLI
)
elseif(NOT TARGET SDL2_ttf::SDL2_ttf)
add_library(SDL2_ttf::SDL2_ttf UNKNOWN IMPORTED)
set_property(TARGET SDL2_ttf::SDL2_ttf
PROPERTY IMPORTED_LOCATION ${SDL2_TTF_LIBRARY}
)
endif()
+51 -56
View File
@@ -1,71 +1,66 @@
{
"version": 3,
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 20,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "Base Build Configuration",
"name": "windows-tiles-sounds-x64-msvc",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"hidden": true
},
{
"name": "windows",
"description": "Windows Build Configuration",
"condition": {
"type": "allOf",
"conditions": [
{
"type": "equals",
"lhs": "$env{MSYSTEM}",
"rhs": ""
},
{
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
]
},
"cacheVariables": {
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/build-scripts"
},
"hidden": true
},
{
"name": "MSVC",
"inherits": [ "windows" ],
"description": "Visual C++ Configuration",
"toolchainFile": "${sourceDir}/build-scripts/MSVC.cmake",
"cacheVariables": {
"displayName": "Windows Tiles Sounds x64 MSVC",
"description": "Target Windows (64-bit) with the Visual Studio development environment.",
"generator": "Visual Studio 16 2019",
"environment": {
"VCPKG_ROOT": "C:/vcpkg"
},
"hidden": true
},
{
"name": "x64-windows-static",
"inherits": [ "base", "MSVC" ],
"description": "Link Statically",
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/${presetName}.cmake",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build-scripts/MSVC.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"DYNAMIC_LINKING": "False"
},
"hidden": true
"DYNAMIC_LINKING": "False", "CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CURSES": "False", "LOCALIZE": "True", "TILES": "True", "SOUND": "True", "TESTS": "False",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "windows-tiles-sounds-x64-msvc",
"inherits": [ "x64-windows-static" ],
"displayName": "Windows Tiles Sounds x64 MSVC",
"description": "Target Windows (64-bit) with the Visual Studio development environment. (RelWithDebInfo)",
"name": "linux-tiles-sounds-x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"displayName": "Linux Tiles Sounds x64",
"description": "Target Linux (64-bit) with the GCC development environment.",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/windows-tiles-sounds-x64-msvc.cmake",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"RELEASE": "True",
"CURSES": "False",
"LOCALIZE": "True",
"TILES": "True",
"SOUND": "True",
"TESTS": "False"
"CMAKE_EXE_LINKER_FLAGS": "-fuse-ld=mold",
"DYNAMIC_LINKING": "False", "CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CURSES": "False", "LOCALIZE": "True", "TILES": "True", "SOUND": "True", "TESTS": "False",
"CMAKE_INSTALL_MESSAGE": "NEVER"
}
},
{
"name": "linux-tiles-sounds-x64-vcpkg",
"inherits": ["linux-tiles-sounds-x64"],
"displayName": "Linux Tiles Sounds x64 VCPKG",
"description": "Target Linux (64-bit) with the GCC development environment and VCPKG.",
"generator": "Ninja Multi-Config",
"environment": {
"VCPKG_ROOT": "/usr/local/vcpkg"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"VCPKG_MANIFEST_DIR": "${sourceDir}/msvc-full-features/"
}
}
],
"buildPresets": [
{
"name": "linux-tiles-sounds-x64",
"configurePreset": "linux-tiles-sounds-x64"
},
{
"name": "linux-tiles-sounds-x64-vcpkg",
"configurePreset": "linux-tiles-sounds-x64-vcpkg"
}
]
}
+57 -37
View File
@@ -21,8 +21,7 @@
# Win32 (non-Cygwin)
# Run: make NATIVE=win32
# OS X
# Run: make NATIVE=osx OSX_MIN=10.13
# The minimum OSX_MIN version supported is 10.13
# Run: make NATIVE=osx
# Build types:
# Debug (no optimizations)
@@ -85,8 +84,10 @@
# make ASTYLE=0
# Disable format check of whitelisted json files.
# make LINTJSON=0
# Disable building and running tests.
# make RUNTESTS=0
# Disable building tests.
# make TESTS=0
# Enable running tests.
# make RUNTESTS=1
# Build source files in order of how often the matching header is included
# make HEADERPOPULARITY=1
@@ -108,7 +109,9 @@ WARNINGS = \
-Wsuggest-override \
-Wunused-macros \
-Wzero-as-null-pointer-constant \
-Wno-unknown-warning-option
-Wno-unknown-warning-option \
-Wno-dangling-reference \
-Wno-c++20-compat
# Uncomment below to disable warnings
#WARNINGS = -w
DEBUGSYMS = -g
@@ -173,9 +176,46 @@ ifndef LINTJSON
LINTJSON = 1
endif
# Enable running tests by default
# We don't want to have both 'check' and 'tests' as targets, because that will
# result in make trying to build the tests twice in parallel, wasting time
# (The tests target will be launched parallel to the check target, and both
# will build the tests executable)
# There are three possible outcomes we expect:
# a. Tests are built and run (check)
# b. Tests are built (tests)
# c. Tests are not built
#
# This table defines the expected behavior for the possible values of TESTS and
# RUNTESTS.
# TESTS defaults to 1, RUNTESTS defaults to 0.
#
# RUNTESTS
# T # | 0 | 1
# E ----------
# S 0 | c | c
# T ----------
# S 1 | b | a
#
# Enable building tests by default
ifndef TESTS
TESTS = 1
endif
# Disable running tests by default
ifndef RUNTESTS
RUNTESTS = 1
RUNTESTS = 0
endif
# Can't run tests if we aren't going to build them
ifeq ($(TESTS), 1)
ifeq ($(RUNTESTS), 1)
# Build and run the tests
TESTSTARGET = check
else
# Only build the tests
TESTSTARGET = tests
endif
endif
ifndef PCH
@@ -248,10 +288,6 @@ ifeq ($(BACKTRACE), 1)
endif
endif
ifeq ($(RUNTESTS), 1)
TESTS = tests
endif
# tiles object directories are because gcc gets confused
# Appears that the default value of $LD is unsuitable on most systems
@@ -524,29 +560,12 @@ endif
# OSX
ifeq ($(NATIVE), osx)
ifeq ($(OSX_MIN),)
ifneq ($(findstring Darwin,$(OS)),)
OSX_MIN = $(shell sw_vers -productVersion | awk -F '.' '{print $$1 "." $$2}')
else
ifneq ($(CLANG), 0)
ifneq ($(SANITIZE),)
# sanitizers does not function properly (e.g. false positive errors) if OSX_MIN < 10.9
# https://github.com/llvm/llvm-project/blob/release/11.x/compiler-rt/CMakeLists.txt#L183
OSX_MIN = 10.9
else
OSX_MIN = 10.7
endif
else
OSX_MIN = 10.5
endif
endif
endif
DEFINES += -DMACOSX
CXXFLAGS += -mmacosx-version-min=$(OSX_MIN)
LDFLAGS += -mmacosx-version-min=$(OSX_MIN) -framework CoreFoundation -Wl,-headerpad_max_install_names
ifeq ($(ARCH),arm64)
CXXFLAGS += -arch arm64
LDFLAGS += -arch arm64
CXXFLAGS += -mmacosx-version-min=10.13
LDFLAGS += -mmacosx-version-min=10.13 -framework CoreFoundation -Wl,-headerpad_max_install_names
ifeq ($(UNIVERSAL_BINARY), 1)
CXXFLAGS += -arch x86_64 -arch arm64
LDFLAGS += -arch x86_64 -arch arm64
endif
ifdef FRAMEWORK
ifeq ($(FRAMEWORKSDIR),)
@@ -838,9 +857,9 @@ THIRD_PARTY_SOURCES := $(wildcard $(SRC_DIR)/third-party/flatbuffers/*.cpp)
HEADERS := $(wildcard $(SRC_DIR)/*.h)
TESTSRC := $(wildcard tests/*.cpp)
TESTHDR := $(wildcard tests/*.h)
JSON_FORMATTER_SOURCES := $(wildcard tools/format/*.cpp) src/json.cpp
JSON_FORMATTER_SOURCES := $(wildcard tools/format/*.cpp) src/wcwidth.cpp src/json.cpp
JSON_FORMATTER_HEADERS := $(wildcard tools/format/*.h)
CHKJSON_SOURCES := $(wildcard src/chkjson/*.cpp) src/json.cpp
CHKJSON_SOURCES := $(wildcard src/chkjson/*.cpp) src/wcwidth.cpp src/json.cpp
CLANG_TIDY_PLUGIN_SOURCES := \
$(wildcard tools/clang-tidy-plugin/*.cpp tools/clang-tidy-plugin/*/*.cpp)
CLANG_TIDY_PLUGIN_HEADERS := \
@@ -928,7 +947,7 @@ endif
LDFLAGS += -lz
all: version prefix $(CHECKS) $(TARGET) $(L10N) $(TESTS)
all: version prefix $(CHECKS) $(TARGET) $(L10N) $(TESTSTARGET)
@
$(TARGET): $(OBJS)
@@ -1226,7 +1245,7 @@ astyle-fast: $(ASTYLE_SOURCES)
echo $(ASTYLE_SOURCES) | xargs -P 0 -L 1 $(ASTYLE_BINARY) --quiet --options=.astylerc -n
astyle-diff: $(ASTYLE_SOURCES)
$(ASTYLE_BINARY) --options=.astylerc -n $$(git diff --name-only src/*.h src/*.cpp tests/*.h tests/*.cpp)
$(ASTYLE_BINARY) --options=.astylerc -n $$(git diff --name-only src/*.h src/*.cpp tests/*.h tests/*.cpp tools/*.h tools/*.cpp)
astyle-all: $(ASTYLE_SOURCES)
$(ASTYLE_BINARY) --options=.astylerc -n $(ASTYLE_SOURCES)
@@ -1288,6 +1307,7 @@ clean-pch:
rm -f pch/*pch.hpp.gch
rm -f pch/*pch.hpp.pch
rm -f pch/*pch.hpp.d
$(MAKE) -C tests clean-pch
.PHONY: tests check ctags etags clean-tests clean-object_creator clean-pch install lint
+5
View File
@@ -22,5 +22,10 @@
<string>1</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSArchitecturePriority</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
</dict>
</plist>
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": 3,
"version": 2,
"buildPresets": [
{
"name": "@BUILD_PRESET_NAME@",
+1 -1
View File
@@ -7,7 +7,7 @@ plugin=build/tools/clang-tidy-plugin/libCataAnalyzerPlugin.so
if [ -f "$plugin" ]
then
LD_PRELOAD=$plugin "$CATA_CLANG_TIDY" "$@"
LD_PRELOAD=$plugin "$CATA_CLANG_TIDY" --enable-check-profile --store-check-profile=clang-tidy-trace "$@"
else
"$CATA_CLANG_TIDY" "$@"
fi
+19 -11
View File
@@ -23,17 +23,9 @@ if [ "$CATA_CLANG_TIDY" = "plugin" ]
then
cmake_extra_opts+=("-DCATA_CLANG_TIDY_PLUGIN=ON")
# Need to specify the particular LLVM / Clang versions to use, lest it
# use the llvm-7 that comes by default on the Travis Xenial image.
cmake_extra_opts+=("-DLLVM_DIR=/usr/lib/llvm-12/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-12/lib/cmake/clang")
fi
if [ "$COMPILER" = "clang++-12" -a -n "$GITHUB_WORKFLOW" -a -n "$CATA_CLANG_TIDY" ]
then
# This is a hacky workaround for the fact that the custom clang-tidy we are
# using is built for Travis CI, so it's not using the correct include directories
# for GitHub workflows.
cmake_extra_opts+=("-DCMAKE_CXX_FLAGS=-isystem /usr/include/clang/12.0.0/include")
# use the older LLVM that comes by default on Ubuntu.
cmake_extra_opts+=("-DLLVM_DIR=/usr/lib/llvm-16/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-16/lib/cmake/clang")
fi
mkdir -p build
@@ -121,6 +113,22 @@ else
fi
fi
printf "Subset to analyze: '%s'\n" "$CATA_CLANG_TIDY_SUBSET"
# We might need to analyze only a subset of the files if they have been split
# into multiple jobs for efficiency. The paths from `compile_commands.json` can
# be absolute but the paths from `get_affected_files.py` are relative, so both
# formats are matched. Exit code 1 from grep (meaning no match) is ignored in
# case one subset contains no file to analyze.
case "$CATA_CLANG_TIDY_SUBSET" in
( src )
tidyable_cpp_files=$(printf '%s\n' "$tidyable_cpp_files" | grep -E '(^|/)src/' || [[ $? == 1 ]])
;;
( other )
tidyable_cpp_files=$(printf '%s\n' "$tidyable_cpp_files" | grep -Ev '(^|/)src/' || [[ $? == 1 ]])
;;
esac
function analyze_files_in_random_order
{
if [ -n "$1" ]
+2 -4
View File
@@ -62,14 +62,12 @@ then
..
make -j$num_jobs
else
# The OSX_MIN version here should match that used in release builds so that
# CI detects issues that will affect releases. It doesn't affect builds on
# other platforms.
make -j "$num_jobs" RELEASE=1 CCACHE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0 OSX_MIN=10.13 FRAMEWORK=1
make -j "$num_jobs" RELEASE=1 CCACHE=1 CROSS="$CROSS_COMPILATION" LINTJSON=0 FRAMEWORK=1 UNIVERSAL_BINARY=1
# For CI on macOS, patch the test binary so it can find SDL2 libraries.
if [[ ! -z "$OS" && "$OS" = "macos-12" ]]
then
file tests/cata_test
install_name_tool -add_rpath $HOME/Library/Frameworks tests/cata_test
fi
fi
+9 -5
View File
@@ -6,10 +6,14 @@ echo "Using bash version $BASH_VERSION"
set -exo pipefail
num_jobs=3
parallel_opts="--verbose --linebuffer"
cata_test_opts="--min-duration 20 --use-colour yes --rng-seed time ${EXTRA_TEST_OPTS}"
[ -z $NUM_TEST_JOBS ] && num_test_jobs=3 || num_test_jobs=$NUM_TEST_JOBS
# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
export PATH=$HOME/.local/bin:$PATH
# export so run_test can read it when executed by parallel
export cata_test_opts
function run_test
{
@@ -19,7 +23,7 @@ function run_test
prefix=$2
shift 2
$WINE "$test_bin" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "$@" 2>&1 | sed -E 's/^(::(warning|error|debug)[^:]*::)?/\1'"$prefix"'/' || test_exit_code="${PIPESTATUS[0]}" sed_exit_code="${PIPESTATUS[1]}"
$WINE "$test_bin" ${cata_test_opts} "$@" 2>&1 | sed -E 's/^(::(warning|error|debug)[^:]*::)?/\1'"$prefix"'/' || test_exit_code="${PIPESTATUS[0]}" sed_exit_code="${PIPESTATUS[1]}"
if [ "$test_exit_code" -ne "0" ]
then
echo "$3test exited with code $test_exit_code"
@@ -46,15 +50,15 @@ then
fi
# Run regular tests
[ -f "${bin_path}cata_test" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
[ -f "${bin_path}cata_test-tiles" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test-tiles' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
[ -f "${bin_path}cata_test" ] && parallel ${parallel_opts} "run_test $(printf %q "${bin_path}")'/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
[ -f "${bin_path}cata_test-tiles" ] && parallel ${parallel_opts} "run_test $(printf %q "${bin_path}")'/cata_test-tiles' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
else
export ASAN_OPTIONS=detect_odr_violation=1
export UBSAN_OPTIONS=print_stacktrace=1
parallel -j "$num_test_jobs" --verbose --linebuffer "run_test './tests/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
parallel -j "$num_test_jobs" ${parallel_opts} "run_test './tests/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
if [ -n "$MODS" ]
then
parallel -j "$num_test_jobs" --verbose --linebuffer "run_test './tests/cata_test' 'Mods-('{}')=> ' $(printf %q "${MODS}") --user-dir=modded_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
parallel -j "$num_test_jobs" ${parallel_opts} "run_test './tests/cata_test' 'Mods-('{}')=> ' $(printf %q "${MODS}") --user-dir=modded_{#} {}" ::: "[slow] ~starting_items" "~[slow] ~[.],starting_items"
fi
if [ -n "$TEST_STAGE" ]
+16 -22
View File
@@ -1,25 +1,19 @@
{
"problemMatcher": [
"problemMatcher": [
{
"owner": "cata-catch2",
"pattern": [
{
"owner": "cata-catch2",
"pattern": [
{
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(?:\\.\\./)*([^:]*):(\\d+): .*FAILED:.*$",
"file": 1,
"line": 2
},
{
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$",
"code": 1
},
{
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(with expansion|due to a fatal error condition):$"
},
{
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$",
"message": 1
}
]
}
]
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(?:\\.\\./)*([^:]*):(\\d+): .*FAILED:.*$",
"file": 1,
"line": 2
},
{ "regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$", "code": 1 },
{
"regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(with expansion|due to a fatal error condition):$"
},
{ "regexp": "(?:\\(.*\\)=>[\\s\\t]*)(?:.\\[[0-9;]+m)*[\\s\\t]*(.+)$", "message": 1 }
]
}
]
}
+18 -22
View File
@@ -1,31 +1,27 @@
cmake_minimum_required(VERSION 3.1.4)
set(CATACLYSM_DATA_DIRS
${CMAKE_SOURCE_DIR}/data/font
${CMAKE_SOURCE_DIR}/data/json
${CMAKE_SOURCE_DIR}/data/mods
${CMAKE_SOURCE_DIR}/data/names
${CMAKE_SOURCE_DIR}/data/raw
${CMAKE_SOURCE_DIR}/data/motd
${CMAKE_SOURCE_DIR}/data/credits
${CMAKE_SOURCE_DIR}/data/title
${CMAKE_SOURCE_DIR}/data/core
${CMAKE_SOURCE_DIR}/data/screenshots
${CMAKE_SOURCE_DIR}/data/xdg
${CMAKE_SOURCE_DIR}/data/help)
font
json
mods
names
raw
motd
credits
title
core
screenshots
xdg
help)
if (SOUND)
set(CATACLYSM_DATA_DIRS
${CATACLYSM_DATA_DIRS}
${CMAKE_SOURCE_DIR}/data/sound)
list(APPEND CATACLYSM_DATA_DIRS sound)
endif ()
set(CATACLYSM_DATA_FILES
${CMAKE_SOURCE_DIR}/data/changelog.txt
${CMAKE_SOURCE_DIR}/data/cataicon.ico
${CMAKE_SOURCE_DIR}/data/fontdata.json)
changelog.txt
cataicon.ico
fontdata.json)
if (RELEASE)
install(DIRECTORY ${CATACLYSM_DATA_DIRS} DESTINATION ${DATA_PREFIX})
install(FILES ${CATACLYSM_DATA_FILES} DESTINATION ${DATA_PREFIX})
install(DIRECTORY ${CATACLYSM_DATA_DIRS} TYPE DATA)
install(FILES ${CATACLYSM_DATA_FILES} TYPE DATA)
endif ()
+158
View File
@@ -3,6 +3,43 @@
## Features:
Tilesets: Automatically prevent occlusions via semi-transparent sprites (similar to retraction)
Add parametric mapgen to consolidate similar basecamp definitions
Activities can fire EOCs
Added full mouse support to the keybindings screen
Prevent attacking neutral critter via move in safemode
Fix and enhance camp radio tower
Added sorting, showing&hiding pocket contents, and scrolling via mouse in inventory screens
New game event that triggers on load or new game start
Add option to hide bionics
Allow JSON monster special attacks to use the dialog condition system
Confirmation before attacking neutral mobs
Unhardcode and rework grabs, ranged pulls
EOCs can have context vars that can be passed into nested EOCs
Pockets overflow into their parent pockets if possible
Stored conditionals for EOCs
Make portal storms mobile.
Reusable Random Encounters Code
Allow mutants to walk underwater
Add support for running and smashing animations
Allow zones to interact across multiple Z levels
Creatures can stumble into invisible players to discover them
Add molting for exoskeleton mutations
3D vision of lower levels with distance fog
Rework MA tech requirements
Allow NPCs to read E-books - new activity added
Allow mutation transformation using the normal mutation rules
Implement setting direction for appliances and add a directed floodlight appliance
Asynchronous animations including sprinting and smashing
Added enable and disable mutation EOCs
3D vision for isometric tilesets
Unhardcode dragging, grab fixes
Make vehicle doors lockable and pickable
Implement export&import of the protagonist and follower NPCs
Expand grain farming and adjust seeds
Creatures above cast shadows onto tiles below
Apply different messages at different effect intensity levels
Player character now can get sick with common cold or flu only after contacts with NPCs or ferals
Generate vehicle prototypes from in-game vehicles
In-game Armor sprite change
## Content:
@@ -11,6 +48,30 @@ Add generic finales for generic mine
Add new boss for physics lab
Add 4 New Apartment Complexes
Add several new bungalows
Updates to several existing maps
Add the first Exodii mission
Combat Capable Mounts
Add new Exodii NPC: Luliya
Add new weather types: mist and fog
Allow players to keep bees
Apartment complex: parking garage, lobby variants, roof additions
Crustacean mutation tree
Dead trees can be harvested for wood(once per tree)
Added a new location called survivor forest camp
Addition of non-NPC civilians for lore reasons
Nether spiders as a new bossfight for the game.
New conversion kits, guns, and calibres
Crashing ship start for Aftershock
Add more monsters to the nether monster corpse
Living lore document
Gastropod Foot Limb: Mutant limbs can be added in json
Added a small office building fortified by bandits
New location: speedway
You can now choose a new leader for your faction without dying
Adds new skateboard vehicle
Most scenarios now provide vision of the nearest city on start
Alternative resolution to clean back bay quest
Add a synagogue
## Interface:
@@ -18,6 +79,16 @@ Show crafting failure chances in the crafting interface
Show addictions from hobbies in newcharacter tab
Added ability to think to yourself in the message log
Added Presets for pocket settings
Prettier loading UI for loading the save
Add min/max feedback to new character stats interface
Mouse thumb button support
Show NPC location when selecting NPC to chat with, guard, or follow
Display why vehicle parts cannot be installed
Open multiple containers in Advanced Inventory Manager
Adds the 'Mark as dangerous' keybinding to the overmap
NPC selects melee style
Add sundial, wind and radiation badge to "spacebar" sidebar
fix widget error if player has no body part
## Mods:
@@ -32,6 +103,25 @@ Added Presets for pocket settings
[Magiclysm Graphical Overmap] Delete Magiclysm Graphical Overmap
[Magiclysm] Another approach to animist summoning
[Xedra Evolved] Add content for dreamsmiths and dreamers
[Bombastic Perks] New mod to earn perks through gameplay
[DinoMod] Integrated mutation armor
[DinoMod] Therizinosaurus
[Xedra Evolved] Museum Location for Xedra Evolved
[Magiclysm] Adds several new professions to the Magiclysm mod
[Bombastic Perks] Added resurrecting meat monstrosities to bombastic perks
[Bombastic Perks] Forcefield and Evasion enchants
[Aftershock] Elemental bionic weapons.
[Bombastic Perks] Adds the recycler perk
[Xedra Evolved] Revamped the inventor class
Alchemy Perks for Xedra Evolved
Bombastic Perks adds Playstyle Perks
[Magiclysm] Ways to boost your caster level
Disable the Bionic Professions mod by default
Add the Mind Over Matter mod to the CDDA repository
[Tamable Wildlife] More tamable creatures
[MoM] Add additional portal storm remnant map extras
[Sky Island] Mainline Sky Island mod
[Magiclysm] Add a spell-using feral human to Magiclysm
## Balance:
@@ -41,6 +131,22 @@ Add denim as a material and buff jeans
Removed scent tracking from certain zombies
Cody can make chainmail armor and charges more
Rework melee, unarmed, dodge, cutting, stabbing, and bashing practice recipes to limit higher level practice actions to books
Remove flaming eye phantom melee attack that can disrupt aim
Converts most of the armor and clothing still using the old limb system to the new system with sub-limbs
partial skill levels contribute to most game tests
Portal Storm Coherency Pass
Stop zomborgs from exploding on death
Add a more accessible holy symbol mission, replacing the small relic one
Most materials now burn at least a little slower than gunpowder
stationary monsters don't let you train throwing to high levels
player can drag heavier vehicles
difficulty to repair depends on what the thing is made of instead of its crafting difficulty
Hound afterimages also copy their host nicknames
The player is substantially less effective with guns at low skill values
Lycra is less protective
BMI has a less all consuming impact on how healthy you are
Being badly wounded will always allow you to swap characters in camp while you heal
Intelligence provides a multiplier to current focus rather than adding to its value
## Bugfixes:
@@ -62,24 +168,76 @@ Fixes mobile home park road connections
Flush map buffers after failing to create starting location
Smart controller supports using only one engine
Disassembly doesn't return items with UNRECOVERABLE flag
Feral cops become zombie cops
Fix wall cling phasing through floors
Add ability to remove plants from planters without destroying planter
Prevent broken vp in-place replacement when racked
Spellcasting tools no longer waste charges if you cancel out and don't actually cast the spell
Fix using unload_everything zone to remove gunmod gets copies of gunmod
Ferals can use their guns in GG
Prevent fire damaging unbreakable items
Fix energy guns(AFS) on NPC
Faction camps now distribute calories based on actual calories and not default calories
Fix calculation for inserting into nested containers
Make copy-from copy terrain/furniture examine actions
Prevent mission marker from being cutoff in the overmap
Exodii will now properly be mad at you if you steal all their resources from stone barns
NPC morale modifiers now updates regularly instead of being permanently applied
Fix UI and accessibility issues in the overmap UI and character creation menu
Fix unicode path encoding error in Windows MinGW build
Difficulty 0 recipes are no longer arbitrarily difficult
Make EOC u_sell_item() actually transfers the items' ownership
Improving NPC shooting frequency
Enable death effects on limited lifespan monsters
Make Hub01 globally unique
Charge integrated magazines when plugged in
Don't allow to scan books that are owned by other characters
Fix NPC putting items in open air when fetching items during an activity when 3D FOV is on
Trees and other FLAMMABLE_ASH terrain leaves behind ash when burned down
Do not report monsters breaking free of unknown grabbers if the player cannot see them
Allows certain docks to be placed on non-flowing shallow and deep water.
Fix the epilogue for the New England Church Community
Flat armor penetration is spread across all armor layers instead of applying its full value to each
Fix tow cables being unable to connect different vehicles
Smashing now incorporates any MELEE_DAMAGE and STRENGTH enchantments
'w'ield menu will now correctly trigger a steal warning when wielding an item that does not belong to player
Allow crafting tools to use linked electricity
Don't get randomly sick anymore
Itemgroups can seal containers
Spawned corpses should now spawn with and contain their clothes
Can no longer get stuck for days thinking about working out if you're a WIMP with NEGATIVE WORKOUT TIME
## Performance:
Make `Character::best_item_with_quality` examine items non-recursively
Refactor effect types to use map indirection and enums instead of strings
Removes the ludicrous amount of OMs the refugee and research centres define
Fix Nested List lag in crafting menu
## Infrastructure:
Epower and power in units::power
Update compiler support. Now supporting gcc 8.1+, clang 10+, XCode 10.1+
Refactor some crafting infrastructure to support removal of charges
Unify gun battery/ups/bionic energy consumption
Modernize string_formatter
Migrate some JSON APIs to string_view
Add units::temperature_delta
Upgrade clang-tidy used in CI to LLVM 16
Allow C++ standard includes in clang-tidy tests
Refactor timer items to be a bit more time based
Support for material replacement in items
Carrier for items on ground is nullptr
Tick_action as a separate thing from use_action
## Build:
Support Mac arm64 build
Adds VS Code Dev Containers & Workspace Config
## I18N and A11Y:
Add percentage-translated statistic to language selection
# 0.G (Gaiman)
+44
View File
@@ -0,0 +1,44 @@
[
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_0",
"info": "Damage indicator string to show for damage level 0",
"stype": "string_input",
"value": "<color_c_green>++</color>"
},
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_1",
"info": "Damage indicator string to show for damage level 1",
"stype": "string_input",
"value": "<color_c_light_green>||</color>"
},
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_2",
"info": "Damage indicator string to show for damage level 2",
"stype": "string_input",
"value": "<color_c_yellow>|\\</color>"
},
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_3",
"info": "Damage indicator string to show for damage level 3",
"stype": "string_input",
"value": "<color_c_light_red>|.</color>"
},
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_4",
"info": "Damage indicator string to show for damage level 4",
"stype": "string_input",
"value": "<color_c_red>\\.</color>"
},
{
"type": "EXTERNAL_OPTION",
"name": "DAMAGE_INDICATOR_LEVEL_5",
"info": "Damage indicator string to show for damage level 5",
"stype": "string_input",
"value": "<color_c_dark_gray>XX</color>"
}
]
+2 -1
View File
@@ -16,7 +16,8 @@
"side": "both",
"base_hp": 60,
"drench_capacity": 1,
"legacy_id": "NUM_BP"
"legacy_id": "NUM_BP",
"sub_parts": [ "sub_limb_debug" ]
},
{
"id": "mx_null",
+1 -1
View File
@@ -5,7 +5,7 @@
"id": "tr_ledge",
"name": "ledge",
"color": "i_cyan",
"memorial_male": { "ctxt": "memorial_female", "str": "Fell down a ledge." },
"memorial_male": { "ctxt": "memorial_male", "str": "Fell down a ledge." },
"memorial_female": { "ctxt": "memorial_female", "str": "Fell down a ledge." },
"symbol": " ",
"visibility": 0,
+3 -3
View File
@@ -25,7 +25,7 @@
<color_yellow>LyleSY</color> - Por más dinosaurios.
<color_yellow>irwiss</color>, <color_yellow>Maleclypse</color>, <color_yellow>Venera3</color>, <color_yellow>MylieDaniels</color>, <color_yellow>andrei8l</color>, <color_yellow>mqrause</color> y <color_yellow>Eltank</color>.
<color_white>Agradecimientos especiales por contribución artística:</color>
<color_white>Agradecimientos especiales por contribución en arte:</color>
<color_yellow>Fris0uman</color>, <color_yellow>Golfavel</color>, <color_yellow>vetall812</color>, <color_yellow>Dandy-boy</color> y muchos más.
<color_white>Para ver la lista completa de colaboradores, por favor, visitá:</color>
@@ -43,13 +43,13 @@
<color_white>Agradecimientos especiales (<color_cyan>0.F</color>):</color>
<color_yellow>Aivean</color> - Por un desempeño asombroso.
<color_yellow>anothersimulacrum</color> - For cansarme.
<color_yellow>anothersimulacrum</color> - Por cansarme.
<color_yellow>jbytheway</color> - Por hacerme conseguir cosas.
<color_yellow>BrettDong</color> - Por las traducciones y otras cosas.
<color_yellow>Qrox</color> - Por mostrar la locación de los mensajes de error.
<color_yellow>LyleSY</color> - Por los dinosaurios.
<color_white>Agradecimiento especial para las contribuciones en arte (<color_cyan>0.F</color>):</color>
<color_white>Agradecimiento especial por contribuciones en arte (<color_cyan>0.F</color>):</color>
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color> y muchos más.
<color_white>Para ver la lista completa de colaboradores, por favor, visitá:</color>
+1 -1
View File
@@ -6,7 +6,7 @@
<color_white>Desarrolladores Principales Actuales:</color>
<color_yellow>I-am-Erk</color> - Ultica, escritura de lore, el tío de las ideas.
<color_yellow>KorGgenT</color> - Peluquero profesional de yaks.
<color_yellow>KorGgenT</color> - Ser un profesional en las interminable series tareas pequeñas.
<color_white>Agradecimientos especiales a:</color>
<color_yellow>anothersimulacrum</color> - Por participar y hacer el trabajo difícil.
+21 -21
View File
@@ -5,28 +5,28 @@
<color_yellow>Whales</color>(<color_dark_gray>отошел от разработки</color>) <color_yellow>KevinGranade</color>
<color_white>Главные разработчики:</color>
<color_yellow>I-am-Erk</color> - Ultica, lore writing, ideas guy.
<color_yellow>KorGgenT</color> - Professional yak shaver.
<color_yellow>I-am-Erk</color> - Ultica, лор, генератор идей.
<color_yellow>KorGgenT</color> - Профессионально стрижет яков.
<color_white>Особая благодарность:</color>
<color_yellow>anothersimulacrum</color> - For stepping in and doing the hard work.
<color_yellow>BombasticSlacks</color> - For fleshing out the armor system and making us sweat.
<color_yellow>Fris0uman</color> - For getting our fridges working.
<color_yellow>John-Candlebury</color> - For Hub01 and all the beautiful maps.
<color_yellow>jbytheway</color> - For parametric mapgen and mutable locations.
<color_yellow>BrettDong</color> - For translations and analyzing weird bugs.
<color_yellow>wapcaplet</color> - For all things sidebar-related.
<color_yellow>ZhilkinSerg</color> - For merging all the things.
<color_yellow>Rivet-the-Zombie</color> - For keeping up the one-merge-per-day record.
<color_yellow>Night-Pryanik</color> - For countless bugfixes and enhancements.
<color_yellow>Qrox</color> - For making the UI infrastructure even better.
<color_yellow>Ramza13</color> - For turning JSON into a turing-complete language.
<color_yellow>Drew4484</color> - For all the steel.
<color_yellow>LyleSY</color> - For even more dinosaurrrs.
<color_yellow>irwiss</color>, <color_yellow>Maleclypse</color>, <color_yellow>Venera3</color>, <color_yellow>MylieDaniels</color>, <color_yellow>andrei8l</color>, <color_yellow>mqrause</color>, and <color_yellow>Eltank</color>.
<color_yellow>anothersimulacrum</color> - влетел и сделал много сложных штук.
<color_yellow>BombasticSlacks</color> - за улучшение системы брони и за то, что заставил нас потеть.
<color_yellow>Fris0uman</color> - За то, что наши холодильники теперь работают.
<color_yellow>John-Candlebury</color> - За Хаб01 и другие прекрасные локации.
<color_yellow>jbytheway</color> - За параметрический генератор карт и изменяемые локации.
<color_yellow>BrettDong</color> - За переводы и разбор сложных багов.
<color_yellow>wapcaplet</color> - За классные штуки для боковой панели.
<color_yellow>ZhilkinSerg</color> - За объединение всех штук.
<color_yellow>Rivet-the-Zombie</color> - за приверженность рекорду "один мердж в день".
<color_yellow>Night-Pryanik</color> - За бесчисленное множество исправлений и улучшений.
<color_yellow>Qrox</color> - За улучшение инфраструктуры UI.
<color_yellow>Ramza13</color> - За превращение JSON в тьюринг-полный язык.
<color_yellow>Drew4484</color> - За всю сталь.
<color_yellow>LyleSY</color> - за еще больше динозавррров.
<color_yellow>irwiss</color>, <color_yellow>Maleclypse</color>, <color_yellow>Venera3</color>, <color_yellow>MylieDaniels</color>, <color_yellow>andrei8l</color>, <color_yellow>mqrause</color>, и <color_yellow>Eltank</color>.
<color_white>Особая благодарность за художественный вклад:</color>
<color_yellow>Fris0uman</color>, <color_yellow>Golfavel</color>, <color_yellow>vetall812</color>, <color_yellow>Dandy-boy</color>, and many more.
<color_yellow>Fris0uman</color>, <color_yellow>Golfavel</color>, <color_yellow>vetall812</color>, <color_yellow>Dandy-boy</color>, и многим другим.
<color_white>Полный список участников разработки доступен здесь:</color>
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
@@ -36,12 +36,12 @@
******************************************************************************
<color_white>Main Developers (<color_cyan>0.F</color>):</color>
<color_white>Главные разработчики (<color_cyan>0.F</color>):</color>
<color_yellow>mlangsdorf</color> - транспорт, лодки, лагеря и руководства по созданию модификаций.
<color_yellow>I-am-Erk</color> - Наследие Ultica живёт.
<color_yellow>KorGgenT</color> - Не даёт подсказок, куда класть доски.
<color_white>Special thanks to (<color_cyan>0.F</color>):</color>
<color_white>Особая благодарность (<color_cyan>0.F</color>):</color>
<color_yellow>Aivean</color> - За выдающуюся производительность.
<color_yellow>anothersimulacrum</color> - За выматывание меня.
<color_yellow>jbytheway</color> - За мотивирование меня.
@@ -49,7 +49,7 @@
<color_yellow>Qrox</color> - За показ места, вызывающего сообщения об ошибках.
<color_yellow>LyleSY</color> - За динозаврррров.
<color_white>Special thanks for art contributions (<color_cyan>0.F</color>):</color>
<color_white>Особая благодарность за художественный вклад (<color_cyan>0.F):</color>
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>, и многим другим.
<color_white>Полный список участников разработки доступен здесь:</color>
+20 -20
View File
@@ -5,28 +5,28 @@
<color_yellow>Whales</color>(<color_dark_gray>不再参与</color>) <color_yellow>KevinGranade</color>
<color_white>当前主要开发者:</color>
<color_yellow>I-am-Erk</color> - Ultica, lore writing, ideas guy.
<color_yellow>KorGgenT</color> - Professional yak shaver.
<color_yellow>I-am-Erk</color> - Ultica贴图包,世界观设定,创意。
<color_yellow>KorGgenT</color> - 专业的细节“理发师”。
<color_white>特别感谢:</color>
<color_yellow>anothersimulacrum</color> - For stepping in and doing the hard work.
<color_yellow>BombasticSlacks</color> - For fleshing out the armor system and making us sweat.
<color_yellow>Fris0uman</color> - For getting our fridges working.
<color_yellow>John-Candlebury</color> - For Hub01 and all the beautiful maps.
<color_yellow>jbytheway</color> - For parametric mapgen and mutable locations.
<color_yellow>BrettDong</color> - For translations and analyzing weird bugs.
<color_yellow>wapcaplet</color> - For all things sidebar-related.
<color_yellow>ZhilkinSerg</color> - For merging all the things.
<color_yellow>Rivet-the-Zombie</color> - For keeping up the one-merge-per-day record.
<color_yellow>Night-Pryanik</color> - For countless bugfixes and enhancements.
<color_yellow>Qrox</color> - For making the UI infrastructure even better.
<color_yellow>Ramza13</color> - For turning JSON into a turing-complete language.
<color_yellow>Drew4484</color> - For all the steel.
<color_yellow>LyleSY</color> - For even more dinosaurrrs.
<color_yellow>irwiss</color>, <color_yellow>Maleclypse</color>, <color_yellow>Venera3</color>, <color_yellow>MylieDaniels</color>, <color_yellow>andrei8l</color>, <color_yellow>mqrause</color>, and <color_yellow>Eltank</color>.
<color_yellow>anothersimulacrum</color> - 中流砥柱。
<color_yellow>BombasticSlacks</color> - 完善了盔甲系统并让我们汗流浃背。
<color_yellow>Fris0uman</color> - 修好了我们家的冰箱(家电系统)。
<color_yellow>John-Candlebury</color> - Hub01以及其它美丽地形。
<color_yellow>jbytheway</color> - 参数化地图生成以及地图变种机制。
<color_yellow>BrettDong</color> - 翻译开发与分析怪异Bug。
<color_yellow>wapcaplet</color> - 关于侧边栏的一切东西。
<color_yellow>ZhilkinSerg</color> - 所有PR基本都是TA合并的。
<color_yellow>Rivet-the-Zombie</color> - “一天合并一PR”记录保持者。
<color_yellow>Night-Pryanik</color> - 无数的bug修复与优化。
<color_yellow>Qrox</color> - 完善用户界面。
<color_yellow>Ramza13</color> - 让JSON也图灵了(EOC系统)。
<color_yellow>Drew4484</color> - 钢铁大户。
<color_yellow>LyleSY</color> - 恐龙专家。
<color_yellow>irwiss</color>, <color_yellow>Maleclypse</color>, <color_yellow>Venera3</color>, <color_yellow>MylieDaniels</color>, <color_yellow>andrei8l</color>, <color_yellow>mqrause</color>, 和<color_yellow>Eltank</color>.
<color_white>特别鸣谢艺术贡献者:</color>
<color_yellow>Fris0uman</color>, <color_yellow>Golfavel</color>, <color_yellow>vetall812</color>, <color_yellow>Dandy-boy</color>, and many more.
<color_yellow>Fris0uman</color>, <color_yellow>Golfavel</color>, <color_yellow>vetall812</color>, <color_yellow>Dandy-boy</color>, 以及其他人。
<color_white>完整贡献者列表请见:</color>
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
@@ -41,7 +41,7 @@
<color_yellow>I-am-Erk</color> - 维护Ultica贴图包
<color_yellow>KorGgenT</color> - 口袋系统与大魔法
<color_white>Special thanks to (<color_cyan>0.F</color>):</color>
<color_white>特别感谢 (<color_cyan>0.F</color>):</color>
<color_yellow>Aivean</color> - 程序优化
<color_yellow>anothersimulacrum</color> - 疲劳系统
<color_yellow>jbytheway2</color> - 成就系统
@@ -49,7 +49,7 @@
<color_yellow>Qrox</color> - 定位并显示游戏程序错误信息
<color_yellow>LyleSY</color> - 恐龙
<color_white>Special thanks for art contributions (<color_cyan>0.F</color>):</color>
<color_white>对艺术贡献的特别感谢 (<color_cyan>0.F</color>):</color>
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>,以及其他贡献者。
<color_white>完整贡献者列表请见:</color>
+3 -3
View File
@@ -11,10 +11,10 @@
<color_white>特別感謝:</color>
<color_yellow>anothersimulacrum</color> - For stepping in and doing the hard work.
<color_yellow>BombasticSlacks</color> - For fleshing out the armor system and making us sweat.
<color_yellow>Fris0uman</color> - For getting our fridges working.
<color_yellow>John-Candlebury</color> - For Hub01 and all the beautiful maps.
<color_yellow>Fris0uman</color> - 負責讓我們的冰箱動起來。
<color_yellow>John-Candlebury</color> - 負責 Hub01 和所有美麗的地圖。
<color_yellow>jbytheway</color> - For parametric mapgen and mutable locations.
<color_yellow>BrettDong</color> - For translations and analyzing weird bugs.
<color_yellow>BrettDong</color> - 負責翻譯和分析奇怪的程式錯誤。
<color_yellow>wapcaplet</color> - For all things sidebar-related.
<color_yellow>ZhilkinSerg</color> - For merging all the things.
<color_yellow>Rivet-the-Zombie</color> - For keeping up the one-merge-per-day record.
+4 -4
View File
@@ -66,7 +66,7 @@
"When you take damage, it will change the status of the affected body part, as shown in the sidebar. Its overall wellness is represented by a series of bars that will deplete and change color the more damage you take. If the accumulated damage is more than the body part can suffer, it will break. If that happens to a critical body part (i.e., your torso or head), you will die. For other body parts, it means broken bones, significant penalties, and a long process of healing - after placing the affected limb in a splint.",
"Normal damage heals with time. You heal more during a good sleep, but wounds also heal a bit while you are awake.",
"You need to treat your wounds properly, because untreated wounds heal very slowly. First, you need to bandage your wounds, and, if possible, disinfect them as well. This will set conditions for proper healing and will result in faster recovery. You can make makeshift bandages if you have the skill, and there are a few options to replenish your stock of disinfectant. Remember to always treat your wounds as much as you can, as this is the proper way to get them healed.",
"You can get bitten if a zombie grabs you. Bite wounds can be deep; this means that it is infected. If that happens, the status bar of affected body part will change color to blue. This means you need to disinfect it as soon as possible to clean the wound and prevent serious infection. If there is no chance of getting disinfectant in the immediate aftermath, you may try the more drastic method of cauterizing the wound, but it often worsens its state instead of helping. If you leave it be, the affected body part will develop a serious infection, and its status bar color will change to green. At this stage, it is too late to disinfect the wound, and you need antibiotics to fight it. Your body will fight the infection by itself, and regular antibiotic intake may keep you alive long enough for that to happen. You have to wait it out, in the hope that you will not die in the process.",
"You can get bitten if a zombie grabs you. Bite wounds can be deep; this means that it is infected. If that happens, the status bar of affected body part will change color to blue. This means you need to disinfect it as soon as possible to clean the wound. If you leave it be, the affected body part will develop a serious infection, and its status bar color will change to green. At this stage, it is too late to disinfect the wound, and you need antibiotics to fight it. Your body will fight the infection by itself, and regular antibiotic intake may keep you alive long enough for that to happen. You have to wait it out, in the hope that you will not die in the process.",
"If you are bleeding, the status bar of the wounded part turns red. The affected body part takes damage as long as it bleeding. The simplest way to stop bleeding is to use a bandage, and there are additional medical items dedicated to stopping hemorrhage.",
"You may be affected by one of many additional medical conditions and maladies throughout the game. In that case, you may want to seek proper medication, if one exists for the affliction you suffer. There are many medications beside the ones already mentioned, some of which have some extra effects that you might utilize even in a way not originally intended. With some skill you can also try natural medicine, as many herbs have more or less beneficial effects, and if you are a seasoned chemist you can synthesize your own drugs."
]
@@ -222,9 +222,9 @@
"messages": [
"You control vehicles using the numpad, or vikeys. Note, however, that you control the vehicle's controls, rather than controlling the vehicle directly.",
"<HELP_DRAW_DIRECTIONS>",
"In order to assume control of a vehicle, get to a location with working \"vehicle controls\" and a \"seat,\" then press <press_control_vehicle>. Once you are in control, <press_UP> accelerates, <press_DOWN> slows or reverses, & <press_LEFT> & <press_RIGHT> turn left or right. Diagonals adjust course and speed. You default to cruise control, so the gas/brake adjust the speed which the vehicle will attempt to maintain.",
"In order to assume control of a vehicle, get to a location with working \"vehicle controls\" and a \"seat,\" then press <press_control_vehicle>. Once you are in control, <press_UP> accelerates, <press_DOWN> slows or reverses, & <press_LEFT> & <press_RIGHT> turn left or right. Diagonals adjust course and speed. The gas/brake adjust the speed which the vehicle will attempt to maintain.",
"10-30 MPH, or 16-48 KPH, is a good speed for beginning drivers, who tend to fumble the controls. As your Driving skill improves, you will fumble less and less. To simply maintain course and speed, hit <press_pause>.",
"It's a good idea to pull the handbrake - \"s\" - when parking, just to be safe. If you want to get out, hit the lights, toggle cruise control, turn the engine on or off, or otherwise use the vehicle controls, press <press_control_vehicle> to bring up the \"Vehicle controls\" menu, which has options for things you'd do from the driver's seat.",
"It's a good idea to pull the handbrake - \"s\" - when parking, just to be safe. If you want to get out, hit the lights, turn the engine on or off, or otherwise use the vehicle controls, press <press_control_vehicle> to bring up the \"Vehicle controls\" menu, which has options for things you'd do from the driver's seat.",
"Examining (<press_examine>) a vehicle brings up the vehicle interaction window. The left pane shows a top-down view of your vehicle and each part of it. The middle pane shows a summary of the vehicle's engines, batteries, storage tanks, weapons, and seating. The right panel is context-sensitive, but normally has descriptions of the vehicle parts in the tile highlighted in the vehicle view on the left.",
"Across the bottom is a summary of the most important parameters of your vehicle. \"Safe speed\" is how fast you can drive without damaging the engine, and \"Top speed\" is how fast you can drive at the engine's maximum output. \"Acceleration\" is how fast your vehicle can increase speed each turn. \"Cargo volume\" is how much cargo you can store and how much stuff you have in your vehicle, \"Mass\" is how much the vehicle weighs, and the \"Status\" and \"Wheels\" readouts give a summary of the vehicle condition and wheel condition. There are also fuel indicators on the lower right that give an estimate of how quickly your fuel will run out.",
"Air drag, water drag, rolling drag, and static drag are all values that influence your vehicle's safe and maximum speed. The interaction of drag and engine power is complicated, but generally speaking, more powerful engines will make your vehicle go faster but also consume fuel faster.",
@@ -239,7 +239,7 @@
"Each boat hull you add to your vehicle increases the height of the vehicle's watertight hull. If the height of the watertight hull is less than the vehicle's draft, then water will flow into your vehicle, and it will sink and be destroyed if it goes into deep water. If your vehicle's draft is less than the height of the watertight hull, your vehicle will not take on water and will not sink in deep water.",
"Draft is determined by the length and width of your vehicle, the mass of your vehicle, and the percentage of the vehicle's underbody covered in boat hulls. In general, a vehicle should be able to float if its mass in tons is less than a quarter of the product of its length and width, provided that the watertight hull is high enough. A boat that is 5 tiles wide and 9 tiles long has a good chance of floating if its entire underbody is covered in boat boards and it weighs less than 10 tons.",
"Increased draft increases water drag, and water drag reduces a vehicle's speed in water. If you want your boat to go fast, make it as light as possible.",
"Amphibious vehicles have both wheels and boat hulls. As long as your amphibious vehicle has enough wheels on land and enough boat hulls to not sink in deep water, you can freely transition from land to water. However, most amphibious vehicles are much slower in water than they are on land, so be careful when entering water to not leave your cruise control speed above your vehicle's safe water speed or you can burn out your engine!"
"Amphibious vehicles have both wheels and boat hulls. As long as your amphibious vehicle has enough wheels on land and enough boat hulls to not sink in deep water, you can freely transition from land to water. However, most amphibious vehicles are much slower in water than they are on land, so be careful when entering water to not leave your speed above your vehicle's safe water speed or you can burn out your engine!"
]
},
{
File diff suppressed because it is too large Load Diff
+160 -11
View File
@@ -8,7 +8,7 @@
"volume": "1 L",
"weight": "1 kg",
"to_hit": -1,
"bashing": 3
"melee_damage": { "bash": 3 }
},
{
"id": "art_rod",
@@ -20,7 +20,7 @@
"weight": "300 g",
"longest_side": "75 cm",
"to_hit": 1,
"bashing": 5
"melee_damage": { "bash": 5 }
},
{
"id": "art_teardrop",
@@ -52,7 +52,7 @@
"weight": "300 g",
"longest_side": "65 cm",
"to_hit": 1,
"bashing": 5
"melee_damage": { "bash": 5 }
},
{
"id": "art_disc",
@@ -63,7 +63,7 @@
"volume": "340 ml",
"weight": "575 g",
"to_hit": -1,
"bashing": 3
"melee_damage": { "bash": 3 }
},
{
"id": "art_beads",
@@ -94,7 +94,7 @@
"volume": "1 L",
"weight": "800 g",
"to_hit": -2,
"cutting": 3
"melee_damage": { "cut": 3 }
},
{
"id": "art_jelly",
@@ -116,7 +116,7 @@
"weight": "300 g",
"longest_side": "30 cm",
"to_hit": -4,
"bashing": 4
"melee_damage": { "bash": 4 }
},
{
"id": "art_pin",
@@ -128,7 +128,7 @@
"weight": "50 mg",
"longest_side": "2 cm",
"to_hit": -5,
"cutting": 1
"melee_damage": { "cut": 1 }
},
{
"id": "art_tube",
@@ -139,7 +139,7 @@
"volume": "188 ml",
"weight": "50 mg",
"longest_side": "15 cm",
"bashing": 3
"melee_damage": { "bash": 3 }
},
{
"id": "art_pyramid",
@@ -150,7 +150,7 @@
"volume": "1 L",
"weight": "1 kg",
"to_hit": -1,
"bashing": 3
"melee_damage": { "bash": 3 }
},
{
"id": "art_crystal",
@@ -161,7 +161,7 @@
"volume": "500 ml",
"weight": "400 g",
"to_hit": -1,
"bashing": 3
"melee_damage": { "bash": 3 }
},
{
"id": "art_knot",
@@ -171,7 +171,7 @@
"symbol": "b",
"volume": "400 ml",
"weight": "400 g",
"bashing": 2
"melee_damage": { "bash": 2 }
},
{
"id": "art_crescent",
@@ -182,5 +182,154 @@
"volume": "35 ml",
"weight": "50 g",
"to_hit": -2
},
{
"id": "art_robe",
"type": "ARMOR",
"copy-from": "robe",
"name": { "str": "royal robe" },
"description": "An ornately decorated robe with an unfamiliar royal symbol on it. The humanoid figure on the seal has two pairs of eyes. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_cloak",
"type": "ARMOR",
"copy-from": "cloak",
"name": { "str": "ancient burial shroud" },
"description": "A cloak of thin, faded cloth. The faint silhouette of a long-dead humanoid is barely visible on it. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_coat",
"type": "ARMOR",
"copy-from": "coat_fur",
"name": { "str": "ornate fur coat" },
"description": "A heavy, finely crafted coat made of the fur of an unidentifiable creature. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_mask",
"type": "ARMOR",
"category": "armor",
"name": { "str": "ancient stone mask" },
"description": "A sinister mask made of a smooth green stone. It is the only one of its kind.\nIt may have unknown powers; try activating them.",
"weight": "750 g",
"volume": "750 ml",
"price": 4000,
"price_postapoc": 10,
"to_hit": -3,
"material": [ "stone" ],
"symbol": "[",
"color": "green",
"warmth": 5,
"material_thickness": 0.2,
"environmental_protection": 1,
"flags": [ "WATER_FRIENDLY" ],
"armor": [ { "encumbrance": 10, "coverage": 95, "covers": [ "eyes", "mouth" ] } ]
},
{
"id": "art_helm",
"type": "ARMOR",
"copy-from": "helmet_bronze",
"name": { "str": "ancient bronze helmet" },
"description": "A helmet with an imposing face plate. Though the corrosion has completely defaced the symbols written on the sides, it seems sturdy. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_gloves",
"type": "ARMOR",
"copy-from": "gloves_leather",
"name": { "str": "pair of ornate leather gloves", "str_pl": "pairs of ornate leather gloves" },
"description": "A set of worn leather gloves embossed with gold. The unidentifiable leather it is made from is oddly soft. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_boots",
"type": "ARMOR",
"copy-from": "boots",
"name": { "str": "pair of ancient leather boots", "str_pl": "pairs of ancient leather boots" },
"description": "A pair of ancient leather boots. Though the flaps of leather are crudely sewn together, the red hue it is dyed with is striking. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_ring",
"type": "ARMOR",
"copy-from": "gold_ring",
"name": { "str": "amber ring" },
"description": "A band of gold with a smooth piece of amber set into it. A strange worm is encased in the amber, making a perfect spiral with its sealed body. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_staff",
"type": "TOOL",
"copy-from": "i_staff",
"name": { "str": "ancient staff" },
"description": "A well-balanced stick of treated wood with metal caps. A red stone is embedded in the handle. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_sword",
"type": "TOOL",
"copy-from": "longsword",
"name": { "str": "ancient sword" },
"description": "A sword made out of a striking black metal. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"type": "TOOL",
"id": "art_harp",
"name": { "str": "ancient harp" },
"category": "tools",
"weight": "3200 g",
"color": "brown",
"to_hit": { "grip": "solid", "length": "long", "surface": "any", "balance": "clumsy" },
"use_action": {
"type": "musical_instrument",
"speed_penalty": 15,
"volume": 0,
"fun": 5,
"fun_bonus": 5,
"description_frequency": 20,
"player_descriptions": [
"You strum a string and the note hangs in the air far longer than you would expect.",
"You improvise a tune on the harp. The sound is beautiful, even if you can't remember what you just played.",
"You pluck a chord on the harp. It doesn't sound anything at all like the sounds of the individual strings."
],
"npc_descriptions": [ "plucks a few notes on the harp, though no sound seems to come." ]
},
"symbol": "7",
"description": "A harp made of black wood. Faint hypnotic notes ring in the air each time you touch it. It is the only one of its kind.\nIt may have unknown powers; try activating them.",
"price": 1000,
"price_postapoc": 250,
"material": [ { "type": "wood", "portion": 19 }, { "type": "steel" } ],
"volume": "6750 ml",
"longest_side": "97 cm",
"flags": [ "FRAGILE_MELEE", "BELTED", "SLEEP_IGNORE" ],
"melee_damage": { "bash": 18 }
},
{
"id": "art_dagger",
"type": "TOOL",
"name": { "str": "ancient athame" },
"//": "Tool qualities equivalent to steak knife, combat equiv. to copper knife + 1 w/ RAPID and BLOCK1, size/weight off combat knife +1",
"description": "A ritual knife used by some ancient civilization. Unreadable runes are carved into the handle. It is the only one of its kind.\nIt may have unknown powers; try activating them.",
"weight": "504 g",
"volume": "500 ml",
"longest_side": "25 cm",
"price": 3000,
"material": [ "wood", "steel" ],
"symbol": ";",
"color": "light_gray",
"techniques": [ "WBLOCK_1", "RAPID" ],
"qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 1 ], [ "BUTCHER", 11 ] ],
"weapon_category": [ "KNIVES" ],
"flags": [ "SHEATH_KNIFE", "TRADER_AVOID" ],
"to_hit": -2,
"melee_damage": { "bash": 2, "stab": 13 }
},
{
"id": "art_spear",
"type": "TOOL",
"copy-from": "spear_steel",
"name": { "str": "ancient spear" },
"description": "A sturdy wooden pole with a sharp metal spike on the end. The handle has the symbol of a blue sun on it. It is the only one of its kind.\nIt may have unknown powers; try activating them."
},
{
"id": "art_club",
"type": "TOOL",
"copy-from": "club_wooden",
"name": { "str": "ancient club" },
"description": "A misshapen rod of gnarled, knotted wood. The knots in the wood exhibit a strange fractal pattern. It is the only one of its kind.\nIt may have unknown powers; try activating them."
}
]
+32 -50
View File
@@ -261,26 +261,23 @@
"type_weights": [
{ "weight": 100, "value": "passive_enchantment_add" },
{ "weight": 100, "value": "active_enchantment" },
{ "weight": 20, "value": "passive_enchantment_mult" }
{ "weight": 100, "value": "passive_enchantment_mult" }
],
"items": [
{ "weight": 100, "item": "art_sphere" },
{ "weight": 100, "item": "art_rod" },
{ "weight": 100, "item": "art_teardrop" },
{ "weight": 100, "item": "art_lamp" },
{ "weight": 100, "item": "art_snake" },
{ "weight": 100, "item": "art_disc" },
{ "weight": 100, "item": "art_beads" },
{ "weight": 100, "item": "art_napkin" },
{ "weight": 100, "item": "art_urchin" },
{ "weight": 100, "item": "art_jelly" },
{ "weight": 100, "item": "art_spiral" },
{ "weight": 100, "item": "art_pin" },
{ "weight": 100, "item": "art_tube" },
{ "weight": 100, "item": "art_pyramid" },
{ "weight": 100, "item": "art_crystal" },
{ "weight": 100, "item": "art_knot" },
{ "weight": 100, "item": "art_crescent" }
{ "weight": 100, "item": "art_robe" },
{ "weight": 100, "item": "art_cloak" },
{ "weight": 100, "item": "art_coat" },
{ "weight": 100, "item": "art_mask" },
{ "weight": 100, "item": "art_helm" },
{ "weight": 100, "item": "art_gloves" },
{ "weight": 100, "item": "art_boots" },
{ "weight": 100, "item": "art_ring" },
{ "weight": 100, "item": "art_staff" },
{ "weight": 100, "item": "art_sword" },
{ "weight": 100, "item": "art_harp" },
{ "weight": 100, "item": "art_dagger" },
{ "weight": 100, "item": "art_spear" },
{ "weight": 100, "item": "art_club" }
]
},
{
@@ -854,23 +851,14 @@
"type": "relic_procgen_data",
"id": "held_passive_bad",
"passive_add_procgen_values": [
{
"weight": 100,
"min_value": 1,
"max_value": 2,
"type": "STRENGTH",
"increment": 1,
"power_per_increment": 250,
"ench_has": "HELD"
},
{ "weight": 100, "min_value": 1, "max_value": 2, "type": "STRENGTH", "increment": 1, "power_per_increment": 250 },
{
"weight": 100,
"min_value": 1,
"max_value": 2,
"type": "DEXTERITY",
"increment": 1,
"power_per_increment": 250,
"ench_has": "HELD"
"power_per_increment": 250
},
{
"weight": 100,
@@ -878,8 +866,7 @@
"max_value": 2,
"type": "PERCEPTION",
"increment": 1,
"power_per_increment": 250,
"ench_has": "HELD"
"power_per_increment": 250
},
{
"weight": 100,
@@ -887,28 +874,18 @@
"max_value": 2,
"type": "INTELLIGENCE",
"increment": 1,
"power_per_increment": 250,
"ench_has": "HELD"
"power_per_increment": 250
}
],
"passive_mult_procgen_values": [
{
"weight": 100,
"min_value": 0.4,
"max_value": 1,
"type": "THIRST",
"increment": 0.1,
"power_per_increment": -50,
"ench_has": "HELD"
},
{ "weight": 100, "min_value": 0.4, "max_value": 1, "type": "THIRST", "increment": 0.1, "power_per_increment": -50 },
{
"weight": 100,
"min_value": 0.5,
"max_value": 1,
"type": "HUNGER",
"increment": 0.1,
"power_per_increment": -100,
"ench_has": "HELD"
"power_per_increment": -100
},
{
"weight": 100,
@@ -916,8 +893,7 @@
"max_value": -0.3,
"type": "REGEN_HP",
"increment": 0.1,
"power_per_increment": 100,
"ench_has": "HELD"
"power_per_increment": 100
},
{
"weight": 100,
@@ -925,8 +901,7 @@
"max_value": 0.8,
"type": "FATIGUE",
"increment": 0.1,
"power_per_increment": -100,
"ench_has": "HELD"
"power_per_increment": -100
}
],
"type_weights": [ { "weight": 100, "value": "passive_enchantment_mult" }, { "weight": 50, "value": "passive_enchantment_add" } ],
@@ -976,7 +951,7 @@
"power_per_increment": -150
}
],
"type_weights": [ { "weight": 10, "value": "passive_enchantment_add" }, { "weight": 100, "value": "active_enchantment" } ],
"type_weights": [ { "weight": 20, "value": "passive_enchantment_add" }, { "weight": 100, "value": "active_enchantment" } ],
"items": [
{ "weight": 20, "item": "violin_golden" },
{ "weight": 100, "item": "altered_phone" },
@@ -984,7 +959,14 @@
{ "weight": 100, "item": "altered_teapot" },
{ "weight": 100, "item": "altered_comb" },
{ "weight": 100, "item": "altered_keyring" },
{ "weight": 100, "item": "altered_rubicks_cube" }
{ "weight": 100, "item": "altered_rubicks_cube" },
{ "weight": 100, "item": "altered_shirt" },
{ "weight": 100, "item": "altered_badge" },
{ "weight": 100, "item": "altered_sunglasses" },
{ "weight": 100, "item": "altered_scissors" },
{ "weight": 100, "item": "altered_jacket" },
{ "weight": 100, "item": "altered_necklace" },
{ "weight": 100, "item": "altered_apron" }
]
},
{
+1 -1
View File
@@ -375,7 +375,7 @@
},
{
"type": "ascii_art",
"id": "mobile_memory_card",
"id": "memory_card",
"picture": [
"",
"",
+1 -1
View File
@@ -1428,7 +1428,7 @@
},
{
"type": "ascii_art",
"id": "m4a1",
"id": "modular_m4a1",
"picture": [
" ",
" ",
+34
View File
@@ -0,0 +1,34 @@
[
{
"id": "bio_taser_spell",
"type": "SPELL",
"name": "Super Stun Gun",
"description": "A blast of electricity from your Super Stun Gun bionic.",
"effect": "attack",
"shape": "blast",
"valid_targets": [ "ally", "hostile" ],
"flags": [ "NO_LEGS", "NO_HANDS", "NO_FAIL", "NO_PROJECTILE" ],
"max_level": 1,
"min_damage": 15,
"max_damage": 15,
"damage_increment": 0,
"min_range": 1,
"max_range": 1,
"range_increment": 0,
"min_aoe": 0,
"max_aoe": 0,
"aoe_increment": 0,
"spell_class": "NONE",
"base_casting_time": 25,
"base_energy_cost": 5,
"energy_source": "BIONIC",
"difficulty": 0,
"sound_description": "a crackle",
"damage_type": "electric",
"sound_type": "combat",
"sound_ambient": false,
"sound_id": "misc",
"sound_variant": "shockwave",
"message": "You discharge energy from your Super Stun Gun."
}
]
+135 -93
View File
@@ -14,9 +14,9 @@
"description": "A thin forcefield surrounds your body, continually draining power. Everything loses velocity when penetrating this field, which results in reduced amount of dealt damage at the cost of your bionic energy. Bullets and stabbing attacks will lose more velocity than cutting attacks and those in turn more than bashing attacks.",
"occupied_bodyparts": [ [ "torso", 10 ], [ "head", 1 ], [ "arm_l", 1 ], [ "arm_r", 1 ], [ "leg_l", 2 ], [ "leg_r", 2 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"act_cost": "10 J",
"react_cost": "10 J",
"trigger_cost": "25kJ",
"act_cost": "1 kJ",
"react_cost": "1 kJ",
"trigger_cost": "10 kJ",
"time": "1 s"
},
{
@@ -28,7 +28,7 @@
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
"act_cost": "1 J",
"react_cost": "1 J",
"trigger_cost": "25 kJ",
"trigger_cost": "5 J",
"time": "1 s"
},
{
@@ -41,22 +41,35 @@
"mutation_conflicts": [ "LEG_TENTACLES", "LEG_TENT_BRACE", "GASTROPOD_FOOT", "GASTROPOD_BALANCE", "AMORPHOUS" ],
"flags": [ "BIONIC_FAULTY" ]
},
{
"id": "bio_ar",
"type": "bionic",
"name": { "str": "Integrated AR System" },
"description": "Extremely thin lenses provide user with augmented reality overlay allowing the user to zoom, and it displays handy information about local topology.",
"//": "Basically implanted contact lenses with AR capabilities",
"occupied_bodyparts": [ [ "eyes", 1 ] ],
"flags": [ "USES_BIONIC_POWER" ],
"mutation_conflicts": [ "COMPOUND_EYES", "CEPH_VISION", "CEPH_EYES", "EYEBULGE", "EYESTALKS1", "EYESTALKS2" ],
"passive_pseudo_items": [ "integrated_ar" ]
},
{
"id": "bio_armor_arms",
"type": "bionic",
"name": { "str": "Arms Alloy Plating" },
"description": "An advanced protective meshwork has been woven into the flesh on your arms and hands, protecting them from physical trauma.",
"occupied_bodyparts": [ [ "arm_l", 4 ], [ "arm_r", 4 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
"bash_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
"cut_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
"bullet_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
"protec": [
[ "arm_l", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "arm_r", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "hand_l", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "hand_r", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ]
],
"encumbrance": [ [ "arm_l", 1 ], [ "arm_r", 1 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
"//": "cant_remove_reason removed for now as these are presently functionally obsolete and characters should be able to remove them to get with the times.",
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
@@ -140,7 +153,15 @@
"FAT",
"SLIME_SPRAY",
"MUCUS_SECRETION",
"MUCUS_SECRETION2"
"MUCUS_SECRETION2",
"SKIN_SMOOTH",
"SKIN_RASHY",
"CHITIN_MOLTED",
"CHITIN2_MOLTED",
"CHITIN3_MOLTED",
"CRUSTACEAN_CARAPACE_MOLTED",
"SPARSE_SCALES",
"SKIN_PEELING"
]
},
{
@@ -159,16 +180,16 @@
"name": { "str": "Head Alloy Plating" },
"description": "An advanced protective meshwork has been woven into the flesh on your head and jaw region, protecting your skull from physical trauma.",
"occupied_bodyparts": [ [ "head", 3 ], [ "mouth", 1 ] ],
"bash_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
"cut_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
"bullet_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
"protec": [
[ "head", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "mouth", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ]
],
"encumbrance": [ [ "head", 1 ] ],
"//": "cant_remove_reason removed for now as these are presently functionally obsolete and characters should be able to remove them to get with the times.",
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
@@ -267,7 +288,15 @@
"SLIME_SPRAY",
"MUCUS_SECRETION",
"MUCUS_SECRETION2",
"WIDE_MOUTH"
"WIDE_MOUTH",
"SKIN_SMOOTH",
"SKIN_RASHY",
"CHITIN_MOLTED",
"CHITIN2_MOLTED",
"CHITIN3_MOLTED",
"CRUSTACEAN_CARAPACE_MOLTED",
"SPARSE_SCALES",
"SKIN_PEELING"
]
},
{
@@ -276,16 +305,18 @@
"name": { "str": "Legs Alloy Plating" },
"description": "An advanced protective meshwork has been woven into the flesh on your legs and feet, protecting them from physical trauma.",
"occupied_bodyparts": [ [ "leg_l", 6 ], [ "leg_r", 6 ], [ "foot_l", 1 ], [ "foot_r", 1 ] ],
"bash_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
"cut_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
"bullet_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
"protec": [
[ "leg_l", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "leg_r", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "foot_l", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ],
[ "foot_r", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ]
],
"encumbrance": [ [ "leg_l", 1 ], [ "leg_r", 1 ], [ "foot_l", 1 ], [ "foot_r", 1 ] ],
"//": "cant_remove_reason removed for now as these are presently functionally obsolete and characters should be able to remove them to get with the times.",
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
@@ -364,7 +395,15 @@
"GASTROPOD_FOOT",
"GASTROPOD_BALANCE",
"MUCUS_SECRETION",
"MUCUS_SECRETION2"
"MUCUS_SECRETION2",
"SKIN_SMOOTH",
"SKIN_RASHY",
"CHITIN_MOLTED",
"CHITIN2_MOLTED",
"CHITIN3_MOLTED",
"CRUSTACEAN_CARAPACE_MOLTED",
"SPARSE_SCALES",
"SKIN_PEELING"
]
},
{
@@ -373,9 +412,7 @@
"name": { "str": "Torso Alloy Plating" },
"description": "An advanced protective meshwork has been woven into the flesh on your torso, protecting it from physical trauma.",
"occupied_bodyparts": [ [ "torso", 10 ] ],
"bash_protec": [ [ "torso", 3 ] ],
"cut_protec": [ [ "torso", 3 ] ],
"bullet_protec": [ [ "torso", 3 ] ],
"protec": [ [ "torso", { "bash": 3, "cut": 3, "bullet": 3, "stab": 3 } ] ],
"encumbrance": [ [ "torso", 1 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"//": "cant_remove_reason removed for now as these are presently functionally obsolete and characters should be able to remove them to get with the times.",
@@ -383,7 +420,6 @@
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
@@ -452,7 +488,15 @@
"SLIME_SPRAY",
"INSECT_RESERVOIR",
"MUCUS_SECRETION",
"MUCUS_SECRETION2"
"MUCUS_SECRETION2",
"SKIN_SMOOTH",
"SKIN_RASHY",
"CHITIN_MOLTED",
"CHITIN2_MOLTED",
"CHITIN3_MOLTED",
"CRUSTACEAN_CARAPACE_MOLTED",
"SPARSE_SCALES",
"SKIN_PEELING"
]
},
{
@@ -493,7 +537,7 @@
"id": "bio_blindfold",
"type": "bionic",
"name": { "str": "Optical Dampers" },
"description": "The lenses surgically installed over your eyes can be tinted to block out incoming light.",
"description": "A pair of lenses surgically installed over your eyes that can be tinted to block out incoming light.",
"included": true,
"flags": [ "BIONIC_TOGGLED" ],
"active_flags": [ "BLIND" ]
@@ -529,7 +573,7 @@
"id": "bio_carbon",
"type": "bionic",
"name": { "str": "Subdermal Carbon Filament" },
"description": "Lying just beneath your skin is a thin armor made of carbon nanotubes. This has little impact on blunt trauma but will protect you against deep cuts.",
"description": "Lying just beneath your skin is a thin armor made of carbon nanotubes. This has no impact on blunt trauma but will protect you against deep cuts.",
"occupied_bodyparts": [
[ "torso", 6 ],
[ "head", 2 ],
@@ -544,42 +588,18 @@
[ "mouth", 1 ]
],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"bash_protec": [
[ "torso", 2 ],
[ "head", 2 ],
[ "mouth", 2 ],
[ "arm_r", 2 ],
[ "leg_l", 2 ],
[ "leg_r", 2 ],
[ "foot_l", 2 ],
[ "foot_r", 2 ],
[ "hand_l", 2 ],
[ "hand_r", 2 ]
],
"cut_protec": [
[ "torso", 4 ],
[ "head", 4 ],
[ "mouth", 4 ],
[ "arm_l", 4 ],
[ "arm_r", 4 ],
[ "leg_l", 4 ],
[ "leg_r", 4 ],
[ "foot_l", 4 ],
[ "foot_r", 4 ],
[ "hand_l", 4 ],
[ "hand_r", 4 ]
],
"bullet_protec": [
[ "torso", 4 ],
[ "head", 4 ],
[ "mouth", 4 ],
[ "arm_r", 4 ],
[ "leg_l", 4 ],
[ "leg_r", 4 ],
[ "foot_l", 4 ],
[ "foot_r", 4 ],
[ "hand_l", 4 ],
[ "hand_r", 4 ]
"protec": [
[ "torso", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "head", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "mouth", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "arm_l", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "arm_r", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "leg_l", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "leg_r", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "foot_l", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "foot_r", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "hand_l", { "cut": 4, "bullet": 4, "stab": 4 } ],
[ "hand_r", { "cut": 4, "bullet": 4, "stab": 4 } ]
]
},
{
@@ -588,9 +608,8 @@
"name": { "str": "Chain Lightning" },
"description": "Your body is equipped with a chain lightning generator, allowing you to emit a blast of lightning at a target, leaving a trail of lightning in its wake, jumping to additional targets within 4 tiles of the previous target.",
"occupied_bodyparts": [ [ "torso", 16 ], [ "arm_l", 4 ] ],
"act_cost": "100 kJ",
"fake_weapon": "bio_lightning",
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE", "USES_BIONIC_POWER" ]
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE" ]
},
{
"id": "bio_claws",
@@ -816,9 +835,8 @@
"name": { "str": "EMP Projector" },
"description": "A ranged EMP generator system is implanted in your right arm and the palm of your right hand. The system fires precise, single-target pulses that require time to aim. Extremely effective against electronic targets but mostly useless otherwise.",
"occupied_bodyparts": [ [ "arm_r", 8 ], [ "hand_r", 2 ] ],
"act_cost": "50 kJ",
"fake_weapon": "bio_emp_gun",
"flags": [ "BIONIC_GUN", "USES_BIONIC_POWER" ]
"flags": [ "BIONIC_GUN" ]
},
{
"id": "bio_ethanol",
@@ -959,11 +977,26 @@
"name": { "str": "Cranial Flashlight" },
"description": "Surgically mounted between your eyes is a small but powerful LED flashlight.",
"occupied_bodyparts": [ [ "head", 1 ] ],
"act_cost": "3 J",
"react_cost": "3 J",
"act_cost": "2 J",
"react_cost": "2 J",
"time": "1 s",
"flags": [ "BIONIC_TOGGLED" ],
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "LUMINATION", "add": 60 } ] } ]
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "LUMINATION", "add": 60 } ] } ],
"auto_deactivates": [ "bio_flashlight_highmode" ],
"included_bionics": [ "bio_flashlight_highmode" ]
},
{
"id": "bio_flashlight_highmode",
"type": "bionic",
"name": { "str": "Ultrabright Flashlight" },
"description": "You can greatly intensify the power of your bionic flashlight to be much brighter at a much higher power cost.",
"act_cost": "15 J",
"react_cost": "15 J",
"time": "1 s",
"included": true,
"flags": [ "BIONIC_TOGGLED" ],
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "LUMINATION", "add": 500 } ] } ],
"auto_deactivates": [ "bio_flashlight" ]
},
{
"id": "bio_tattoo_led",
@@ -1083,6 +1116,7 @@
"type": "bionic",
"name": { "str": "Cerebral Booster" },
"description": "Your brain has been enhanced with bionic coprocessors, giving you a +2 bonus to intelligence.",
"cant_remove_reason": "The bionic is now critical to the continued functionality of the user's brain.",
"occupied_bodyparts": [ [ "head", 6 ] ],
"stat_bonus": [ [ "INT", 2 ] ],
"flags": [ "BIONIC_NPC_USABLE" ]
@@ -1101,9 +1135,8 @@
"name": { "str": "Finger-Mounted Laser" },
"description": "One of your fingers has a small high-powered laser surgically embedded in it. This long range weapon is not incredibly damaging, but is very accurate, and has the potential to start fires.",
"occupied_bodyparts": [ [ "hand_r", 1 ] ],
"act_cost": "30 kJ",
"fake_weapon": "bio_laser_gun",
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE", "USES_BIONIC_POWER" ]
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE" ]
},
{
"id": "bio_leaky",
@@ -1175,6 +1208,7 @@
"description": "Your memory has been enhanced with small quantum storage drives. While active, you learn - both through reading and practice - more quickly. Additionally, you forget skills you've learned slower.",
"occupied_bodyparts": [ [ "head", 3 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
"cant_remove_reason": "Removing this CBM would cause severe amnesia and neurological issues.",
"active_flags": [ "CBQ_LEARN_BONUS" ],
"act_cost": "2 J",
"react_cost": "2 J",
@@ -1299,26 +1333,6 @@
"encumbrance": [ [ "eyes", 10 ] ],
"flags": [ "BIONIC_FAULTY" ]
},
{
"id": "bio_power_armor_interface",
"type": "bionic",
"name": { "str": "Power Armor Interface" },
"description": "Interfaces your power system with the internal charging port on suits of power armor, allowing them to draw from your bionic power banks.",
"occupied_bodyparts": [ [ "torso", 4 ], [ "head", 1 ] ],
"flags": [ "BIONIC_ARMOR_INTERFACE", "BIONIC_TOGGLED" ],
"react_cost": 1,
"time": "1 s"
},
{
"id": "bio_power_armor_interface_mkII",
"type": "bionic",
"name": { "str": "Power Armor Interface Mk. II" },
"description": "Interfaces your power system with the internal charging port on suits of power armor, allowing them to draw from your bionic power banks. Twice as efficient as the Mk. I model.",
"occupied_bodyparts": [ [ "torso", 3 ], [ "head", 2 ] ],
"flags": [ "BIONIC_ARMOR_INTERFACE", "BIONIC_TOGGLED" ],
"react_cost": 1,
"time": "2 s"
},
{
"id": "bio_power_storage",
"type": "bionic",
@@ -1366,6 +1380,15 @@
"env_protec": [ [ "mouth", 15 ] ],
"flags": [ "BIONIC_NPC_USABLE" ]
},
{
"id": "bio_radio",
"type": "bionic",
"name": { "str": "Infolink" },
"description": "A compact communications device has been built into your ears, enabling you to communicate over radio waves.",
"occupied_bodyparts": [ [ "head", 2 ] ],
"flags": [ "BIONIC_NPC_USABLE" ],
"passive_pseudo_items": [ "fake_radio" ]
},
{
"id": "bio_radscrubber",
"type": "bionic",
@@ -1559,6 +1582,16 @@
"flags": [ "BIONIC_NPC_USABLE" ],
"enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "WEAPON_DISPERSION", "multiply": -0.25 } ] } ]
},
{
"id": "bio_taser",
"type": "bionic",
"name": { "str": "Super Stun Gun" },
"description": "You have a powerful stun gun built into your hand. Activate to zap an adjacent enemy.",
"occupied_bodyparts": [ [ "hand_r", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE" ],
"spell_on_activation": { "id": "bio_taser_spell" },
"activated_close_ui": true
},
{
"id": "bio_teleport",
"type": "bionic",
@@ -1679,7 +1712,9 @@
"occupied_bodyparts": [ [ "torso", 2 ], [ "mouth", 1 ] ],
"flags": [ "BIONIC_FAULTY" ],
"social_modifiers": { "persuade": -20, "lie": 10, "intimidate": 20 },
"canceled_mutations": [ "GROWL", "SNARL", "HISS", "CROAK" ]
"//": "bird mutants might have an entirely different vocal chord structure rather than just a different tone of voice",
"canceled_mutations": [ "GROWL", "SNARL", "HISS", "CROAK" ],
"mutation_conflicts": [ "SCREECH" ]
},
{
"id": "bio_watch",
@@ -1723,10 +1758,17 @@
"id": "bio_weight",
"type": "bionic",
"name": { "str": "Titanium Skeletal Bracing" },
"description": "Titanium bracing has been installed onto your elbows, knees, and spine, making them far better at handling strain. Your carrying capacity is increased by 20 kilograms, or about 44 pounds.",
"description": "Titanium bracing has been installed onto your elbows, knees, and spine, making them far better at handling strain. Your carrying capacity is increased by 20 kilograms, or about 44 pounds, and you receive slightly less bashing damage to your arms, legs and torso.",
"occupied_bodyparts": [ [ "torso", 8 ], [ "arm_l", 3 ], [ "arm_r", 3 ], [ "leg_l", 3 ], [ "leg_r", 3 ] ],
"weight_capacity_bonus": "20 kg",
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"protec": [
[ "torso", { "bash": 2 } ],
[ "arm_l", { "bash": 2 } ],
[ "arm_r", { "bash": 2 } ],
[ "leg_l", { "bash": 2 } ],
[ "leg_r", { "bash": 2 } ]
],
"mutation_conflicts": [
"AMORPHOUS",
"BENDY2",
+103 -5
View File
@@ -14,7 +14,6 @@
"limb_type": "torso",
"limb_scores": [ [ "balance", 0.7 ] ],
"encumbrance_threshold": 6,
"encumb_impacts_dodge": true,
"is_vital": true,
"hit_size": 36,
"hit_difficulty": 1,
@@ -109,6 +108,97 @@
],
"sub_parts": [ "torso_upper", "torso_neck", "torso_lower", "torso_hanging_front", "torso_hanging_back", "torso_waist" ]
},
{
"id": "big_head",
"type": "body_part",
"name": "big head",
"accusative": { "ctxt": "bodypart_accusative", "str": "head" },
"heading": "big head",
"heading_multiple": "big heads",
"hp_bar_ui_text": "HEAD",
"encumbrance_text": "Dodging and blocking is hampered.",
"encumbrance_threshold": 10,
"main_part": "big_head",
"connected_to": "big_head",
"opposite_part": "big_head",
"limb_type": "head",
"limb_scores": [ [ "reaction", 0.3 ] ],
"is_vital": true,
"hit_size": 4,
"hit_difficulty": 1.2,
"side": "both",
"stylish_bonus": 3,
"hot_morale_mod": 2,
"cold_morale_mod": 2,
"fire_warmth_bonus": 150,
"squeamish_penalty": 7,
"base_hp": 60,
"drench_capacity": 700,
"smash_message": "You smash the %s with a firm headbutt.",
"smash_efficiency": 0.25,
"bionic_slots": 18,
"flags": [ "LIMB_UPPER" ],
"sub_parts": [ "head_forehead", "head_crown", "head_nape", "head_throat", "head_ear_r", "head_ear_l" ],
"encumbrance_per_weight": [
{ "weight": "1 mg", "encumbrance": 1 },
{ "weight": "300 g", "encumbrance": 4 },
{ "weight": "800 g", "encumbrance": 8 },
{ "weight": "1300 g", "encumbrance": 20 },
{ "weight": "1600 g", "encumbrance": 30 },
{ "weight": "2200 g", "encumbrance": 50 },
{ "weight": "5600 g", "encumbrance": 80 },
{ "weight": "10000 g", "encumbrance": 160 }
],
"effects_on_hit": [
{
"id": "bleed",
"dmg_type": "cut",
"dmg_threshold": 5,
"dmg_scale_increment": 2,
"duration": 60,
"duration_dmg_scaling": 30,
"max_duration": 960
},
{
"id": "bleed",
"dmg_type": "stab",
"dmg_threshold": 1,
"dmg_scale_increment": 1.5,
"duration": 60,
"duration_dmg_scaling": 60,
"max_duration": 1200
},
{
"id": "bleed",
"dmg_type": "bullet",
"dmg_threshold": 1,
"dmg_scale_increment": 1,
"duration": 60,
"duration_dmg_scaling": 60
},
{
"id": "stunned",
"dmg_type": "bash",
"dmg_threshold": 10,
"dmg_scale_increment": 5,
"chance": 10,
"chance_dmg_scaling": 10,
"duration": 1,
"duration_dmg_scaling": 0.5,
"max_duration": 4
},
{
"id": "stunned",
"dmg_threshold": 30,
"dmg_scale_increment": 10,
"chance": 10,
"chance_dmg_scaling": 10,
"duration": 1,
"duration_dmg_scaling": 0.5,
"max_duration": 4
}
]
},
{
"id": "head",
"type": "body_part",
@@ -218,6 +308,7 @@
"limb_scores": [ [ "vision", 1.0 ], [ "night_vis", 1.0 ], [ "reaction", 0.7 ] ],
"side": "both",
"legacy_id": "EYES",
"//": "Shouldn't happen, but consistency is nice",
"stylish_bonus": 2,
"squeamish_penalty": 8,
"base_hp": 60,
@@ -519,7 +610,6 @@
"hit_difficulty": 0.9,
"limb_type": "leg",
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ], [ "block", 1 ], [ "crawl", 0.2 ] ],
"encumb_impacts_dodge": true,
"side": "left",
"legacy_id": "LEG_L",
"stylish_bonus": 1,
@@ -613,7 +703,6 @@
"hit_difficulty": 0.9,
"limb_type": "leg",
"limb_scores": [ [ "manip", 0.1, 0.2 ], [ "move_speed", 0.5 ], [ "swim", 0.15 ], [ "block", 1 ], [ "crawl", 0.2 ] ],
"encumb_impacts_dodge": true,
"side": "right",
"legacy_id": "LEG_R",
"stylish_bonus": 1,
@@ -783,16 +872,25 @@
"temp_mod": [ 500, 500 ],
"technique_encumbrance_limit": 10,
"bmi_encumbrance_threshold": 15,
"bmi_encumbrance_scalar": 0.5
"bmi_encumbrance_scalar": 0.5,
"sub_parts": [ "sub_limb_debug_tail" ]
},
{
"id": "sub_limb_debug",
"type": "sub_body_part",
"parent": "debug_tail",
"parent": "bp_null",
"side": 0,
"opposite": "sub_limb_debug",
"name": "debug limb should never be seen"
},
{
"id": "sub_limb_debug_tail",
"type": "sub_body_part",
"parent": "debug_tail",
"side": 0,
"opposite": "sub_limb_debug_tail",
"name": "debug limb for debug tail"
},
{
"id": "torso_upper",
"type": "sub_body_part",
+20 -5
View File
@@ -16,9 +16,9 @@
{
"type": "character_mod",
"id": "aim_speed_mod",
"description": "Gun aim speed modifier <color_dark_gray>(Manipulation)</color>",
"description": "Gun aim speed modifier <color_dark_gray>(Manipulation, Grip, Lift)</color> ",
"mod_type": "x",
"value": { "limb_score": "manip", "limb_type": "hand" }
"value": { "limb_score": [ [ "grip", 0.2 ], [ "manip", 0.2 ], [ "lift", 0.6 ] ], "limb_score_op": "+", "min": 0.1, "max": 1.0 }
},
{
"type": "character_mod",
@@ -69,6 +69,21 @@
"mod_type": "+",
"value": { "limb_score": "vision", "max": 10000.0, "nominator": 30.0, "subtract": 30.0 }
},
{
"type": "character_mod",
"id": "move_mode_move_cost_mod",
"description": "Move mode move cost modifier",
"mod_type": "x",
"value": { "builtin": "move_mode_move_cost_modifier" }
},
{
"id": "grab_break_limb_mod",
"type": "character_mod",
"description": "Grab break success modifier",
"mod_type": "x",
"//": "Major limb scores - grip would be nice but unless",
"value": { "limb_score": [ "balance", [ "lift", 2 ], "move_speed", "grip" ], "limb_score_op": "x", "min": 0.1, "max": 0.9 }
},
{
"type": "character_mod",
"id": "stamina_move_cost_mod",
@@ -93,7 +108,7 @@
{
"type": "character_mod",
"id": "limb_speed_movecost_mod",
"description": "Limb speed move cost modifier <color_dark_gray>(Movement Speed)</color>",
"description": "Limb speed move cost modifier <color_dark_gray>(Movement)</color>",
"mod_type": "x",
"value": { "limb_score": "move_speed", "max": "max_move_cost", "nominator": 1.0 }
},
@@ -126,7 +141,7 @@
{
"type": "character_mod",
"id": "obstacle_climb_mod",
"description": "Obstacle climb modifier <color_dark_gray>(Crawl, Grip, Lift)</color>",
"description": "Obstacle climb modifier <color_dark_gray>(Crawling, Grip, Lift)</color>",
"mod_type": "x",
"value": {
"limb_score": [ [ "crawl", 3.0 ], [ "grip", 2.0 ], "lift" ],
@@ -173,7 +188,7 @@
{
"type": "character_mod",
"id": "limb_dodge_mod",
"description": "Dodge chance modifier <color_dark_gray>(Balance, Move Speed, Footing)</color>",
"description": "Dodge chance modifier <color_dark_gray>(Balance, Movement, Footing)</color>",
"mod_type": "x",
"value": {
"limb_score": [ [ "balance", 1.5 ], "move_speed", "footing" ],
+32
View File
@@ -33,6 +33,10 @@
"type": "connect_group",
"id": "PAVEMENT_MARKING"
},
{
"type": "connect_group",
"id": "PAVEMENT_ZEBRA"
},
{
"type": "connect_group",
"id": "RAIL"
@@ -49,6 +53,14 @@
"type": "connect_group",
"id": "SAND"
},
{
"type": "connect_group",
"id": "SANDMOUND"
},
{
"type": "connect_group",
"id": "SANDGLASS"
},
{
"type": "connect_group",
"id": "PIT_DEEP"
@@ -65,14 +77,34 @@
"type": "connect_group",
"id": "CONCRETE"
},
{
"type": "connect_group",
"id": "BRICKFLOOR"
},
{
"type": "connect_group",
"id": "MARBLEFLOOR"
},
{
"type": "connect_group",
"id": "CLAY"
},
{
"type": "connect_group",
"id": "CLAYMOUND"
},
{
"type": "connect_group",
"id": "DIRT"
},
{
"type": "connect_group",
"id": "DIRTMOUND"
},
{
"type": "connect_group",
"id": "MUD"
},
{
"type": "connect_group",
"id": "ROCKFLOOR"
+491 -80
View File
@@ -217,6 +217,18 @@
"pre_terrain": "t_door_frame",
"post_terrain": "t_door_c"
},
{
"type": "construction",
"id": "constr_excavate_forestfloor",
"group": "constr_excavate_forestfloor",
"category": "CONSTRUCT",
"required_skills": [ [ "survival", 1 ] ],
"time": "5 m",
"qualities": [ [ { "id": "DIG", "level": 1 } ] ],
"byproducts": [ { "item": "twig", "count": [ 2, 10 ] }, { "item": "leaves", "count": [ 10, 50 ] } ],
"pre_terrain": "t_forestfloor",
"post_terrain": "t_dirt"
},
{
"type": "construction",
"id": "constr_fill_water_sh",
@@ -1020,6 +1032,32 @@
"pre_terrain": "f_earthbag_half",
"post_terrain": "f_earthbag_wall"
},
{
"type": "construction",
"id": "constr_showjump_end",
"group": "build_showjump_end",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
"time": "30 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
"components": [ [ [ "pointy_stick", 4 ], [ "spear_wood", 4 ], [ "pointy_stick_long", 4 ] ], [ [ "2x4", 4 ] ], [ [ "nail", 20 ] ] ],
"pre_flags": "DIGGABLE",
"pre_special": "check_empty",
"post_terrain": "f_showjump_end"
},
{
"type": "construction",
"id": "constr_showjump",
"group": "build_showjump",
"category": "CONSTRUCT",
"difficulty": 0,
"time": "10 s",
"components": [ [ [ "long_pole", 1 ] ] ],
"dark_craftable": true,
"pre_note": "Can be deconstructed without tools.",
"pre_special": "check_empty",
"post_terrain": "f_showjump"
},
{
"type": "construction",
"id": "constr_scrap_wall_halfway",
@@ -1289,7 +1327,8 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "120 m",
"using": [ [ "welding_standard", 2 ] ],
"//1": "4cm of weld per rebar",
"using": [ [ "welding_standard", 64 ] ],
"components": [ [ [ "rebar", 16 ] ] ],
"pre_terrain": "t_pit",
"post_terrain": "t_reb_cage"
@@ -1301,8 +1340,9 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "420 m",
"using": [ [ "welding_standard", 2 ] ],
"components": [ [ [ "pipe", 36 ] ] ],
"//1": "3cm of weld per pipe",
"using": [ [ "welding_standard", 108 ] ],
"components": [ [ [ "pipe", 36 ] ], [ [ "pipe_fittings", 12 ] ] ],
"pre_terrain": "t_pit",
"post_terrain": "f_parkour_bars"
},
@@ -1356,7 +1396,8 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "120 m",
"using": [ [ "welding_standard", 2 ] ],
"//1": "4cm of weld per rebar",
"using": [ [ "welding_standard", 64 ] ],
"components": [ [ [ "rebar", 16 ] ] ],
"pre_terrain": "t_pit",
"post_terrain": "t_reb_cage"
@@ -1411,8 +1452,8 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 5 ] ],
"time": "120 m",
"using": [ [ "welding_standard", 2 ] ],
"components": [ [ [ "rebar", 8 ] ], [ [ "2x4", 12 ] ], [ [ "pipe", 4 ] ] ],
"using": [ [ "welding_standard", 60 ] ],
"components": [ [ [ "rebar", 8 ] ], [ [ "2x4", 12 ] ], [ [ "pipe", 4 ] ], [ [ "pipe_fittings", 2 ] ] ],
"pre_terrain": "t_pit_shallow",
"post_terrain": "t_ov_smreb_cage"
},
@@ -1438,7 +1479,8 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "180 m",
"using": [ [ "welding_standard", 2 ] ],
"using": [ [ "welding_standard", 60 ] ],
"//1": "4cm of weld per rebar and 3cm per pipe",
"components": [ [ [ "rebar", 12 ] ], [ [ "2x4", 12 ] ], [ [ "pipe", 4 ] ] ],
"pre_terrain": "t_pit",
"post_terrain": "t_ov_reb_cage"
@@ -2184,6 +2226,18 @@
"pre_special": "check_empty",
"post_terrain": "f_counter"
},
{
"type": "construction",
"id": "constr_chest",
"group": "build_chest",
"category": "FURN",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "80 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 1 } ] ],
"components": [ [ [ "wood_panel", 6 ] ], [ [ "hinge", 2 ] ], [ [ "nail", 10 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_chest"
},
{
"type": "construction",
"id": "constr_table",
@@ -2352,7 +2406,7 @@
"category": "FURN",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "mattress", 1 ], [ "down_mattress", 1 ] ] ],
"components": [ [ [ "mattress", 1 ] ] ],
"pre_terrain": "f_bed_frame",
"post_terrain": "f_bed"
},
@@ -2364,15 +2418,45 @@
"required_skills": [ [ "fabrication", 4 ] ],
"time": "70 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 1 } ] ],
"components": [
[ [ "2x4", 16 ], [ "wood_panel", 4 ] ],
[ [ "2x4", 2 ] ],
[ [ "nail", 20 ] ],
[ [ "mattress", 1 ], [ "down_mattress", 1 ] ]
],
"components": [ [ [ "2x4", 16 ], [ "wood_panel", 4 ] ], [ [ "2x4", 2 ] ], [ [ "nail", 20 ] ], [ [ "mattress", 1 ] ] ],
"pre_terrain": "f_bed",
"post_terrain": "f_bunkbed"
},
{
"type": "construction",
"id": "constr_down_bed_frame",
"group": "build_down_bed",
"category": "FURN",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "55 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 1 } ] ],
"components": [ [ [ "2x4", 12 ] ], [ [ "nail", 10 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_bed_frame"
},
{
"type": "construction",
"id": "constr_finish_down_bed",
"group": "build_down_bed",
"category": "FURN",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "down_mattress", 1 ] ] ],
"pre_terrain": "f_bed_frame",
"post_terrain": "f_bed_down"
},
{
"type": "construction",
"id": "constr_down_bunkbed",
"group": "build_down_bed",
"category": "FURN",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "70 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 1 } ] ],
"components": [ [ [ "2x4", 16 ], [ "wood_panel", 4 ] ], [ [ "2x4", 2 ] ], [ [ "nail", 20 ] ], [ [ "down_mattress", 1 ] ] ],
"pre_terrain": "f_bed_down",
"post_terrain": "f_bunkbed_down"
},
{
"type": "construction",
"id": "constr_armchair",
@@ -2433,6 +2517,23 @@
"pre_special": "check_empty",
"post_terrain": "f_fvat_empty"
},
{
"type": "construction",
"id": "constr_fvat_wood_empty",
"group": "build_wooden_fermenting_vat",
"category": "FURN",
"required_skills": [ [ "fabrication", 2 ], [ "cooking", 3 ] ],
"time": "180 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 1 } ], [ { "id": "CHISEL_WOOD", "level": 1 } ] ],
"components": [
[ [ "2x4", 14 ] ],
[ [ "stick_long", 6 ] ],
[ [ "rope_makeshift_30", 1 ], [ "rope_makeshift_6", 5 ], [ "cordage_36", 30 ], [ "cordage_6", 180 ] ],
[ [ "splinter", 2 ] ]
],
"pre_special": "check_empty",
"post_terrain": "f_fvat_wood_empty"
},
{
"type": "construction",
"id": "constr_wood_keg",
@@ -2454,11 +2555,26 @@
"required_skills": [ [ "fabrication", 2 ], [ "cooking", 1 ] ],
"time": "180 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 1 } ] ],
"using": [ [ "welding_standard", 2 ] ],
"using": [ [ "welding_standard", 5 ] ],
"//1": "5cm of weld to join the faucet to the pipe",
"components": [ [ [ "metal_tank", 4 ] ], [ [ "water_faucet", 1 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_standing_tank"
},
{
"type": "construction",
"id": "constr_storage_tank",
"group": "build_storage_tank",
"//": "a huge metal tank, useful for holding very large volumes of liquids",
"category": "FURN",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "300 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 1 } ] ],
"using": [ [ "welding_standard", 16 ] ],
"components": [ [ [ "sheet_metal", 24 ], [ "sheet_metal_small", 576 ] ], [ [ "water_faucet", 1 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_storage_tank"
},
{
"type": "construction",
"id": "constr_anvil",
@@ -2582,7 +2698,8 @@
"required_skills": [ [ "fabrication", 9 ] ],
"time": "420 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ], [ { "id": "SMOOTH", "level": 2 } ] ],
"using": [ [ "welding_standard", 15 ] ],
"using": [ [ "welding_standard", 500 ], [ "welding_standard", 500 ] ],
"//1": "lots of 1 meter square metal sheet and plating so very big weld",
"tools": [ [ [ "con_mix", 50 ] ] ],
"components": [
[ [ "hdframe", 1 ] ],
@@ -2605,7 +2722,8 @@
"required_skills": [ [ "fabrication", 6 ] ],
"time": "180 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ] ],
"using": [ [ "welding_standard", 15 ] ],
"using": [ [ "welding_standard", 500 ], [ "welding_standard", 500 ], [ "welding_standard", 500 ] ],
"//1": "1200cm of weld per rebar",
"components": [ [ [ "frame", 4 ] ], [ [ "sheet_metal", 16 ] ], [ [ "steel_lump", 2 ], [ "steel_chunk", 8 ], [ "scrap", 40 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_dumpster"
@@ -2632,7 +2750,8 @@
"required_skills": [ [ "fabrication", 4 ] ],
"time": "60 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "HAMMER", "level": 2 } ] ],
"using": [ [ "welding_standard", 1 ] ],
"//1": "relatively small weld",
"using": [ [ "welding_standard", 25 ] ],
"components": [ [ [ "sheet_metal", 1 ] ], [ [ "2x4", 2 ] ], [ [ "nail", 5 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_mailbox"
@@ -2658,9 +2777,10 @@
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "180 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 8 ] ],
"components": [ [ [ "rebar", 16 ] ], [ [ "sheet_metal_small", 12 ] ], [ [ "hinge", 2 ] ] ],
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ], [ { "id": "WRENCH", "level": 1 } ] ],
"using": [ [ "welding_standard", 500 ] ],
"//1": "4cm weld per rebar + welding all the metal squares into place",
"components": [ [ [ "rebar", 16 ] ], [ [ "sheet_metal_small", 12 ] ], [ [ "hinge", 2 ] ], [ [ "nuts_bolts", 8 ] ] ],
"pre_terrain": "t_mdoor_frame",
"post_terrain": "t_door_bar_c"
},
@@ -2672,7 +2792,8 @@
"required_skills": [ [ "fabrication", 5 ] ],
"time": "90 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 4 ] ],
"using": [ [ "welding_standard", 250 ] ],
"//1": "4cm weld per rebar + welding all the metal squares into place",
"components": [ [ [ "rebar", 8 ] ], [ [ "sheet_metal_small", 6 ] ] ],
"pre_terrain": "t_window",
"post_terrain": "t_window_bars"
@@ -2685,7 +2806,8 @@
"required_skills": [ [ "fabrication", 5 ] ],
"time": "90 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 4 ] ],
"using": [ [ "welding_standard", 250 ] ],
"//1": "4cm weld per rebar + welding all the metal squares into place",
"components": [ [ [ "rebar", 8 ] ], [ [ "sheet_metal_small", 6 ] ] ],
"pre_terrain": "t_window_empty",
"post_terrain": "t_window_bars_noglass"
@@ -2698,7 +2820,8 @@
"required_skills": [ [ "fabrication", 5 ] ],
"time": "90 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 4 ] ],
"using": [ [ "welding_standard", 250 ] ],
"//": "4cm weld per rebar + welding all the metal squares into place",
"components": [ [ [ "rebar", 8 ] ], [ [ "sheet_metal_small", 6 ] ] ],
"pre_terrain": "t_window_no_curtains",
"post_terrain": "t_window_bars"
@@ -2711,7 +2834,8 @@
"required_skills": [ [ "fabrication", 5 ] ],
"time": "90 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 3 ] ],
"//1": "4cm weld per rebar + welding all the metal squares into place",
"using": [ [ "welding_standard", 250 ] ],
"components": [ [ [ "rebar", 8 ] ], [ [ "sheet_metal_small", 6 ] ] ],
"pre_terrain": "t_window_alarm",
"post_terrain": "t_window_bars_alarm"
@@ -2736,8 +2860,9 @@
"required_skills": [ [ "fabrication", 9 ] ],
"time": "600 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "WRENCH", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 20 ] ],
"components": [ [ [ "frame", 10 ] ] ],
"//1": "50cm weld per frame",
"using": [ [ "welding_standard", 500 ], [ "welding_standard", 500 ] ],
"components": [ [ [ "frame", 10 ] ], [ [ "nuts_bolts", 200 ] ] ],
"pre_terrain": "t_concrete",
"post_terrain": "t_support_l"
},
@@ -2749,8 +2874,9 @@
"required_skills": [ [ "fabrication", 8 ] ],
"time": "240 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "WRENCH", "level": 1 } ], [ { "id": "SCREW", "level": 1 } ] ],
"using": [ [ "welding_standard", 10 ] ],
"components": [ [ [ "pipe", 18 ] ] ],
"//1": "3cm per pipe",
"using": [ [ "welding_standard", 54 ] ],
"components": [ [ [ "pipe", 18 ] ], [ [ "pipe_fittings", 6 ] ] ],
"pre_terrain": "t_concrete",
"post_terrain": "t_support_s"
},
@@ -4768,6 +4894,30 @@
"pre_special": "check_empty",
"post_terrain": "f_barricade_road"
},
{
"type": "construction",
"id": "app_veh_tools_kitchen",
"group": "place_veh_tools_kitchen",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "veh_tools_kitchen", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "BRISK_EXERCISE"
},
{
"type": "construction",
"id": "app_veh_tools_workshop",
"group": "place_veh_tools_workshop",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "veh_tools_workshop", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "BRISK_EXERCISE"
},
{
"type": "construction",
"id": "app_fridge",
@@ -4851,50 +5001,6 @@
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_foodco",
"group": "place_foodco",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "craftrig", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_chemlab",
"group": "place_chemlab",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "chemlab", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_welding_rig",
"group": "place_weldrig",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "weldrig", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_welding_kit",
"group": "place_weldkit",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "welding_kit", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance"
},
{
"type": "construction",
"id": "app_water_purifier",
@@ -5071,6 +5177,20 @@
"post_special": "done_appliance",
"activity_level": "BRISK_EXERCISE"
},
{
"type": "construction",
"id": "app_catalytic_cracking_reactor",
"group": "place_catalytic_cracking_reactor",
"category": "APPLIANCE",
"//1": "maybe some applied science? this seems to be some semi-advanced hardware",
"required_skills": [ [ "fabrication", 0 ] ],
"//2": "I set lower activity and longer time for putting a lot of light and/or small items together. When possible, I'd like it to take more time to disassemble as well.",
"time": "40 m",
"components": [ [ [ "catalytic_cracking_reactor", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_hydraulic_press",
@@ -5319,6 +5439,18 @@
"post_special": "done_appliance",
"activity_level": "MODERATE_EXERCISE"
},
{
"type": "construction",
"id": "app_wall_light",
"group": "place_wall_light",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 s",
"components": [ [ [ "wall_light", 1 ] ] ],
"pre_flags": "WALL",
"post_special": "done_appliance",
"activity_level": "NO_EXERCISE"
},
{
"type": "construction",
"id": "app_standing_lamp",
@@ -5343,6 +5475,18 @@
"post_special": "done_appliance",
"activity_level": "NO_EXERCISE"
},
{
"type": "construction",
"id": "app_standing_directed_floodlight",
"group": "place_standing_directed_floodlight",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 s",
"components": [ [ [ "standing_directed_floodlight", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "NO_EXERCISE"
},
{
"type": "construction",
"id": "ap_foot_locker_recharge_station",
@@ -5409,6 +5553,19 @@
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_active_backup_generator",
"group": "place_active_backup_generator",
"category": "APPLIANCE",
"required_skills": [ [ "mechanics", 1 ] ],
"time": "5 m",
"qualities": [ [ { "id": "WRENCH", "level": 1 } ] ],
"components": [ [ [ "active_backup_generator", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "constr_pontoon_dp",
@@ -5447,7 +5604,7 @@
},
{
"type": "construction",
"id": "constr_dock",
"id": "constr_dock_moving",
"group": "build_river_dock_shallow_bridge",
"//": "Set up dock",
"category": "CONSTRUCT",
@@ -5460,7 +5617,20 @@
},
{
"type": "construction",
"id": "constr_dock_deep_pile",
"id": "constr_dock",
"group": "build_river_dock_shallow_bridge",
"//": "Set up dock",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "40 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 2 } ] ],
"components": [ [ [ "2x4", 6 ] ], [ [ "log", 1 ] ], [ [ "nail", 12 ] ] ],
"pre_terrain": "t_water_sh",
"post_terrain": "t_dock"
},
{
"type": "construction",
"id": "constr_dock_deep_pile_moving",
"group": "build_deep_river_dock",
"//": "Step 1: securing a pile down on the riverbed; not easy work without machinery",
"category": "CONSTRUCT",
@@ -5471,6 +5641,19 @@
"pre_terrain": "t_water_moving_dp",
"post_terrain": "t_dock_deep_pile"
},
{
"type": "construction",
"id": "constr_dock_deep_pile",
"group": "build_deep_river_dock",
"//": "Step 1: securing a pile down on the lakebed; not easy work without machinery",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 6 ] ],
"time": "720 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
"components": [ [ [ "wood_beam", 1 ] ], [ [ "spike", 4 ] ] ],
"pre_terrain": "t_water_dp",
"post_terrain": "t_dock_deep_pile"
},
{
"type": "construction",
"id": "constr_dock_deep_frame",
@@ -5563,6 +5746,24 @@
"components": [ [ [ "2x4", 12 ] ], [ [ "nail", 36 ] ], [ [ "pebble", 200 ] ], [ [ "material_soil", 75 ] ] ],
"post_terrain": "f_planter"
},
{
"type": "construction",
"id": "constr_apiary",
"group": "build_bee_hive",
"category": "FARM_WOOD",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "4 h",
"qualities": [ [ { "id": "HAMMER", "level": 2 }, { "id": "SAW_W", "level": 2 }, { "id": "DRILL", "level": 1 } ] ],
"components": [
[ [ "2x4", 14 ] ],
[ [ "wood_panel", 8 ] ],
[ [ "nail", 28 ] ],
[ [ "swarm_bees", 1 ] ],
[ [ "sweet_water", 10 ], [ "honey_bottled", 10 ], [ "honeycomb", 10 ] ]
],
"pre_special": "check_empty",
"post_terrain": "t_apiary_empty"
},
{
"type": "construction",
"id": "constr_cut_grass_long",
@@ -6047,7 +6248,7 @@
"required_skills": [ [ "fabrication", 4 ] ],
"time": "90 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ] ],
"using": [ [ "welding_standard", 2 ] ],
"using": [ [ "welding_standard", 400 ] ],
"components": [
[ [ "sheet_metal_small", 15 ], [ "scrap", 30 ] ],
[
@@ -6120,7 +6321,7 @@
"required_skills": [ [ "fabrication", 4 ] ],
"time": "120 m",
"qualities": [ [ { "id": "SAW_M", "level": 1 } ] ],
"using": [ [ "welding_standard", 2 ] ],
"using": [ [ "welding_standard", 400 ], [ "welding_standard", 400 ] ],
"components": [
[ [ "wire", 2 ] ],
[ [ "sheet_metal_small", 10 ], [ "scrap", 10 ] ],
@@ -6170,7 +6371,6 @@
[ [ "pillow", 19 ], [ "down_pillow", 19 ], [ "makeshift_pillow", 19 ], [ "mattress", 4 ] ],
[ [ "down_blanket", 3 ], [ "blanket", 3 ], [ "fur_blanket", 3 ] ]
],
"pre_terrain": "t_floor",
"post_terrain": "f_pillow_fort"
},
{
@@ -6615,7 +6815,7 @@
[ { "id": "DRILL", "level": 3 } ],
[ { "id": "WRENCH", "level": 2 } ]
],
"using": [ [ "welding_standard", 2 ] ],
"using": [ [ "welding_standard", 250 ] ],
"components": [
[ [ "fire_brick", 40 ] ],
[ [ "cu_pipe", 4 ] ],
@@ -7536,7 +7736,6 @@
{
"type": "construction",
"id": "hang_heavy_punching_bag",
"description": "A hefty leather bag in an oblong shape, suspended from a ceiling mount with a steel chain. It can be used for exercise and combat training, with the notable advantage that it doesn't fight back.",
"group": "hang_heavy_punching_bag",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 1 ] ],
@@ -7749,6 +7948,113 @@
"pre_terrain": "t_sand_underground",
"post_special": "done_extract_maybe_revert_to_dirt"
},
{
"type": "construction",
"id": "constr_clear_rubble",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "4 m",
"byproducts": [
{ "item": "brick", "count": [ 0, 2 ] },
{ "item": "rock", "count": [ 0, 2 ] },
{ "item": "splinter", "count": [ 0, 2 ] },
{ "item": "scrap", "charges": [ 0, 2 ] },
{ "item": "material_gravel", "charges": [ 0, 3 ] }
],
"pre_terrain": "f_rubble",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_clear_rubble_rock",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "5 m",
"byproducts": [
{ "item": "rock", "count": [ 0, 5 ] },
{ "item": "rock_flaking", "count": [ 0, 2 ] },
{ "item": "flint", "count": [ 0, 2 ] },
{ "item": "sharp_rock", "count": [ 0, 2 ] },
{ "item": "pebble", "charges": [ 0, 4 ] }
],
"pre_flags": "RUBBLE",
"pre_terrain": "f_rubble_rock",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_clear_rubble_landfill",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "4 m",
"byproducts": [
{ "item": "material_soil", "count": [ 0, 2 ] },
{ "item": "plastic_chunk", "count": [ 0, 2 ] },
{ "item": "ceramic_shard", "count": [ 0, 2 ] },
{ "item": "splinter", "count": [ 0, 2 ] },
{ "item": "scrap_cotton", "count": [ 0, 2 ] }
],
"pre_flags": "RUBBLE",
"pre_terrain": "f_rubble_landfill",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_clear_rubble_wreckage",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 }, { "id": "SAW_M", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "5 m",
"byproducts": [
{ "item": "scrap", "charges": [ 0, 6 ] },
{ "item": "slag", "charges": [ 0, 3 ] },
{ "item": "scrap_tin", "count": [ 0, 1 ] },
{ "item": "scrap_aluminum", "count": [ 0, 1 ] },
{ "item": "scrap_copper", "count": [ 0, 1 ] }
],
"pre_flags": "RUBBLE",
"pre_terrain": "f_wreckage",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_clear_rubble_woodchips",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "2 m",
"byproducts": [ { "item": "splinter", "count": [ 0, 5 ] } ],
"pre_flags": "RUBBLE",
"pre_terrain": "f_woodchips",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_clear_rubble_ash",
"group": "clear_rubble",
"category": "OTHER",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 0 ] ],
"time": "1 m",
"byproducts": [ { "item": "ash", "charges": [ 0, 100 ] } ],
"pre_flags": "RUBBLE",
"pre_terrain": "f_ash",
"post_terrain": "f_null",
"activity_level": "EXTRA_EXERCISE"
},
{
"type": "construction",
"id": "constr_bench_wooden",
@@ -7808,5 +8114,110 @@
"pre_special": "check_empty",
"post_terrain": "f_chair_white",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_oxygen_concentrator",
"group": "place_oxygen_concentrator",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "oxygen_concentrator", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "app_hd_compressor_unit",
"group": "place_hd_compressor_unit",
"category": "APPLIANCE",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "5 m",
"components": [ [ [ "hd_compressor_unit", 1 ] ] ],
"pre_special": "check_empty",
"post_special": "done_appliance",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "constr_obstacle_rock",
"group": "obstacle_rock",
"category": "CONSTRUCT",
"required_skills": [ [ "survival", 1 ] ],
"qualities": [ [ { "id": "DIG", "level": 1 } ] ],
"time": "5 m",
"components": [ [ [ "rock_large", 22 ] ] ],
"pre_terrain": "t_dirt",
"post_terrain": "t_rockyobstacle"
},
{
"type": "construction",
"id": "constr_stooking_spot",
"group": "make_stooking_spot",
"category": "OTHER",
"required_skills": [ [ "survival", 2 ] ],
"time": "0 m",
"pre_note": "Mark a spot to stack cut grain for drying outdoors. Once placed, put unrotten undried grain stalks on the stooking spot and examine it to get started.",
"pre_special": "check_empty",
"post_flags": [ "keep_items" ],
"dark_craftable": true,
"post_terrain": "f_stook_empty"
},
{
"type": "construction",
"id": "constr_brick_oven_prep",
"group": "build_brick_oven",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ] ],
"time": "2 h",
"qualities": [ [ { "id": "HAMMER", "level": 2 }, { "id": "DIG", "level": 2 } ] ],
"components": [ [ [ "fire_brick", 30 ] ], [ [ "clay_lump", 5 ] ], [ [ "any_fresh_water", 2, "LIST" ] ] ],
"pre_flags": "DIGGABLE",
"pre_special": "check_empty",
"post_terrain": "t_brick_oven_base",
"activity_level": "ACTIVE_EXERCISE"
},
{
"type": "construction",
"id": "constr_brick_oven_struct",
"group": "build_brick_oven",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 5 ] ],
"time": "5 h",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "fire_brick", 60 ] ], [ [ "clay_lump", 30 ] ], [ [ "any_fresh_water", 15, "LIST" ] ] ],
"pre_terrain": "t_brick_oven_base",
"post_terrain": "t_brick_oven_struct",
"activity_level": "BRISK_EXERCISE"
},
{
"type": "construction",
"id": "constr_brick_oven_finisher",
"group": "build_brick_oven",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "3 h",
"pre_note": "Carve a thick wooden door for the brick oven.",
"qualities": [ [ { "id": "AXE", "level": 2 } ], [ { "id": "CHISEL_WOOD", "level": 1 } ] ],
"components": [ [ [ "log", 1 ] ] ],
"pre_terrain": "t_brick_oven_struct",
"post_terrain": "t_brick_oven",
"activity_level": "LIGHT_EXERCISE"
},
{
"type": "construction",
"id": "constr_brick_oven_finisher_metal",
"group": "build_brick_oven",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "15 m",
"pre_note": "Weld together a metal door for the brick oven.",
"qualities": [ [ { "id": "SAW_M", "level": 2 } ] ],
"using": [ [ "welding_standard", 6 ] ],
"components": [ [ [ "sheet_metal", 1 ] ], [ [ "scrap", 5 ] ] ],
"pre_terrain": "t_brick_oven_struct",
"post_terrain": "t_brick_oven",
"activity_level": "MODERATE_EXERCISE"
}
]
+101 -21
View File
@@ -64,6 +64,11 @@
"id": "build_bed",
"name": "Build Bed/Bunk bed"
},
{
"type": "construction_group",
"id": "build_down_bed",
"name": "Build Down Bed/Bunk bed"
},
{
"type": "construction_group",
"id": "build_bookcase",
@@ -114,6 +119,11 @@
"id": "build_charcoal_kiln",
"name": "Build Charcoal Kiln"
},
{
"type": "construction_group",
"id": "build_chest",
"name": "Build Wooden Chest"
},
{
"type": "construction_group",
"id": "build_chickenwire_fence",
@@ -249,6 +259,16 @@
"id": "build_earthbag_wall",
"name": "Build Earthbag Wall"
},
{
"type": "construction_group",
"id": "build_showjump_end",
"name": "Build Show Jump End"
},
{
"type": "construction_group",
"id": "build_showjump",
"name": "Place Show Jump"
},
{
"type": "construction_group",
"id": "build_entertainment_center",
@@ -284,6 +304,11 @@
"id": "build_fermenting_vat",
"name": "Build Fermenting Vat"
},
{
"type": "construction_group",
"id": "build_wooden_fermenting_vat",
"name": "Build Wooden Fermenting Vat"
},
{
"type": "construction_group",
"id": "build_fire_ring",
@@ -474,6 +499,11 @@
"id": "build_planter",
"name": "Build Planter"
},
{
"type": "construction_group",
"id": "build_bee_hive",
"name": "Build An Apiary"
},
{
"type": "construction_group",
"id": "build_plastic_window",
@@ -744,6 +774,11 @@
"id": "build_standing_tank",
"name": "Build Standing Tank"
},
{
"type": "construction_group",
"id": "build_storage_tank",
"name": "Build Storage Tank"
},
{
"type": "construction_group",
"id": "build_stone_fireplace",
@@ -1029,6 +1064,11 @@
"id": "make_crafting_spot",
"name": "Make crafting spot"
},
{
"type": "construction_group",
"id": "make_stooking_spot",
"name": "Make stooking spot"
},
{
"type": "construction_group",
"id": "make_gravel_floor",
@@ -1134,6 +1174,16 @@
"id": "paint_wall_black",
"name": "Paint Wall Black"
},
{
"type": "construction_group",
"id": "place_veh_tools_kitchen",
"name": "Place Kitchen Station"
},
{
"type": "construction_group",
"id": "place_veh_tools_workshop",
"name": "Place Workshop Station"
},
{
"type": "construction_group",
"id": "place_fridge",
@@ -1169,31 +1219,11 @@
"id": "place_water_purifier",
"name": "Place Stationary Water Purifier"
},
{
"type": "construction_group",
"id": "place_foodco",
"name": "Place FOODCO"
},
{
"type": "construction_group",
"id": "place_microwave",
"name": "Place Microwave"
},
{
"type": "construction_group",
"id": "place_chemlab",
"name": "Place Onboard Chemistry Lab"
},
{
"type": "construction_group",
"id": "place_weldrig",
"name": "Place Welding Rig"
},
{
"type": "construction_group",
"id": "place_weldkit",
"name": "Place Welding Kit"
},
{
"type": "construction_group",
"id": "place_arcade_machine",
@@ -1232,7 +1262,7 @@
{
"type": "construction_group",
"id": "place_router",
"name": "Place Router"
"name": "Place Router Table"
},
{
"type": "construction_group",
@@ -1244,6 +1274,11 @@
"id": "place_jointer",
"name": "Place Jointer"
},
{
"type": "construction_group",
"id": "place_catalytic_cracking_reactor",
"name": "Place Catalytic Cracking Reactor"
},
{
"type": "construction_group",
"id": "place_hydraulic_press",
@@ -1264,6 +1299,11 @@
"id": "place_heater_small",
"name": "Place Small Heater"
},
{
"type": "construction_group",
"id": "place_wall_light",
"name": "Place Wall Light"
},
{
"type": "construction_group",
"id": "place_standing_lamp",
@@ -1354,6 +1394,11 @@
"id": "place_standing_floodlight",
"name": "Place Standing Floodlight"
},
{
"type": "construction_group",
"id": "place_standing_directed_floodlight",
"name": "Place Standing Directed Floodlight"
},
{
"type": "construction_group",
"id": "place_ap_foot_locker_recharge_station",
@@ -1679,6 +1724,11 @@
"id": "place_asrg_containment",
"name": "Place ASRG"
},
{
"type": "construction_group",
"id": "place_active_backup_generator",
"name": "Place backup generator"
},
{
"type": "construction_group",
"id": "build_rope_hoist",
@@ -1694,6 +1744,11 @@
"id": "build_chain_hoist",
"name": "Build Chain & Tackle Hoist"
},
{
"type": "construction_group",
"id": "clear_rubble",
"name": "Clear rubble"
},
{
"type": "construction_group",
"id": "build_bench_wooden",
@@ -1718,5 +1773,30 @@
"type": "construction_group",
"id": "place_chair_wood_white",
"name": "Place a white wooden chair"
},
{
"type": "construction_group",
"id": "place_oxygen_concentrator",
"name": "Place Oxygen Concentrator"
},
{
"type": "construction_group",
"id": "place_hd_compressor_unit",
"name": "Place High Pressure Compressor Unit"
},
{
"type": "construction_group",
"id": "obstacle_rock",
"name": "Build a Rocky Obstacle"
},
{
"type": "construction_group",
"id": "constr_excavate_forestfloor",
"name": "Turn forest floor into dirt"
},
{
"type": "construction_group",
"id": "build_brick_oven",
"name": "Build Brick Oven"
}
]
+222
View File
@@ -0,0 +1,222 @@
[
{
"//": "bash damage",
"id": "bash",
"type": "damage_type",
"melee_only": true,
"physical": true,
"magic_color": "magenta",
"name": "bash",
"skill": "bashing",
"mon_difficulty": true,
"material_required": true,
"immune_flags": { "character": [ "BASH_IMMUNE" ] }
},
{
"id": "bash",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "bashing",
"bionic_info": { "order": 100, "show_type": true },
"protection_info": { "order": 100, "show_type": true },
"pet_prot_info": { "order": 100, "show_type": true },
"melee_combat_info": { "order": 100, "show_type": true },
"ablative_info": { "order": 100, "show_type": true }
},
{
"//": "cut damage",
"id": "cut",
"type": "damage_type",
"melee_only": true,
"physical": true,
"edged": true,
"magic_color": "light_gray",
"name": "cut",
"skill": "cutting",
"mon_difficulty": true,
"material_required": true,
"immune_flags": { "character": [ "CUT_IMMUNE" ] }
},
{
"id": "cut",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "cutting",
"bionic_info": { "order": 200, "show_type": true },
"protection_info": { "order": 200, "show_type": true },
"pet_prot_info": { "order": 200, "show_type": true },
"melee_combat_info": { "order": 200, "show_type": true },
"ablative_info": { "order": 200, "show_type": true }
},
{
"//": "stabbing/piercing damage",
"id": "stab",
"type": "damage_type",
"melee_only": true,
"physical": true,
"edged": true,
"magic_color": "light_red",
"name": "pierce",
"skill": "stabbing",
"//2": "derived from cut only for monster defs",
"derived_from": [ "cut", 0.8 ],
"immune_flags": { "character": [ "STAB_IMMUNE" ] }
},
{
"id": "stab",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "piercing",
"bionic_info": { "order": 300, "show_type": true },
"protection_info": { "order": 400, "show_type": true },
"pet_prot_info": { "order": 400, "show_type": false },
"melee_combat_info": { "order": 300, "show_type": true },
"ablative_info": { "order": 400, "show_type": true }
},
{
"//": "bullets and other fast moving projectiles",
"id": "bullet",
"type": "damage_type",
"physical": true,
"magic_color": "light_red",
"name": "ballistic",
"material_required": true,
"immune_flags": { "character": [ "BULLET_IMMUNE" ] }
},
{
"id": "bullet",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "shooting",
"bionic_info": { "order": 400, "show_type": true },
"protection_info": { "order": 300, "show_type": true },
"pet_prot_info": { "order": 300, "show_type": true },
"melee_combat_info": { "order": 400, "show_type": false },
"ablative_info": { "order": 300, "show_type": true }
},
{
"//": "corrosive damage, e.g. acid",
"id": "acid",
"type": "damage_type",
"physical": false,
"environmental": true,
"magic_color": "light_green",
"name": "acid",
"//2": "derived from cut only for monster defs",
"derived_from": [ "cut", 0.5 ],
"material_required": true,
"immune_flags": { "character": [ "ACID_IMMUNE" ], "monster": [ "ACIDPROOF" ] }
},
{
"id": "acid",
"type": "damage_info_order",
"info_display": "basic",
"verb": "corroding",
"bionic_info": { "order": 500, "show_type": true },
"protection_info": { "order": 800, "show_type": true },
"pet_prot_info": { "order": 500, "show_type": true },
"melee_combat_info": { "order": 500, "show_type": false },
"ablative_info": { "order": 500, "show_type": false }
},
{
"//": "e.g. electrical discharge",
"id": "electric",
"type": "damage_type",
"physical": false,
"magic_color": "light_blue",
"name": "electric",
"immune_flags": { "character": [ "ELECTRIC_IMMUNE" ], "monster": [ "ELECTRIC", "ELECTRIC_FIELD" ] }
},
{
"id": "electric",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "shocking",
"bionic_info": { "order": 600, "show_type": true },
"protection_info": { "order": 700, "show_type": true },
"pet_prot_info": { "order": 700, "show_type": false },
"melee_combat_info": { "order": 600, "show_type": false },
"ablative_info": { "order": 600, "show_type": false }
},
{
"//": "e.g. fire, plasma",
"id": "heat",
"type": "damage_type",
"physical": false,
"environmental": true,
"magic_color": "red",
"name": "fire",
"material_required": true,
"immune_flags": { "character": [ "HEAT_IMMUNE" ] }
},
{
"id": "heat",
"type": "damage_info_order",
"info_display": "basic",
"verb": "burning",
"bionic_info": { "order": 700, "show_type": true },
"protection_info": { "order": 900, "show_type": true },
"pet_prot_info": { "order": 600, "show_type": true },
"melee_combat_info": { "order": 700, "show_type": false },
"ablative_info": { "order": 700, "show_type": false }
},
{
"//": "e.g. heatdrain, cryogrenades",
"id": "cold",
"type": "damage_type",
"physical": false,
"magic_color": "white",
"name": "cold",
"immune_flags": { "character": [ "COLD_IMMUNE" ] }
},
{
"id": "cold",
"type": "damage_info_order",
"info_display": "detailed",
"verb": "freezing",
"bionic_info": { "order": 800, "show_type": true },
"protection_info": { "order": 500, "show_type": true },
"pet_prot_info": { "order": 800, "show_type": false },
"melee_combat_info": { "order": 800, "show_type": false },
"ablative_info": { "order": 800, "show_type": false }
},
{
"//": "internal damage, like from smoke or poison",
"id": "biological",
"type": "damage_type",
"physical": false,
"magic_color": "green",
"name": "biological",
"immune_flags": { "character": [ "BIO_IMMUNE" ] },
"no_resist": true
},
{
"id": "biological",
"type": "damage_info_order",
"info_display": "detailed",
"bionic_info": { "order": 900, "show_type": true },
"protection_info": { "order": 600, "show_type": true },
"pet_prot_info": { "order": 900, "show_type": false },
"melee_combat_info": { "order": 900, "show_type": false },
"ablative_info": { "order": 900, "show_type": false }
},
{
"//": "typeless damage, should always go through",
"id": "pure",
"type": "damage_type",
"physical": false,
"magic_color": "dark_gray",
"name": "pure",
"no_resist": true
},
{
"id": "pure",
"type": "damage_info_order",
"info_display": "none",
"bionic_info": { "order": 999999, "show_type": false },
"protection_info": { "order": 999999, "show_type": false },
"pet_prot_info": { "order": 999999, "show_type": false },
"melee_combat_info": { "order": 999999, "show_type": false },
"ablative_info": { "order": 999999, "show_type": false }
}
]
+39 -1
View File
@@ -168,6 +168,16 @@
"category": "MARLOSS",
"strength": 1
},
{
"type": "dream",
"messages": [
"You have a strange dream about crabs.",
"Your dreams give you a strange shelled feeling.",
"You dream of grabbing something in an oversized claw."
],
"category": "CRUSTACEAN",
"strength": 1
},
{
"type": "dream",
"messages": [
@@ -326,7 +336,7 @@
{
"type": "dream",
"messages": [
"You have a strange dream of spinning webs",
"You have a strange dream of spinning webs.",
"In your dream you see a very spiderlike version of yourself.",
"You dream of the buzzing of a fly that you cannot see. It makes you hungry."
],
@@ -386,6 +396,15 @@
"category": "MOUSE",
"strength": 2
},
{
"type": "dream",
"messages": [
"You dream of walking along the sea floor.",
"You dream of something biting you but being stopped by your hard outer shell."
],
"category": "CRUSTACEAN",
"strength": 2
},
{
"type": "dream",
"messages": [
@@ -603,6 +622,15 @@
"category": "MOUSE",
"strength": 3
},
{
"type": "dream",
"messages": [
"You have a disturbing dream of living in a supermarket lobster tank.",
"Your vivid dream of living as a crustacean frightens you."
],
"category": "CRUSTACEAN",
"strength": 3
},
{
"type": "dream",
"messages": [ "You are terrified by a dream of becoming an ape hybrid.", "You blissfully recall days spent lounging in the sun." ],
@@ -824,6 +852,16 @@
"category": "MOUSE",
"strength": 4
},
{
"type": "dream",
"messages": [
"You dream of pinching zombies with your claws.",
"You have a vivid dream of shedding your carapace. It feels good.",
"You dream of tearing apart some hapless fish with your pincers."
],
"category": "CRUSTACEAN",
"strength": 4
},
{
"type": "dream",
"//": "The Mycus is ONLY post-thresh, so many more here.",
+669 -24
View File
@@ -41,9 +41,30 @@
"id": "scenario_mansion_pursuit",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [
{ "u_spawn_monster": "GROUP_MANSION_ARMORED", "group": true, "real_count": 1, "min_radius": 15, "max_radius": 30 },
{ "u_spawn_monster": "GROUP_MANSION_START", "group": true, "real_count": 2, "min_radius": 10, "max_radius": 18 },
{ "u_spawn_monster": "GROUP_MANSION_START", "group": true, "real_count": 2, "min_radius": 15, "max_radius": 25 }
{
"u_spawn_monster": "GROUP_MANSION_ARMORED",
"group": true,
"real_count": 1,
"min_radius": 30,
"max_radius": 45,
"indoor_only": true
},
{
"u_spawn_monster": "GROUP_MANSION_START",
"group": true,
"real_count": 2,
"min_radius": 20,
"max_radius": 35,
"indoor_only": true
},
{
"u_spawn_monster": "GROUP_MANSION_START",
"group": true,
"real_count": 2,
"min_radius": 25,
"max_radius": 40,
"indoor_only": true
}
]
},
{
@@ -103,7 +124,7 @@
"type": "effect_on_condition",
"id": "get_m4_carbine",
"global": true,
"effect": { "u_spawn_item": "m4_carbine" }
"effect": { "u_spawn_item": "modular_m4_carbine" }
},
{
"type": "effect_on_condition",
@@ -259,7 +280,7 @@
"effect": [
{ "u_message": "Your malfunctioning bionic causes you to spasm and fall to the floor!", "type": "bad" },
{ "sound_effect": "elec_crackle_high", "id": "bionics", "volume": 100 },
{ "arithmetic": [ { "u_val": "pain" }, "++" ] },
{ "math": [ "u_pain()", "++" ] },
{ "u_add_effect": "stunned", "duration": 1 },
{ "u_add_effect": "downed", "duration": 1, "force": true }
]
@@ -379,56 +400,180 @@
"type": "effect_on_condition",
"eoc_type": "AVATAR_DEATH",
"condition": {
"and": [ { "npc_allies_global": 1 }, { "u_query": "You have died. Continue as one of your followers?", "default": false } ]
"and": [ { "npc_allies_global": 1 }, { "u_query": "You have died. Continue as one of your followers?", "default": false } ]
},
"effect": [ "take_control_menu" ]
},
{
"type": "effect_on_condition",
"id": "MAKAYLA_MUTATOR_portal_storm",
"recurrence": "15 minutes",
"//": "The assumption is that Makayla controls this normally, so the effects are only active when she's the avatar. Thus global:true.",
"global": true,
"condition": {
"and": [
{ "is_weather": "portal_storm" },
{ "u_has_trait": "MAKAYLA_MUTATOR" },
{ "not": { "u_has_worn_with_flag": "PORTAL_PROOF" } },
"u_is_outside"
]
},
"deactivate_condition": { "not": { "is_weather": "portal_storm" } },
"effect": [
{ "u_message": "Everything feels fuzzy.", "type": "info" },
{ "arithmetic": [ { "u_val": "vitamin", "name": "mutagen_feline" }, "=", { "const": 450 } ] },
{ "arithmetic": [ { "u_val": "vitamin", "name": "mutagen" }, "=", { "const": 750 } ] },
{
"run_eocs": [
{
"id": "cat_ears_portal_storm",
"condition": { "not": { "u_has_trait": "FELINE_EARS" } },
"effect": [
{ "u_message": "It didn't take very long for the ears to be back.", "type": "info" },
{ "u_add_trait": "FELINE_EARS" }
]
}
]
}
]
},
{
"type": "effect_on_condition",
"id": "record_portal_storm_data",
"recurrence": "5 minutes",
"global": true,
"condition": {
"and": [ { "is_weather": "portal_storm" }, { "u_has_items": { "item": "nre_recorder", "charges": 1 } }, "u_is_outside" ]
"and": [
{
"or": [
{ "is_weather": "portal_storm" },
{ "and": [ { "is_weather": "distant_portal_storm" }, { "one_in_chance": 12 } ] },
{ "is_weather": "close_portal_storm" }
]
},
{ "u_has_items": { "item": "nre_recorder", "charges": 1 } },
"u_is_outside"
]
},
"deactivate_condition": {
"not": {
"or": [ { "is_weather": "portal_storm" }, { "is_weather": "distant_portal_storm" }, { "is_weather": "close_portal_storm" } ]
}
},
"deactivate_condition": { "not": { "is_weather": "portal_storm" } },
"effect": [
{ "u_adjust_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "adjustment": 1 },
{ "math": [ "u_portal_storm_record", "++" ] },
{
"run_eocs": [
{
"id": "large_printout_portal_storm_data_ping",
"condition": { "math": [ "u_portal_storm_record", ">=", "25" ] },
"effect": [ { "u_message": "The NRE recorder emits a three beep sequence!", "type": "info" } ],
"false_effect": [
{
"run_eocs": [
{
"id": "medium_printout_portal_storm_data_ping",
"condition": { "math": [ "u_portal_storm_record", ">=", "3" ] },
"effect": [ { "u_message": "The NRE recorder emits a two beep sequence!", "type": "info" } ],
"false_effect": [
{
"run_eocs": [
{
"id": "small_printout_portal_storm_data_ping",
"condition": { "math": [ "u_portal_storm_record", ">=", "1" ] },
"effect": [ { "u_message": "The NRE recorder emits a sharp beep!", "type": "info" } ]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"type": "effect_on_condition",
"id": "capture_generic_nre_anomaly",
"global": true,
"condition": { "u_has_items": { "item": "nre_recorder", "charges": 1 } },
"effect": [
{ "math": [ "u_generic_nre_anomaly", "++" ] },
{ "u_message": "The NRE recorder emits a sharp beep!", "type": "info" }
]
},
{
"type": "effect_on_condition",
"id": "print_portal_storm_data",
"condition": { "u_compare_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "op": ">=", "value": 1 },
"deactivate_condition": { "not": { "is_weather": "portal_storm" } },
"id": "EOC_on_kill_capture_generic_nre_anomaly",
"eoc_type": "EVENT",
"required_event": "character_kills_monster",
"//": "Only add monsters with significant reality altering powers, not just anything in the nether species.",
"condition": {
"and": [
{ "u_has_items": { "item": "nre_recorder", "charges": 1 } },
{
"or": [
{ "compare_string": [ "mon_hound_tindalos", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_darkman", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_zombie_phase_shrike", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_swarm_structure", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_better_half", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_hallucinator", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_archunk_strong", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_void_spider", { "context_val": "victim_type" } ] },
{ "compare_string": [ "mon_XEDRA_officer", { "context_val": "victim_type" } ] }
]
}
]
},
"effect": [
{ "math": [ "u_generic_nre_anomaly", "++" ] },
{ "u_message": "The NRE recorder emits a sharp beep!", "type": "info" }
]
},
{
"type": "effect_on_condition",
"id": "print_nre_data",
"condition": { "or": [ { "math": [ "u_portal_storm_record", ">", "0" ] }, { "math": [ "u_generic_nre_anomaly", ">", "0" ] } ] },
"effect": {
"run_eocs": [
{
"id": "large_printout_portal_storm_data",
"condition": { "u_compare_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "op": ">=", "value": 25 },
"condition": { "math": [ "u_portal_storm_record", ">=", "25" ] },
"effect": [
{ "u_message": "The recorder whirs as it starts printing the recorded data.", "type": "info" },
{ "u_spawn_item": "large_printout_portal_storm_data", "count": 1 },
{ "u_add_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "value": "0" }
{ "math": [ "u_portal_storm_record", "=", "0" ] }
]
},
{
"id": "medium_printout_portal_storm_data",
"condition": { "u_compare_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "op": ">=", "value": 3 },
"condition": { "math": [ "u_portal_storm_record", ">=", "3" ] },
"effect": [
{ "u_message": "The recorder whirs as it starts printing the recorded data.", "type": "info" },
{ "u_spawn_item": "medium_printout_portal_storm_data", "count": 1 },
{ "u_add_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "value": "0" }
{ "math": [ "u_portal_storm_record", "=", "0" ] }
]
},
{
"id": "small_printout_portal_storm_data",
"condition": { "u_compare_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "op": ">=", "value": 1 },
"condition": { "math": [ "u_portal_storm_record", ">=", "1" ] },
"effect": [
{ "u_message": "The recorder whirs as it starts printing the recorded data.", "type": "info" },
{ "u_spawn_item": "small_printout_portal_storm_data", "count": 1 },
{ "u_add_var": "portal_storm_record", "type": "counter", "context": "nre_recorder", "value": "0" }
{ "math": [ "u_portal_storm_record", "=", "0" ] }
]
},
{
"id": "printout_nre_anomaly_data",
"condition": { "math": [ "u_generic_nre_anomaly", ">=", "1" ] },
"effect": [
{ "u_message": "The recorder whirs as it starts printing the recorded data.", "type": "info" },
{ "u_spawn_item": "nre_anomaly_printout_data", "count": { "u_val": "generic_nre_anomaly", "default": 1 } },
{ "math": [ "u_generic_nre_anomaly", "=", "0" ] }
]
}
]
@@ -438,7 +583,7 @@
{
"type": "effect_on_condition",
"id": "EOC_last_amigara_death",
"condition": { "compare_num": [ { "global_val": "monsters_nearby", "id": "mon_amigara_horror" }, "<", { "const": 1 } ] },
"condition": { "math": [ "u_monsters_nearby('mon_amigara_horror')", "<", "1" ] },
"effect": [
{ "mapgen_update": "amigara_death" },
{ "u_lose_effect": "effect_amigara" },
@@ -448,6 +593,131 @@
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_GIVE_RANDOM_MISSION",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": [
{
"weighted_list_eocs": [
[
{
"id": "give_MISSION_GET_RELIC",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_RELIC" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_RECORD_ACCOUNTING",
"condition": { "u_has_trait": "GETS_RANDOM_MISSION" },
"effect": { "offer_mission": "MISSION_GET_RECORD_ACCOUNTING" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_INHALER",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_INHALER" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_ANTIBIOTICS",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_ANTIBIOTICS" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_FLAG",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_FLAG" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_RECORD_WEATHER",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_RECORD_WEATHER" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_SOFTWARE",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_GET_SOFTWARE" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_GET_RECORD_PATIENT",
"condition": { "u_has_trait": "GETS_RANDOM_MISSION" },
"effect": { "offer_mission": "MISSION_GET_RECORD_PATIENT" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_KILL_JABBERWOCK",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_KILL_JABBERWOCK" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_KILL_ZOMBIE_MOM",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_KILL_ZOMBIE_MOM" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_RESCUE_DOG",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_RESCUE_DOG" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_PROVE_YOU_ARE_A_SURVIVOR",
"condition": { "u_has_trait": "GETS_RANDOM_MISSION" },
"effect": { "offer_mission": "MISSION_PROVE_YOU_ARE_A_SURVIVOR" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_LEARN_ABOUT_CATTAIL_JELLY",
"condition": { "or": [ { "u_has_trait": "GETS_RANDOM_MISSION" }, { "u_has_trait": "GETS_RANDOM_MISSION_NOMOVE" } ] },
"effect": { "offer_mission": "MISSION_LEARN_ABOUT_CATTAIL_JELLY" }
},
{ "const": 1 }
],
[
{
"id": "give_MISSION_PYROMANIAC",
"condition": { "u_has_trait": "GETS_RANDOM_MISSION" },
"effect": { "offer_mission": "MISSION_PYROMANIAC" }
},
{ "const": 1 }
]
]
},
{ "u_lose_trait": "GETS_RANDOM_MISSION" },
{ "u_lose_trait": "GETS_RANDOM_MISSION_NOMOVE" }
]
},
{
"type": "effect_on_condition",
"id": "EOC_PLAY_PIANO",
@@ -466,7 +736,7 @@
{
"run_eocs": {
"id": "EOC_HALLUCINATION_ATTACKS",
"condition": { "compare_num": [ { "global_val": "monsters_nearby" }, ">", { "const": 1 } ] },
"condition": { "math": [ "u_monsters_nearby()", ">", "1" ] },
"effect": [
{
"u_spawn_monster": "GROUP_YOUR_FEARS",
@@ -536,10 +806,16 @@
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_discover_zomborg",
"condition": { "math": [ "u_monsters_nearby('mon_zomborg')", ">=", "1" ] },
"effect": [ { "u_add_var": "seen_zomborg", "type": "dialogue", "context": "exodii", "value": "yes" } ]
},
{
"type": "effect_on_condition",
"id": "EOC_BANDIT_ASSASSIN",
"recurrence": [ "7 days", "14 days" ],
"recurrence": [ "60 days", "100 days" ],
"condition": {
"and": [
{ "compare_int": [ { "faction_like": "hells_raiders" }, "<", { "const": -40 } ] },
@@ -558,7 +834,7 @@
{
"type": "effect_on_condition",
"id": "EOC_BANDIT_ASSASSIN_2",
"recurrence": [ "7 days", "14 days" ],
"recurrence": [ "60 days", "100 days" ],
"condition": {
"and": [
{ "compare_int": [ { "faction_like": "hells_raiders" }, "<", { "const": -60 } ] },
@@ -577,7 +853,7 @@
{
"type": "effect_on_condition",
"id": "EOC_BANDIT_ASSASSIN_3",
"recurrence": [ "7 days", "14 days" ],
"recurrence": [ "60 days", "100 days" ],
"condition": {
"and": [
{ "compare_int": [ { "faction_like": "hells_raiders" }, "<", { "const": -90 } ] },
@@ -599,7 +875,7 @@
{
"type": "effect_on_condition",
"id": "EOC_OLD_GUARD_ASSASSIN",
"recurrence": [ "7 days", "14 days" ],
"recurrence": [ "60 days", "100 days" ],
"condition": {
"and": [
{ "compare_int": [ { "faction_like": "old_guard" }, "<", { "const": -45 } ] },
@@ -659,5 +935,374 @@
]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_READ_LOCAL_FILES",
"condition": { "and": [ { "math": [ "u_skill('computer')", ">=", "2" ] }, { "one_in_chance": 15 } ] },
"effect": [ { "u_message": "local_files_simple", "snippet": true, "same_snippet": true, "popup": true } ],
"false_effect": [ { "u_message": "You found nothing interesting in the local files." } ]
},
{
"type": "effect_on_condition",
"id": "scenario_surrounded_zombie",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 12, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 12, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 15, "max_radius": 22 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 15, "max_radius": 22 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 18, "max_radius": 30 }
]
},
{
"type": "effect_on_condition",
"id": "scenario_surrounded_zombie_heavy",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 14, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 14, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 14, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 14, "max_radius": 20 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 18, "max_radius": 25 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 18, "max_radius": 25 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 18, "max_radius": 25 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 18, "max_radius": 25 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 20, "max_radius": 30 },
{ "u_spawn_monster": "GROUP_ZOMBIE", "group": true, "real_count": 1, "min_radius": 20, "max_radius": 30 }
]
},
{
"type": "effect_on_condition",
"id": "EOC_lone_survivor",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [
{
"u_message": "They are all dead. The group you were surviving with has been annihilated. Their bodies are still nearby. You are the last one left alive and their screams will haunt you.",
"type": "warning",
"popup": true
},
{
"u_add_morale": "morale_feeling_bad",
"bonus": -100,
"max_bonus": -100,
"duration": "1440 minutes",
"decay_start": "180 minutes"
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_scenario_drunk",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [
{ "u_add_effect": "drunk", "intensity": 1, "duration": "270 minutes" },
{
"u_add_morale": "morale_feeling_bad",
"bonus": -50,
"max_bonus": -50,
"duration": "50 minutes",
"decay_start": "50 minutes"
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_scenario_blood",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [ { "mapgen_update": "SCENARIO_BLOOD" } ]
},
{
"type": "mapgen",
"update_mapgen_id": "SCENARIO_BLOOD",
"method": "json",
"object": { "place_fields": [ { "field": "fd_blood", "x": [ 5, 20 ], "y": [ 5, 20 ], "intensity": [ 1, 3 ], "repeat": 10 } ] }
},
{
"type": "effect_on_condition",
"id": "EOC_scenario_fire",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [ { "mapgen_update": "SCENARIO_FIRE" } ]
},
{
"type": "mapgen",
"update_mapgen_id": "SCENARIO_FIRE",
"method": "json",
"object": { "place_fields": [ { "field": "fd_fire", "x": [ 3, 20 ], "y": [ 3, 20 ], "intensity": [ 1, 3 ], "repeat": 15 } ] }
},
{
"type": "effect_on_condition",
"id": "EOC_scenario_smoke",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [ { "mapgen_update": "SCENARIO_SMOKE" } ]
},
{
"type": "mapgen",
"update_mapgen_id": "SCENARIO_SMOKE",
"method": "json",
"object": { "place_fields": [ { "field": "fd_smoke", "x": [ 3, 20 ], "y": [ 3, 20 ], "intensity": [ 1, 3 ], "repeat": 60 } ] }
},
{
"type": "effect_on_condition",
"id": "EOC_REFUGEE_CENTER_NPC_MOVEMENT",
"//": "Runs once an hour and moves refugee center npcs around based on what hour it is.",
"global": true,
"recurrence": "1 hours",
"effect": [
{
"switch": "hour",
"cases": [
{ "case": 0, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 2, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } },
{ "case": 4, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 6, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } },
{ "case": 8, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 10, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } },
{ "case": 12, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 14, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } },
{ "case": 16, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 18, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } },
{ "case": 20, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION" } },
{ "case": 22, "effect": { "run_eocs": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION" } }
]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_REFUGEE_CENTER_GUARD_FIRST_POSITION",
"effect": [
{
"u_run_npc_eocs": [
{
"id": "EOC_REFUGEE_CENTER_GUARD_FIRST_SHIFT",
"effect": { "u_set_guard_pos": { "global_val": "_First" }, "unique_id": true }
}
],
"unique_ids": [ "GUARD1", "GUARD2", "GUARD3", "GUARD4", "GUARD5", "GUARD6", "GUARD7" ]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_REFUGEE_CENTER_GUARD_SECOND_POSITION",
"effect": [
{
"u_run_npc_eocs": [
{
"id": "EOC_REFUGEE_CENTER_GUARD_SECOND_SHIFT",
"effect": { "u_set_guard_pos": { "global_val": "_Second" }, "unique_id": true }
}
],
"unique_ids": [ "GUARD1", "GUARD2", "GUARD3", "GUARD4", "GUARD5", "GUARD6", "GUARD7" ]
}
]
},
{
"type": "effect_on_condition",
"id": "chitin2_molt_timer1",
"recurrence": [ "24 days", "42 days" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2" },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_effect": "molting_imminent" } },
{ "not": { "u_has_trait": "CHITIN3" } },
{ "not": { "u_has_trait": "CRUSTACEAN_CARAPACE" } }
]
},
"effect": [ { "u_add_effect": "molting", "intensity": 1, "duration": "PERMANENT" } ]
},
{
"type": "effect_on_condition",
"id": "chitin2_molt_timer2",
"recurrence": [ "1 days", "2 days" ],
"condition": {
"and": [
{ "u_has_effect": "molting" },
{ "not": { "u_has_effect": "molting_imminent" } },
{ "not": { "u_has_trait": "CHITIN3" } },
{ "not": { "u_has_trait": "CRUSTACEAN_CARAPACE" } }
]
},
"effect": [ { "u_add_effect": "molting_imminent", "intensity": 1, "duration": "PERMANENT" }, { "u_lose_effect": "molting" } ]
},
{
"type": "effect_on_condition",
"id": "chitin2_molt_timer_3",
"recurrence": [ "1 hours", "3 hours" ],
"condition": {
"and": [
{ "u_has_effect": "molting_imminent" },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_trait": "CHITIN3" } },
{ "not": { "u_has_trait": "CRUSTACEAN_CARAPACE" } }
]
},
"effect": [
{ "u_add_effect": "narcosis", "duration": "5 minutes" },
{ "u_add_effect": "sleep", "duration": "5 minutes" },
{
"u_message": "Your exoskeleton grows steadily more rigid until you can no longer move. You strain against it for a few minutes, and it peels and cracks away in chunks like a plaster mold, revealing a soft and tender new layer beneath.",
"type": "bad"
},
{ "u_lose_trait": "CHITIN2" },
{ "u_lose_trait": "CHITIN" },
{ "u_lose_effect": "molting_imminent" },
{ "u_spawn_item": "chitin_piece", "count": 3 },
{ "u_add_trait": "CHITIN_MOLTED" },
{ "u_add_trait": "CHITIN2_MOLTED" }
]
},
{
"type": "effect_on_condition",
"id": "chitin2_molt_timer4",
"recurrence": [ "8 hours", "12 hours" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2_MOLTED" },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_effect": "molting_imminent" } },
{ "not": { "u_has_trait": "CHITIN3_MOLTED" } },
{ "not": { "u_has_trait": "CRUSTACEAN_CARAPACE_MOLTED" } }
]
},
"effect": [
{ "u_message": "Your exoskeleton has finished hardening.", "type": "good" },
{ "u_lose_trait": "CHITIN_MOLTED" },
{ "u_lose_trait": "CHITIN2_MOLTED" },
{ "u_add_trait": "CHITIN" },
{ "u_add_trait": "CHITIN2" }
]
},
{
"type": "effect_on_condition",
"id": "chitin3_molt_timer1",
"recurrence": [ "24 days", "42 days" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2" },
{ "or": [ { "u_has_trait": "CHITIN3" }, { "u_has_trait": "CRUSTACEAN_CARAPACE" } ] },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_effect": "molting_imminent" } }
]
},
"effect": [ { "u_add_effect": "molting", "intensity": 1, "duration": "PERMANENT" } ]
},
{
"type": "effect_on_condition",
"id": "chitin3_molt_timer2",
"recurrence": [ "1 days", "2 days" ],
"condition": {
"and": [
{ "u_has_effect": "molting" },
{ "u_has_trait": "CHITIN2" },
{ "or": [ { "u_has_trait": "CHITIN3" }, { "u_has_trait": "CRUSTACEAN_CARAPACE" } ] },
{ "not": { "u_has_effect": "molting_imminent" } }
]
},
"effect": [ { "u_add_effect": "molting_imminent", "intensity": 1, "duration": "PERMANENT" }, { "u_lose_effect": "molting" } ]
},
{
"type": "effect_on_condition",
"id": "chitin3_molt_timer3",
"recurrence": [ "1 hours", "3 hours" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2" },
{ "u_has_trait": "CHITIN3" },
{ "u_has_effect": "molting_imminent" },
{ "not": { "u_has_effect": "molting" } }
]
},
"effect": [
{ "u_add_effect": "narcosis", "duration": "15 minutes" },
{ "u_add_effect": "sleep", "duration": "15 minutes" },
{
"u_message": "Your exoskeleton locks up around you like a straitjacket, completely immobilizing you. As you try to move, you begin to feel it painlessly rip, opening a hole through which you can slowly emerge, raw, soft, and vulnerable.",
"type": "bad"
},
{ "u_lose_trait": "CHITIN3" },
{ "u_lose_trait": "CHITIN2" },
{ "u_lose_trait": "CHITIN" },
{ "u_lose_effect": "molting_imminent" },
{ "u_spawn_item": "chitin_piece", "count": 4 },
{ "u_add_trait": "CHITIN_MOLTED" },
{ "u_add_trait": "CHITIN2_MOLTED" },
{ "u_add_trait": "CHITIN3_MOLTED" }
]
},
{
"type": "effect_on_condition",
"id": "chitin3_molt_timer4",
"recurrence": [ "8 hours", "12 hours" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2_MOLTED" },
{ "u_has_trait": "CHITIN3_MOLTED" },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_effect": "molting_imminent" } }
]
},
"effect": [
{ "u_message": "Your exoskeleton has finished hardening.", "type": "good" },
{ "u_lose_trait": "CHITIN3_MOLTED" },
{ "u_lose_trait": "CHITIN2_MOLTED" },
{ "u_lose_trait": "CHITIN_MOLTED" },
{ "u_add_trait": "CHITIN" },
{ "u_add_trait": "CHITIN2" },
{ "u_add_trait": "CHITIN3" }
]
},
{
"type": "effect_on_condition",
"id": "chitin_carapace_molt_timer3",
"recurrence": [ "1 hours", "3 hours" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2" },
{ "u_has_trait": "CRUSTACEAN_CARAPACE" },
{ "u_has_effect": "molting_imminent" },
{ "not": { "u_has_effect": "molting" } }
]
},
"effect": [
{ "u_add_effect": "narcosis", "duration": "15 minutes" },
{ "u_add_effect": "sleep", "duration": "15 minutes" },
{
"u_message": "Your exoskeleton locks up around you like a straitjacket, completely immobilizing you. As you try to move, you begin to feel it painlessly rip, opening a hole through which you can slowly emerge, raw, soft, and vulnerable.",
"type": "bad"
},
{ "u_lose_trait": "CRUSTACEAN_CARAPACE" },
{ "u_lose_trait": "CHITIN2" },
{ "u_lose_trait": "CHITIN" },
{ "u_lose_effect": "molting_imminent" },
{ "u_spawn_item": "chitin_piece", "count": 5 },
{ "u_add_trait": "CHITIN_MOLTED" },
{ "u_add_trait": "CHITIN2_MOLTED" },
{ "u_add_trait": "CRUSTACEAN_CARAPACE_MOLTED" }
]
},
{
"type": "effect_on_condition",
"id": "chitin_carapace_molt_timer4",
"recurrence": [ "8 hours", "12 hours" ],
"condition": {
"and": [
{ "u_has_trait": "CHITIN2_MOLTED" },
{ "u_has_trait": "CRUSTACEAN_CARAPACE_MOLTED" },
{ "not": { "u_has_effect": "molting" } },
{ "not": { "u_has_effect": "molting_imminent" } }
]
},
"effect": [
{ "u_message": "Your exoskeleton has finished hardening.", "type": "good" },
{ "u_lose_trait": "CRUSTACEAN_CARAPACE_MOLTED" },
{ "u_lose_trait": "CHITIN2_MOLTED" },
{ "u_lose_trait": "CHITIN_MOLTED" },
{ "u_add_trait": "CHITIN" },
{ "u_add_trait": "CHITIN2" },
{ "u_add_trait": "CRUSTACEAN_CARAPACE" }
]
}
]
+296 -39
View File
@@ -46,10 +46,23 @@
"name": [ "Hit-and-run Running" ],
"desc": [ "AI tag for when hit-and-run monsters run away. This is a bug if you have it." ]
},
{
"type": "effect_type",
"id": "spooked",
"name": [ "Cornered Fighter Spooked" ],
"desc": [ "AI tag to let CORNERED_FIGHTER monsters try to flee. This is a bug if you have it." ]
},
{
"type": "effect_type",
"id": "spooked_recent",
"name": [ "Cornered Fighter Recently Spooked" ],
"desc": [ "AI tag to allow CORNERED_FIGHTER monsters to turn and fight. This is a bug if you have it." ]
},
{
"type": "effect_type",
"id": "dragging",
"name": [ "Dragging" ],
"show_in_info": true,
"desc": [ "AI tag for when a monster is dragging you behind it. This is a bug if you have it." ]
},
{
@@ -144,6 +157,12 @@
"name": [ "Said Something Recently" ],
"desc": [ "AI tag to control NPC verbosity. This is a bug if you have it." ]
},
{
"type": "effect_type",
"id": "socialized_recently",
"name": [ "Socialized Recently" ],
"desc": [ "AI tag for asking to NPCs to socialize. This is a bug if you have it." ]
},
{
"type": "effect_type",
"id": "npc_run_away",
@@ -305,8 +324,9 @@
"//": "Mainly for monsters",
"desc": [ "You've been knocked off-balance by an attack." ],
"apply_message": "You're staggered off-balance.",
"max_duration": "5 s",
"base_mods": { "speed_mod": [ -20 ] },
"removes_effects": [ "grabbing" ],
"removes_effects": [ "grabbing", "grabbing_2" ],
"rating": "bad",
"show_in_info": true
},
@@ -356,6 +376,13 @@
"//": "Exposes certain weakpoints",
"desc": [ "You feel exposed -and pretty buggy- without your shell." ]
},
{
"type": "effect_type",
"id": "maimed_arm",
"name": [ "Broken Arm" ],
"//": "Disables base grabs and scratches",
"desc": [ "Your arms are broken. Your imaginary monster arms, so this is probably a bug." ]
},
{
"type": "effect_type",
"id": "maimed_mandible",
@@ -385,6 +412,12 @@
"desc": [ "Your wings are useless, robbing you of unlimited flight." ],
"flags": [ "DISABLE_FLIGHT" ]
},
{
"type": "effect_type",
"id": "stumbled_into_invisible",
"name": [ "Stumbled Into Invisible Player" ],
"desc": [ "This creature has stumbled into an invisible player and is now aware of their presence." ]
},
{
"//": "ACTUAL PLAYER EFFECTS START HERE",
"type": "effect_type",
@@ -593,16 +626,6 @@
"apply_message": "A bionic LED is glowing softly beneath your skin.",
"rating": "mixed"
},
{
"type": "effect_type",
"id": "stung",
"name": [ "Stung" ],
"desc": [ "You have been stung!" ],
"rating": "bad",
"base_mods": { "pain_min": [ 1 ] },
"show_in_info": true,
"blood_analysis_description": "Stung"
},
{
"type": "effect_type",
"id": "staggered_character",
@@ -1684,6 +1707,31 @@
"rating": "bad",
"blood_analysis_description": "Ursine Primer Contamination"
},
{
"type": "effect_type",
"id": "mutagen_crustacean",
"name": [ "Crustacean Mutation", "Crustacean Transformation", "Crustacean Metamorphosis" ],
"desc": [
"You consumed crustacean mutagen.",
"You consumed a large amount of crustacean mutagen.",
"You consumed a life-changing amount of crustacean mutagen."
],
"max_intensity": 3,
"resist_traits": [ "THRESH_CRUSTACEAN" ],
"base_mods": {
"hurt_min": [ 1 ],
"hurt_max": [ 2 ],
"hurt_chance": [ -22 ],
"hurt_tick": [ 75 ],
"pain_min": [ 1 ],
"pain_max": [ 2 ],
"pain_chance": [ 100 ],
"pain_tick": [ 75 ]
},
"scaling_mods": { "hurt_chance": [ 21, 0 ], "pain_chance": [ -30 ] },
"rating": "bad",
"blood_analysis_description": "Crustacean Mutagen Contamination"
},
{
"type": "effect_type",
"id": "beartrap",
@@ -1743,15 +1791,68 @@
},
{
"type": "effect_type",
"id": "smoke",
"name": [ { "ctxt": "inhaled", "str": "Smoke" } ],
"desc": [ "You've inhaled a lungful of thick smoke." ],
"apply_message": "You inhale a lungful of thick smoke.",
"rating": "bad",
"id": "smoke_eyes",
"name": [
"Little Eye Irritation (Smoke)",
"Minor Eye Irritation (Smoke)",
"Huge Eye Irritation (Smoke)",
"Bad Eye Irritation (Smoke)"
],
"desc": [
"Your eyes mildly irritate.",
"Your eyes watering.",
"Your eyes tear and stings heavily.",
"Your eyes burn out of smoke, and you hardly see anything."
],
"apply_message": [
[ "Your eyes mildly irritate.", "bad" ],
[ "Your eyes watering out of smoke.", "bad" ],
[ "Your eyes tear and stings heavily.", "bad" ],
[ "Your eyes burn out of smoke, and you hardly see anything.", "bad" ]
],
"miss_messages": [ [ "Your eyes sting and tear from the smoke.", 1 ] ],
"max_duration": "3 m",
"max_intensity": 4,
"int_decay_tick": 40,
"base_mods": { "per_mod": [ -1 ] },
"scaling_mods": { "per_mod": [ -1 ] },
"limb_score_mods": [
{ "limb_score": "vision", "modifier": 0.8, "resist_modifier": 1.0, "scaling": -0.2 },
{ "limb_score": "night_vis", "modifier": 0.8, "resist_modifier": 1.0, "scaling": -0.2 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ],
"show_in_info": true
},
{
"type": "effect_type",
"id": "smoke_lungs",
"name": [ "Inhaled Some Smoke", "Inhaled Plenty of Smoke", "Smoke Inhalation", "Bad Smoke Inhalation" ],
"desc": [
"You draw in a faint whiff of smoke.",
"Noticeable amount of smoke fills your lungs.",
"Dense cloud of smoke enter your lungs.",
"You inhale an overwhelming amount of smoke."
],
"apply_message": [
[ "You draw in a faint whiff of smoke.", "bad" ],
[ "Noticeable amount of smoke fills your lungs.", "bad" ],
[ "Dense cloud of smoke enter your lungs.", "bad" ],
[ "You inhale an overwhelming amount of smoke.", "bad" ]
],
"miss_messages": [ [ "Your lungs burn from the smoke.", 1 ] ],
"harmful_cough": true,
"max_duration": "10 m",
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -1 ], "cough_chance": [ 10 ] },
"max_duration": "3 m",
"max_intensity": 4,
"int_decay_tick": 40,
"scaling_mods": { "str_mod": [ -1 ], "dex_mod": [ -1 ], "cough_chance": [ 10 ] },
"limb_score_mods": [
{ "limb_score": "breathing", "resist_modifier": 1, "scaling": -0.25 },
{ "limb_score": "reaction", "resist_modifier": 1, "scaling": -0.1 },
{ "limb_score": "balance", "resist_modifier": 1, "scaling": -0.1 },
{ "limb_score": "lift", "resist_modifier": 1, "scaling": -0.1 },
{ "limb_score": "manip", "resist_modifier": 1, "scaling": -0.1 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ],
"show_in_info": true
},
{
@@ -2356,14 +2457,14 @@
"desc": [ "You're covered in thick goo!" ],
"apply_message": "You're covered in thick goo!",
"rating": "bad",
"miss_messages": [ [ "This goo makes you slip", 2 ] ],
"miss_messages": [ [ "This goo makes you slip.", 2 ] ],
"base_mods": { "dex_mod": [ -2 ], "speed_mod": [ -25 ], "vomit_chance": [ 2100 ] },
"show_in_info": true,
"limb_score_mods": [
{ "limb_score": "lift", "modifier": 0.8, "scaling": -0.15 },
{ "limb_score": "block", "modifier": 0.8, "scaling": -0.15 },
{ "limb_score": "breathing", "modifier": 0.9, "scaling": -0.1 },
{ "limb_score": "balance", "modifier": 8, "scaling": -0.2 }
{ "limb_score": "balance", "modifier": 0.8, "scaling": -0.2 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
@@ -2559,6 +2660,7 @@
"apply_message": "You feel a cold coming on…",
"rating": "bad",
"resist_effects": [ "took_flumed" ],
"immune_flags": [ "NO_DISEASE" ],
"miss_messages": [ [ "You're too stuffed up to fight effectively.", 1 ] ],
"base_mods": {
"thirst_tick": [ 1800 ],
@@ -2585,6 +2687,8 @@
"apply_message": "You feel a flu coming on…",
"rating": "bad",
"resist_effects": [ "took_flumed" ],
"immune_flags": [ "NO_DISEASE" ],
"miss_messages": [ [ "You're too stuffed up to fight effectively.", 1 ] ],
"base_mods": {
"thirst_tick": [ 1800 ],
"thirst_min": [ 1 ],
@@ -2601,6 +2705,27 @@
},
"blood_analysis_description": "Viral Infection"
},
{
"type": "effect_type",
"id": "common_cold_immunity",
"name": [ "Common Cold Antibodies" ],
"desc": [ "Common cold antibodies in your bloodstream prevent you from catching common cold." ],
"blocks_effects": [ "common_cold" ],
"rating": "good",
"blood_analysis_description": "Common Cold Antibodies",
"max_duration": 14515200,
"dur_add_perc": 50
},
{
"type": "effect_type",
"id": "fake_common_cold",
"show_in_info": false
},
{
"type": "effect_type",
"id": "fake_flu",
"show_in_info": false
},
{
"type": "effect_type",
"id": "flushot",
@@ -3052,34 +3177,50 @@
"type": "effect_type",
"id": "grabbed",
"name": [ "Grabbed" ],
"desc": [ "You have been grabbed by an attack.\nYou are being held in place, and dodging and blocking are very difficult." ],
"desc": [
"You have been grabbed and held in place by an attack. You're not able to move until breaking the grab, and depending on the strength of your opponent using this limb is difficult to impossible.\nWait in place or attempt to move without attacking to try and remove this effect."
],
"rating": "bad",
"max_duration": "2 s",
"max_intensity": 15,
"base_mods": { "speed_mod": [ -15 ] },
"scaling_mods": { "speed_mod": [ -5 ] },
"//": "Removal handled in code, so no max duration needed, intensity set by the grab_strength, all effects are local-only",
"max_intensity": 100,
"show_in_info": true,
"show_intensity": true,
"//": "Monster attacks only grab the torso to keep the intensity check consistent, but assume limbs getting grabbed as well",
"//mods": "No swimmin' or manipulatin' with a held limb, other scores start severly debilitated and reach useless at about 50 grab strength",
"base_mods": { "dodge_mod": [ -10 ] },
"limb_score_mods": [
{ "limb_score": "manip", "modifier": 0.8, "scaling": -0.05 },
{ "limb_score": "lift", "modifier": 0.9, "scaling": -0.1 },
{ "limb_score": "block", "modifier": 0.7, "scaling": -0.1 },
{ "limb_score": "breathing", "modifier": 0.8, "scaling": -0.1 },
{ "limb_score": "reaction", "modifier": 0.9, "scaling": -0.1 },
{ "limb_score": "balance", "modifier": 0.655, "scaling": -0.07 },
{ "limb_score": "swim", "modifier": 0.8, "scaling": -0.2 }
{ "limb_score": "manip", "modifier": 0.0 },
{ "limb_score": "grip", "modifier": 0.0 },
{ "limb_score": "lift", "modifier": 0.6, "scaling": -0.015 },
{ "limb_score": "block", "modifier": 0.25, "scaling": -0.01 },
{ "limb_score": "breathing", "modifier": 0.75, "scaling": -0.005 },
{ "limb_score": "balance", "modifier": 0.6, "scaling": -0.016 },
{ "limb_score": "move_speed", "modifier": 0.6, "scaling": -0.01 },
{ "limb_score": "footing", "modifier": 0.6, "scaling": -0.01 },
{ "limb_score": "swim", "modifier": 0.0 }
],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
"flags": [ "EFFECT_LIMB_SCORE_MOD_LOCAL", "GRAB" ]
},
{
"type": "effect_type",
"id": "grabbing",
"name": [ "Grabbing" ],
"desc": [ "Grabbing another creature and holding them in place." ],
"max_duration": "2 s",
"max_intensity": 15,
"show_in_info": true
"max_intensity": 1,
"show_in_info": true,
"//": "-dodge (can't really miss something holding you)",
"base_mods": { "dodge_mod": [ -8 ] },
"flags": [ "GRAB_FILTER" ]
},
{
"type": "effect_type",
"id": "grabbing_2",
"name": [ "Grabbing" ],
"desc": [ "Grabbing another creature and holding them in place with a second appendage." ],
"max_intensity": 1,
"show_in_info": true,
"//": "-dodge (can't really miss something holding you)",
"base_mods": { "dodge_mod": [ -8 ] },
"flags": [ "GRAB_FILTER" ]
},
{
"type": "effect_type",
@@ -3966,7 +4107,9 @@
"show_intensity": false,
"enchantments": [
{
"values": [ { "value": "CARRY_WEIGHT", "add": { "global_val": "var", "var_name": "portal_dungeon_carry_strength" } } ]
"values": [
{ "value": "CARRY_WEIGHT", "add": { "global_val": "var", "var_name": "portal_dungeon_carry_strength", "default": -1 } }
]
}
]
},
@@ -3979,6 +4122,120 @@
"remove_message": "Reality reasserts itself and your time returns to normal.",
"rating": "bad",
"show_intensity": false,
"enchantments": [ { "values": [ { "value": "SPEED", "add": { "global_val": "var", "var_name": "portal_dungeon_slow_strength" } } ] } ]
"enchantments": [
{
"values": [ { "value": "SPEED", "add": { "global_val": "var", "var_name": "portal_dungeon_slow_strength", "default": -1 } } ]
}
]
},
{
"type": "effect_type",
"id": "glowing_gas",
"name": [ { "ctxt": "inhaled", "str": "Glowing Gas" } ],
"desc": [
"You've inhaled a lungful of glowing nether parasite spores. Thankfully, they don't seem adapted to the human physiology."
],
"apply_message": "You inhale a lungful of the glowing gas, and you have an urge to violently cough.",
"rating": "bad",
"miss_messages": [ [ "Your lungs burn from the glowing gas.", 1 ] ],
"harmful_cough": true,
"max_duration": "10 m",
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -1 ], "cough_chance": [ 10 ] },
"show_in_info": true
},
{
"type": "effect_type",
"id": "glowing_gas_cover",
"name": [ "Glowing" ],
"desc": [ "You are covered in glowing nether spores!" ],
"apply_message": "The glowing spores settle on you!",
"rating": "bad"
},
{
"id": "lightsnare",
"type": "effect_type",
"name": [ "Snared" ],
"desc": [ "For such a tiny creature, you're in a very big pickle." ],
"rating": "bad",
"show_intensity": false,
"//": "Don't multiply speed by 0 or else the effect will never be removed for creatures with 0 damage(e.g. rabbits)",
"enchantments": [ { "values": [ { "value": "SPEED", "multiply": 0.01 } ] } ]
},
{
"id": "Shadow_Reveal",
"type": "effect_type",
"max_duration": "60 s",
"name": [ "Revealed" ],
"desc": [ "The shadows no longer hide you!" ],
"rating": "bad",
"show_intensity": false,
"show_in_info": true,
"enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "LUMINATION", "add": 10 } ] } ]
},
{
"id": "photophobia",
"type": "effect_type",
"max_duration": "5 s",
"name": [ "photophobia" ],
"base_mods": { "speed_mod": [ -100 ] },
"desc": [ "It burns! Thankfully, this can't ever happen to you. This is a bug if you have it." ],
"rating": "bad",
"show_intensity": false,
"show_in_info": true,
"//": "Enchantments don't actually work for monsters! If you find that shadow is suddenly very killable, they probably got hooked up!",
"enchantments": [
{
"condition": "ALWAYS",
"values": [
{ "value": "SPEED", "multiply": 0.5 },
{ "value": "ARMOR_BASH", "add": 15 },
{ "value": "ARMOR_STAB", "add": 15 },
{ "value": "ARMOR_CUT", "add": 15 },
{ "value": "ARMOR_HEAT", "add": 15 },
{ "value": "ARMOR_COLD", "add": 15 },
{ "value": "ARMOR_ELEC", "add": 15 },
{ "value": "ARMOR_ACID", "add": 15 },
{ "value": "ARMOR_BULLET", "add": 400 }
]
}
]
},
{
"type": "effect_type",
"id": "molting",
"name": [ "Molting" ],
"desc": [ "You feel a strong urge to hide somewhere safe." ],
"apply_message": "Your chitin plating itches against your body.",
"rating": "bad",
"base_mods": {
"per_mod": [ -1 ],
"dex_mod": [ -1 ],
"str_mod": [ -1 ],
"speed_mod": [ -10 ],
"pain_min": [ 1 ],
"pain_chance": [ 1 ],
"pain_max_val": [ 15 ]
},
"limb_score_mods": [ { "limb_score": "reaction", "modifier": 0.95 }, { "limb_score": "manip", "modifier": 0.95 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "molting_imminent",
"name": [ "Imminent Molting" ],
"desc": [ "Seek shelter, you will be helpless when it begins." ],
"apply_message": "You can hardly move in your tightening exoskeleton, and you feel a strong impulse to hunker down somewhere safe.",
"rating": "bad",
"base_mods": {
"per_mod": [ -2 ],
"dex_mod": [ -3 ],
"str_mod": [ -3 ],
"speed_mod": [ -30 ],
"pain_min": [ 1 ],
"pain_chance": [ 1 ],
"pain_max_val": [ 35 ]
},
"limb_score_mods": [ { "limb_score": "reaction", "modifier": 0.75 }, { "limb_score": "manip", "modifier": 0.75 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
}
]
+22
View File
@@ -454,5 +454,27 @@
"field": "fd_clairvoyant",
"intensity": 1,
"qty": 9
},
{
"id": "emit_bees",
"type": "emit",
"//": "Periodic swarm of bees",
"field": "fd_bee_swarm",
"intensity": 3,
"chance": 15
},
{
"id": "emit_monster_gas_1",
"type": "emit",
"field": "fd_nm_monster_gas_1",
"intensity": 3,
"chance": 10
},
{
"id": "emit_monster_gas_2",
"type": "emit",
"field": "fd_nm_monster_gas_2",
"intensity": 3,
"chance": 10
}
]
+30
View File
@@ -21,6 +21,18 @@
{ "lose": "hand_r" }
]
},
{
"type": "enchantment",
"id": "ENCH_DEBUG_BIG_HEAD",
"condition": "ALWAYS",
"modified_bodyparts": [ { "lose": "head" }, { "gain": "big_head" } ]
},
{
"type": "enchantment",
"id": "ENCH_GASTROPOD_FOOT",
"condition": "ALWAYS",
"modified_bodyparts": [ { "lose": "leg_l" }, { "lose": "leg_r" }, { "lose": "foot_r" }, { "lose": "foot_l" }, { "gain": "gastropod_foot" } ]
},
{
"type": "enchantment",
"id": "RM13",
@@ -82,6 +94,24 @@
"condition": "ACTIVE",
"values": [ { "value": "STRENGTH", "add": 10 } ]
},
{
"id": "ench_meteor_armor",
"type": "enchantment",
"name": { "str": "Hyperdense" },
"description": "Your armor's massive weight makes it nearly impossible to be knocked over or pushed back.",
"has": "WORN",
"condition": "ALWAYS",
"values": [ { "value": "KNOCKBACK_RESIST", "add": 1.0 }, { "value": "KNOCKDOWN_RESIST", "add": 1.0 } ]
},
{
"id": "ench_meteor_mask",
"type": "enchantment",
"name": { "str": "Detect Evil" },
"description": "Your armor lets you detect otherworldly presence with ease.",
"has": "WORN",
"condition": "ALWAYS",
"values": [ { "value": "SIGHT_RANGE_NETHER", "add": 10 } ]
},
{
"id": "ench_dampened_steps",
"type": "enchantment",
+59 -41
View File
@@ -2,50 +2,20 @@
{
"type": "effect_on_condition",
"id": "EOC_RandEnc_Roadstop_add",
"recurrence": 3000,
"recurrence": 1800,
"global": true,
"condition": {
"and": [
{ "u_near_om_location": "roadstop_a", "range": 30 },
"is_day",
{ "one_in_chance": 10 },
{ "days_since_cataclysm": 7 },
{
"not": { "u_compare_time_since_var": "RandEnc", "type": "timer", "context": "caravan", "op": "<", "time": "1 d" }
},
{ "not": { "u_near_om_location": "roadstop_a", "range": 2 } },
{ "not": { "is_season": "winter" } }
]
},
"effect": [
{ "mapgen_update": "nest_RandEnc_roadstop_a_add", "om_terrain": "roadstop_a" },
{ "u_add_var": "RandEnc", "type": "timer", "context": "caravan", "time": true },
{ "set_condition": "random_enc_condition", "condition": { "and": [ { "not": { "is_season": "winter" } }, "is_day" ] } },
{
"u_location_variable": { "global_val": "randenc_caravan_loc" },
"target_params": { "om_terrain": "roadstop_a" }
},
{ "arithmetic": [ { "global_val": "var", "var_name": "RandEnc_Caravan" }, "=", { "const": 1 } ] }
]
},
{
"type": "effect_on_condition",
"id": "EOC_RandEnc_Roadstop_remove",
"recurrence": 200,
"global": true,
"condition": {
"and": [
{ "u_compare_time_since_var": "RandEnc", "type": "timer", "context": "caravan", "op": ">", "time": "1 h" },
{ "not": { "u_near_om_location": "roadstop_a", "range": 2 } },
{ "compare_num": [ { "global_val": "var", "var_name": "RandEnc_Caravan" }, "==", { "const": 1 } ] }
]
},
"effect": [
{
"mapgen_update": "nest_RandEnc_roadstop_a_remove",
"om_terrain": "roadstop_a",
"target_var": { "global_val": "randenc_caravan_loc" }
},
{ "arithmetic": [ { "global_val": "var", "var_name": "RandEnc_Caravan" }, "=", { "const": 0 } ] }
"run_eoc_with": "EOC_RandEnc",
"variables": {
"omt": "roadstop_a",
"map_update": "nest_RandEnc_roadstop_a_add",
"map_removal": "nest_RandEnc_roadstop_a_remove",
"chance": "10",
"days_till_spawn": "7"
}
}
]
},
{
@@ -75,5 +45,53 @@
],
"remove_vehicles": [ { "vehicles": [ "FM_early_pickup" ], "x": [ 1, 15 ], "y": [ 1, 10 ] } ]
}
},
{
"type": "effect_on_condition",
"id": "EOC_RandEnc_Roadstop_refugee_add",
"recurrence": 1800,
"global": true,
"effect": [
{
"set_condition": "random_enc_condition",
"condition": { "and": [ { "not": { "is_season": "winter" } }, "is_day", { "not": { "days_since_cataclysm": 45 } } ] }
},
{
"run_eoc_with": "EOC_RandEnc",
"variables": {
"omt": "roadstop_a",
"map_update": "nest_RandEnc_roadstop_a_refugee_add",
"map_removal": "nest_RandEnc_roadstop_a_refugee_remove",
"chance": "10",
"days_till_spawn": "7"
}
}
]
},
{
"type": "mapgen",
"method": "json",
"update_mapgen_id": "nest_RandEnc_roadstop_a_refugee_add",
"//": "Adds refugee random encounter at this roadstop",
"object": {
"place_npcs": [
{ "class": "NC_caravan_refugee_A", "x": 5, "y": 4 },
{ "class": "NC_caravan_refugee_B", "x": 4, "y": 1 },
{ "class": "NC_caravan_refugee_C", "x": 4, "y": 2 }
]
}
},
{
"type": "mapgen",
"method": "json",
"update_mapgen_id": "nest_RandEnc_roadstop_a_refugee_remove",
"//": "removes refugee random encounter at this roadstop",
"object": {
"remove_npcs": [
{ "class": "NC_caravan_refugee_A", "x": 0, "y": 0 },
{ "class": "NC_caravan_refugee_B", "x": 0, "y": 0 },
{ "class": "NC_caravan_refugee_C", "x": 0, "y": 0 }
]
}
}
]
+50
View File
@@ -0,0 +1,50 @@
[
{
"type": "effect_on_condition",
"id": "EOC_selector_test",
"effect": [
{
"run_eoc_selector": [ "EOC_selector_test_1", "EOC_selector_test_2", "EOC_selector_test_3", "EOC_selector_test_4" ],
"names": [ "name_1", "name_2", "name_3", "should_fail" ],
"keys": [ "a", "b", "c", "d" ],
"descriptions": [ "option 1", "option 2", "option 3", "should not be available" ],
"variables": [ { "val": "8" } ]
}
]
},
{
"type": "effect_on_condition",
"id": "EOC_selector_test_1",
"effect": [ { "math": [ "key1", "=", "1" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_selector_test_2",
"effect": [ { "math": [ "key1", "=", "2" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_selector_test_3",
"effect": [ { "math": [ "key1", "=", "_val" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_selector_test_4",
"condition": { "math": [ "1", "<", "0" ] },
"effect": [ { "math": [ "key1", "=", "_val" ] } ]
},
{
"type": "effect_on_condition",
"id": "EOC_selector_test_hidden",
"effect": [
{
"run_eoc_selector": [ "EOC_selector_test_1", "EOC_selector_test_2", "EOC_selector_test_3", "EOC_selector_test_4" ],
"names": [ "name_1", "name_2", "name_3", "should_fail" ],
"keys": [ "a", "b", "c", "d" ],
"descriptions": [ "option 1", "option 2", "option 3", "should not be available" ],
"variables": [ { "val": "8" } ],
"hide_failing": true
}
]
}
]
+9
View File
@@ -0,0 +1,9 @@
[
{
"id": "fault_bionic_salvaged",
"type": "fault",
"name": { "str": "Already deployed" },
"description": "This bionic needs to be reset to its factory state.",
"item_prefix": "salvaged"
}
]
+32
View File
@@ -0,0 +1,32 @@
[
{
"id": "fault_gun_blackpowder",
"type": "fault",
"name": { "str": "Blackpowder fouling" },
"description": "Firing blackpowder loads from a gun fouls it, which reduces reliability and, if left uncleaned, leads to rust. It fouls the gun much faster than the use of modern smokeless powder cartridges. Fouling is only a significant impact on reliability at high levels, but black powder fouling accumulates quickly.",
"item_prefix": "rusting",
"flags": [ "BLACKPOWDER_FOULING_DAMAGE", "NO_DIRTYING" ]
},
{
"id": "fault_gun_chamber_spent",
"type": "fault",
"name": { "str": "Spent casing in chamber" },
"description": "This gun currently has an empty casing chambered. It will have to be removed before firing.",
"item_prefix": "jammed",
"flags": [ "JAMMED_GUN" ]
},
{
"id": "fault_gun_unlubricated",
"type": "fault",
"name": { "str": "Unlubricated" },
"description": "Either this gun is brand new and came without lubrication or it was recently cleaned with a solvent without oiling afterwards. Either way, it's not lubricated and will not cycle properly, and can even be damaged.",
"item_prefix": "unlubricated",
"flags": [ "UNLUBRICATED", "BAD_CYCLING" ]
},
{
"id": "fault_gun_dirt",
"type": "fault",
"name": { "str": "Fouling" },
"description": "Fouling is caused by firing gunpowder loads repeatedly, which reduces reliability and can eventually cause damage to the gun. Fouling accumulates slowly (unless blackpowder is used) due to the design of modern smokeless powder found in the vast majority of retail cartridges and it is not a significant problem until high levels of fouling are reached due to firing thousands of rounds without cleaning your firearm."
}
]
+66
View File
@@ -0,0 +1,66 @@
[
{
"id": "fault_engine_belt_drive",
"type": "fault",
"name": { "str": "Worn drive belt" },
"description": "Required for operation of an attached alternator.",
"item_prefix": "faulty",
"flags": [ "NO_ALTERNATOR_CHARGE" ]
},
{
"id": "fault_engine_glow_plug",
"type": "fault",
"name": { "str": "Faulty glow plugs" },
"description": "Help when starting an engine in low ambient temperatures.",
"item_prefix": "faulty",
"flags": [ "BAD_COLD_START" ]
},
{
"id": "fault_engine_immobiliser",
"type": "fault",
"name": { "str": "Active immobiliser" },
"description": "An immobiliser device prevents starting of the vehicle without the appropriate key.",
"item_prefix": "faulty",
"flags": [ "IMMOBILIZER" ]
},
{
"id": "fault_engine_pump_diesel",
"type": "fault",
"name": { "str": "Faulty diesel pump" },
"description": "Required to pump and pressurize diesel from a vehicles tank.",
"item_prefix": "faulty",
"flags": [ "BAD_FUEL_PUMP" ]
},
{
"id": "fault_engine_filter_air",
"type": "fault",
"name": { "str": "Expired air filter" },
"description": "An expired filter reduces fuel efficiency and increases smoke production.",
"item_prefix": "faulty",
"flags": [ "DOUBLE_FUEL_CONSUMPTION", "EXTRA_EXHAUST" ]
},
{
"id": "fault_engine_filter_fuel",
"type": "fault",
"name": { "str": "Expired fuel filter" },
"description": "An expired filter reduces performance and increases the chance of backfires.",
"item_prefix": "faulty",
"flags": [ "REDUCE_ENG_POWER", "ENG_BACKFIRE" ]
},
{
"id": "fault_engine_pump_fuel",
"type": "fault",
"name": { "str": "Faulty fuel pump" },
"description": "Required to pump gasoline from a vehicles tank.",
"item_prefix": "faulty",
"flags": [ "BAD_FUEL_PUMP" ]
},
{
"id": "fault_engine_starter",
"type": "fault",
"name": { "str": "Faulty starter motor" },
"description": "Required to initially start the engine.",
"item_prefix": "faulty",
"flags": [ "BAD_STARTER" ]
}
]
+12
View File
@@ -0,0 +1,12 @@
[
{
"type": "fault_fix",
"id": "mend_fault_bonic_salvaged_reset",
"name": "Reset to factory state",
"success_msg": "You successfully reset the %s to its factory state.",
"time": "45 m",
"faults_removed": [ "fault_bionic_salvaged" ],
"skills": { "mechanics": 3, "electronics": 2, "firstaid": 4 },
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ] } ]
}
]
+73
View File
@@ -0,0 +1,73 @@
[
{
"type": "fault_fix",
"id": "mend_gun_fouling_clean",
"name": "Clean fouling",
"success_msg": "You clean your %s.",
"time": "50 m",
"faults_removed": [ "fault_gun_dirt" ],
"faults_added": [ "fault_gun_unlubricated" ],
"skills": { "mechanics": 1 },
"set_variables": { "dirt": "0" },
"requirements": [ [ "gun_cleaning", 1 ] ],
"time_save_profs": { "prof_gun_cleaning": 0.5 }
},
{
"type": "fault_fix",
"id": "mend_gun_fouling_bp",
"name": "Clean blackpowder fouling",
"success_msg": "You clean your %s.",
"time": "50 m",
"faults_removed": [ "fault_gun_blackpowder" ],
"faults_added": [ "fault_gun_unlubricated" ],
"skills": { "mechanics": 1 },
"set_variables": { "dirt": "0", "rust_timer": "0" },
"requirements": [ [ "gun_cleaning_bp", 1 ] ],
"time_save_profs": { "prof_gun_cleaning": 0.5 },
"time_save_flags": { "EASY_CLEAN": 0.5 }
},
{
"type": "fault_fix",
"id": "mend_gun_fouling_clean_and_lube",
"name": "Clean fouling and lubricate",
"success_msg": "You clean and lubricate your %s.",
"time": "60 m",
"faults_removed": [ "fault_gun_dirt", "fault_gun_unlubricated" ],
"skills": { "mechanics": 1 },
"set_variables": { "dirt": "0" },
"requirements": [ [ "gun_cleaning", 1 ], [ "gun_lubrication", 1 ] ],
"time_save_profs": { "prof_gun_cleaning": 0.5 }
},
{
"type": "fault_fix",
"id": "mend_gun_fouling_clean_and_lube_bp",
"name": "Clean fouling and lubricate",
"success_msg": "You clean and lubricate your %s.",
"time": "60 m",
"faults_removed": [ "fault_gun_blackpowder", "fault_gun_unlubricated" ],
"skills": { "mechanics": 1 },
"set_variables": { "dirt": "0", "rust_timer": "0" },
"requirements": [ [ "gun_cleaning_bp", 1 ], [ "gun_lubrication", 1 ] ],
"time_save_profs": { "prof_gun_cleaning": 0.5 },
"time_save_flags": { "EASY_CLEAN": 0.5 }
},
{
"type": "fault_fix",
"id": "mend_fault_gun_chamber_spent_eject",
"name": "Eject spent casing",
"success_msg": "You eject the spent casing from the %s.",
"time": "1 s",
"faults_removed": [ "fault_gun_chamber_spent" ]
},
{
"type": "fault_fix",
"id": "mend_fault_gun_unlubricated",
"name": "Lubricate",
"time": "10 m",
"faults_removed": [ "fault_gun_unlubricated" ],
"skills": { "mechanics": 1 },
"success_msg": "You lubricate the %s.",
"requirements": [ [ "gun_lubrication", 1 ] ],
"time_save_profs": { "prof_gun_cleaning": 0.5 }
}
]
+97
View File
@@ -0,0 +1,97 @@
[
{
"type": "fault_fix",
"id": "mend_fault_engine_belt_drive_replace",
"name": "Replace worn drive belt",
"success_msg": "You replace the worn drive belt of the %s.",
"time": "5 m",
"faults_removed": [ "fault_engine_belt_drive" ],
"skills": { "mechanics": 2 },
"requirements": [
{
"qualities": [ { "id": "WRENCH", "level": 1 } ],
"components": [ [ [ "drivebelt", 1 ], [ "drivebelt_makeshift", 1 ] ] ]
}
]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_glow_plug_replace",
"name": "Replace faulty glow plugs",
"success_msg": "You replace the faulty glow plugs of the %s.",
"time": "40 m",
"faults_removed": [ "fault_engine_glow_plug" ],
"skills": { "mechanics": 4 },
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "glowplug", 1 ] ] ] } ]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_immobiliser_deactivate",
"name": "Deactivate immobiliser",
"success_msg": "You successfully deactivate the immobiliser of the %s.",
"time": "5 m",
"faults_removed": [ "fault_engine_immobiliser" ],
"skills": { "mechanics": 2, "electronics": 5 },
"requirements": [ { "qualities": [ { "id": "SCREW_FINE", "level": 1 } ] } ]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_pump_diesel_replace",
"name": "Replace faulty diesel pump",
"success_msg": "You replace the faulty diesel pump of the %s.",
"time": "40 m",
"faults_removed": [ "fault_engine_pump_diesel" ],
"skills": { "mechanics": 4 },
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "pump_complex", 1 ] ] ] } ]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_filter_air_replace",
"name": "Replace expired air filter",
"success_msg": "You replace the expired air filter of the %s.",
"time": "5 m",
"faults_removed": [ "fault_engine_filter_air" ],
"skills": { "mechanics": 1 },
"requirements": [
{
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "filter_air", 1 ], [ "filter_air_makeshift", 1 ] ] ]
}
]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_filter_fuel_replace",
"name": "Replace expired fuel filter",
"success_msg": "You replace the expired fuel filter of the %s.",
"time": "5 m",
"faults_removed": [ "fault_engine_filter_fuel" ],
"skills": { "mechanics": 1 },
"requirements": [
{
"qualities": [ { "id": "SCREW", "level": 1 } ],
"components": [ [ [ "filter_liquid", 1 ], [ "filter_liquid_makeshift", 1 ] ] ]
}
]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_pump_fuel_replace",
"name": "Replace faulty fuel pump",
"success_msg": "You replace the faulty fuel pump of the %s.",
"time": "40 m",
"faults_removed": [ "fault_engine_pump_fuel" ],
"skills": { "mechanics": 4 },
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "well_pump", 1 ] ] ] } ]
},
{
"type": "fault_fix",
"id": "mend_fault_engine_starter_replace",
"name": "Replace faulty starter motor",
"success_msg": "You replace the faulty starter motor of %s.",
"time": "10 m",
"faults_removed": [ "fault_engine_starter" ],
"skills": { "mechanics": 3 },
"requirements": [ { "qualities": [ { "id": "WRENCH_FINE", "level": 1 } ], "components": [ [ [ "motor_tiny", 1 ] ] ] } ]
}
]
+169 -21
View File
@@ -129,6 +129,41 @@
},
"display_field": true
},
{
"id": "fd_void_web",
"type": "field_type",
"looks_like": "fd_web",
"intensity_levels": [
{
"name": "starlit webs",
"transparent": false,
"effects": [
{ "effect_id": "webbed", "intensity": 1, "min_duration": "1 m", "immune_in_vehicle": true, "is_environmental": false }
]
},
{
"name": "starlit webs",
"transparent": false,
"effects": [
{ "effect_id": "webbed", "intensity": 2, "min_duration": "1 m", "immune_in_vehicle": true, "is_environmental": false }
]
},
{
"name": "starlit webs",
"transparent": false,
"effects": [
{ "effect_id": "webbed", "intensity": 3, "min_duration": "1 m", "immune_in_vehicle": true, "is_environmental": false }
]
}
],
"description_affix": "covered_in",
"immune_mtypes": [ "mon_void_spider", "mon_void_spider_spiderling" ],
"decrease_intensity_on_contact": true,
"priority": 2,
"phase": "solid",
"display_items": false,
"display_field": true
},
{
"id": "fd_slime",
"type": "field_type",
@@ -419,11 +454,21 @@
"translucency": 1,
"effects": [
{
"effect_id": "smoke",
"effect_id": "smoke_eyes",
"body_part": "eyes",
"intensity": 1,
"min_duration": "2 seconds",
"max_duration": "2 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "sensor", 3 ] ] },
"immune_inside_vehicle": true
},
{
"effect_id": "smoke_lungs",
"body_part": "mouth",
"intensity": 1,
"min_duration": "2 seconds",
"max_duration": "2 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 3 ] ] },
"immune_inside_vehicle": true
}
]
@@ -435,11 +480,21 @@
"translucency": 10,
"effects": [
{
"effect_id": "smoke",
"effect_id": "smoke_eyes",
"body_part": "eyes",
"intensity": 2,
"min_duration": "7 seconds",
"max_duration": "7 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "sensor", 5 ] ] },
"immune_inside_vehicle": true
},
{
"effect_id": "smoke_lungs",
"body_part": "mouth",
"intensity": 2,
"min_duration": "7 seconds",
"max_duration": "7 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 5 ] ] },
"immune_inside_vehicle": true
}
],
@@ -451,11 +506,21 @@
"translucency": 0,
"effects": [
{
"effect_id": "smoke",
"effect_id": "smoke_eyes",
"body_part": "eyes",
"intensity": 4,
"min_duration": "15 seconds",
"max_duration": "15 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "sensor", 7 ] ] },
"immune_inside_vehicle": true
},
{
"effect_id": "smoke_lungs",
"body_part": "mouth",
"intensity": 4,
"min_duration": "15 seconds",
"max_duration": "15 seconds",
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 7 ] ] },
"immune_inside_vehicle": true
}
],
@@ -467,7 +532,6 @@
"dirty_transparency_cache": true,
"percent_spread": 10,
"outdoor_age_speedup": "0 turns",
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 7 ] ] },
"priority": 8,
"half_life": "2 minutes",
"phase": "gas",
@@ -1140,23 +1204,6 @@
"display_field": true,
"looks_like": "fd_smoke"
},
{
"id": "fd_bees",
"type": "field_type",
"legacy_enum_id": 37,
"intensity_levels": [
{ "name": "some bees", "sym": "8", "dangerous": true },
{ "name": "swarm of bees", "color": "light_gray" },
{ "name": "angry swarm of bees", "color": "dark_gray" }
],
"percent_spread": 5,
"outdoor_age_speedup": "0 turns",
"dirty_transparency_cache": true,
"priority": 8,
"half_life": "100 minutes",
"display_items": false,
"display_field": true
},
{
"id": "fd_incendiary",
"type": "field_type",
@@ -1638,6 +1685,27 @@
"phase": "solid",
"display_field": false
},
{
"id": "fd_bee_swarm",
"type": "field_type",
"intensity_levels": [
{ "name": "a few bees", "sym": ".", "dangerous": true, "translucency": 1 },
{ "name": "a swarm of bees", "color": "yellow", "transparent": true, "translucency": 1 },
{ "name": "a cloud of bees", "color": "green", "translucency": 0 }
],
"decay_amount_factor": 5,
"gas_absorption_factor": 15,
"percent_spread": 25,
"outdoor_age_speedup": "10 minutes",
"dirty_transparency_cache": true,
"has_fume": true,
"immunity_data": { "body_part_env_resistance": [ [ "torso", 5 ] ] },
"priority": 3,
"half_life": "10 minute",
"phase": "gas",
"display_items": true,
"display_field": true
},
{
"id": "fd_churned_earth",
"type": "field_type",
@@ -1648,5 +1716,85 @@
"display_items": true,
"phase": "solid",
"looks_like": "t_dirtmound"
},
{
"id": "fd_last_known",
"type": "field_type",
"intensity_levels": [ { "name": "last known position", "dangerous": false } ]
},
{
"id": "fd_nm_monster_gas_1",
"//": "Spores cause players to light up",
"type": "field_type",
"intensity_levels": [
{
"name": "glowing gas spores",
"sym": ".",
"dangerous": true,
"light_emitted": 10,
"translucency": 5,
"effects": [
{
"effect_id": "glowing_gas_cover",
"body_part": "torso",
"intensity": 4,
"min_duration": "1 minutes",
"max_duration": "2 minutes"
}
]
},
{ "//": "repeat last entry" },
{ "//": "repeat last entry" }
],
"decay_amount_factor": 5,
"gas_absorption_factor": 15,
"percent_spread": 25,
"outdoor_age_speedup": "1 minutes",
"dirty_transparency_cache": true,
"has_fume": true,
"priority": 8,
"half_life": "15 minutes",
"phase": "gas",
"display_items": false,
"display_field": true,
"looks_like": "fd_tear_gas"
},
{
"id": "fd_nm_monster_gas_2",
"//": "Spores, when inhaled, act like smoke",
"type": "field_type",
"intensity_levels": [
{
"name": "glowing gas",
"sym": ".",
"dangerous": true,
"light_emitted": 10,
"translucency": 5,
"effects": [
{
"effect_id": "glowing_gas",
"body_part": "mouth",
"intensity": 4,
"min_duration": "15 seconds",
"max_duration": "25 seconds"
}
]
},
{ "//": "repeat last entry" },
{ "//": "repeat last entry" }
],
"decay_amount_factor": 5,
"gas_absorption_factor": 15,
"percent_spread": 25,
"outdoor_age_speedup": "1 minutes",
"dirty_transparency_cache": true,
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 15 ] ] },
"has_fume": true,
"priority": 8,
"half_life": "15 minutes",
"phase": "gas",
"display_items": false,
"display_field": true,
"looks_like": "fd_tear_gas"
}
]
+211 -42
View File
@@ -1,4 +1,34 @@
[
{
"id": "ABLATIVE_CHAINMAIL_ARMS",
"type": "json_flag",
"info": "You can use this armor <info>with chainmail</info> with out encumbrance penalty",
"restriction": "Item must be a chainmail compatible armor piece"
},
{
"id": "ABLATIVE_CHAINMAIL_ELBOWS",
"type": "json_flag",
"info": "You can use this armor <info>with chainmail</info> with out encumbrance penalty",
"restriction": "Item must be a chainmail compatible armor piece"
},
{
"id": "ABLATIVE_CHAINMAIL_LEGS",
"type": "json_flag",
"info": "You can use this armor <info>with chainmail</info> with out encumbrance penalty",
"restriction": "Item must be a chainmail compatible armor piece"
},
{
"id": "ABLATIVE_CHAINMAIL_KNEES",
"type": "json_flag",
"info": "You can use this armor <info>with chainmail</info> with out encumbrance penalty",
"restriction": "Item must be a chainmail compatible armor piece"
},
{
"id": "ABLATIVE_CHAINMAIL_TORSO",
"type": "json_flag",
"info": "You can use this armor <info>with chainmail</info> with out encumbrance penalty",
"restriction": "Item must be a chainmail compatible armor piece"
},
{
"id": "ABLATIVE_LARGE",
"type": "json_flag",
@@ -11,6 +41,24 @@
"info": "This will hook to a <info>Hub 01 proprietary</info> mantle connector",
"restriction": "Item must be an armored mantle"
},
{
"id": "STAR_PLATE",
"type": "json_flag",
"info": "This can be supported by the ryūsei battle kit",
"restriction": "Item must be resonance plate"
},
{
"id": "STAR_SHOULDER",
"type": "json_flag",
"info": "This can be supported by the ryūsei battle kit",
"restriction": "Item must be resonance shoulder"
},
{
"id": "STAR_SKIRT",
"type": "json_flag",
"info": "This can be supported by the ryūsei battle kit",
"restriction": "Item must be resonance skirt"
},
{
"id": "ABLATIVE_MEDIUM",
"type": "json_flag",
@@ -143,6 +191,11 @@
"info": "This item has a <good>diamond coating</good> improving its <info>cutting or piercing damage</info>.",
"inherit": false
},
{
"id": "GEMSTONE",
"type": "json_flag",
"info": "This item is a precious gemstone, used for ornamentation. This is mostly useless post-Cataclysm."
},
{
"id": "DIG_TOOL",
"type": "json_flag",
@@ -154,6 +207,11 @@
"info": "As a weapon, this item is <good>well-made</good> and will <info>withstand the punishment of combat</info>.",
"conflicts": [ "FRAGILE_MELEE" ]
},
{
"id": "EASY_CLEAN",
"type": "json_flag",
"info": "This gun is made of <info>relatively simple parts</info> which makes powder fouling <good>easier to clean</good>."
},
{
"id": "FIELD_DRESS",
"type": "json_flag"
@@ -305,6 +363,24 @@
"info": "This item is attachable in the back of <info>hard hats and helmets</info> as a counterweight pouch.",
"restriction": "Item must be some kind of back pouch"
},
{
"id": "HELMET_HEAD_ATTACHMENT",
"type": "json_flag",
"info": "This item is attachable in <info>tactical helmets</info> as a flashlight.",
"restriction": "Item must be some kind of flashlight"
},
{
"id": "HELMET_AVENTAIL",
"type": "json_flag",
"info": "This item is attachable to metal cap helmets as a face and neck protective layer.",
"restriction": "Item must be some kind of chainmail veil"
},
{
"id": "EXTRA_PLATING",
"type": "json_flag",
"info": "This item is wearable over some armors as an extra layer of plating.",
"restriction": "Item must be some kind of strapped additional plating"
},
{
"id": "COLD_IMMUNE",
"type": "json_flag",
@@ -436,11 +512,6 @@
"type": "json_flag",
"//": "Item can never be used with a CVD machine."
},
{
"id": "NO_QUICKDRAW",
"type": "json_flag",
"//": "Don't offer to draw items from this holster when the fire key is pressed whilst the player's hands are empty."
},
{
"id": "NO_REPAIR",
"type": "json_flag",
@@ -595,35 +666,13 @@
},
{
"id": "MC_MOBILE",
"type": "json_flag"
},
{
"id": "MC_RANDOM_STUFF",
"type": "json_flag"
},
{
"id": "MC_SCIENCE_STUFF",
"type": "json_flag"
},
{
"id": "MC_USED",
"type": "json_flag"
"type": "json_flag",
"info": "Can be used to <info>store data</info> for other devices."
},
{
"id": "MC_HAS_DATA",
"type": "json_flag"
},
{
"id": "MC_MAY_BE_ENCRYPTED",
"type": "json_flag"
},
{
"id": "MC_ENCRYPTED",
"type": "json_flag"
},
{
"id": "MC_TURN_USED",
"type": "json_flag"
"type": "json_flag",
"info": "Some of your data is <info>stored</info> here."
},
{
"id": "NO_PARASITES",
@@ -863,7 +912,7 @@
"id": "WATERPROOF",
"type": "json_flag",
"//": "Prevents the covered body-part(s) from getting wet in any circumstance.",
"info": "This clothing <info>won't let water through</info>. Unless you jump in the river or something like that."
"info": "This clothing <info>won't let water through</info>. Even if you jump into a river."
},
{
"id": "WATER_FRIENDLY",
@@ -1065,11 +1114,6 @@
"type": "json_flag",
"//": "pain altering spells can't be resisted (like with the deadened trait)"
},
{
"id": "WITH_CONTAINER",
"type": "json_flag",
"//": "items spawned by spells are put in their containers."
},
{
"id": "SPAWN_WITH_DEATH_DROPS",
"type": "json_flag",
@@ -1116,6 +1160,18 @@
"type": "json_flag",
"craft_inherit": true
},
{
"id": "ALLERGEN_BREAD",
"type": "json_flag"
},
{
"id": "ALLERGEN_CHEESE",
"type": "json_flag"
},
{
"id": "ALLERGEN_DRIED_VEGETABLE",
"type": "json_flag"
},
{
"id": "ALLERGEN_EGG",
"type": "json_flag"
@@ -1152,6 +1208,10 @@
"id": "ALLERGEN_WOOL",
"type": "json_flag"
},
{
"id": "ANIMAL_PRODUCT",
"type": "json_flag"
},
{
"id": "ALWAYS_TWOHAND",
"info": "<bad>You must</bad> have two free hands to wield this item.",
@@ -1181,6 +1241,10 @@
"id": "CABLE_SPOOL",
"type": "json_flag"
},
{
"id": "AUTO_DELETE_CABLE",
"type": "json_flag"
},
{
"id": "CAMERA_PRO",
"type": "json_flag"
@@ -1578,10 +1642,6 @@
"id": "POWERED",
"type": "json_flag"
},
{
"id": "POWER_CORD",
"type": "json_flag"
},
{
"id": "PROCESSING",
"type": "json_flag"
@@ -1730,6 +1790,10 @@
"id": "TOUGH_FEET",
"type": "json_flag"
},
{
"id": "PAIN_IMMUNE",
"type": "json_flag"
},
{
"id": "TOURNIQUET",
"type": "json_flag"
@@ -2021,7 +2085,7 @@
{
"id": "LASER_SIGHT",
"type": "json_flag",
"info": "Invalid when the target position is <bad>too far</bad> or <bad>too bright</bad>.",
"info": "Laser sights are invalid when the target position is <bad>too far</bad> or <bad>too bright</bad>.",
"name": "laser sight"
},
{
@@ -2104,6 +2168,16 @@
"type": "json_flag",
"info": "This is meant for exosuit foot plating."
},
{
"id": "ROBOFAC_ROBOT_MEDIUM",
"type": "json_flag",
"info": "A medium drone sold by Hub 01."
},
{
"id": "ROBOFAC_ROBOT_SMALL",
"type": "json_flag",
"info": "A small drone sold by Hub 01."
},
{
"id": "VOLTMETER",
"type": "json_flag",
@@ -2128,8 +2202,103 @@
"type": "json_flag",
"info": "Contents of this item are used for fueling bionics."
},
{
"id": "BIONIC_WEAPON_MELEE",
"type": "json_flag",
"//": "This bionic weapon is meant to be used in melee."
},
{
"id": "ELECTRONIC",
"type": "json_flag"
},
{
"id": "AFS_CS_LOCKER_CARD",
"type": "json_flag",
"info": "ID card granting access to the crashing ship's locker room."
},
{
"id": "AFS_CS_ARMORY_CARD",
"type": "json_flag",
"info": "ID card granting access to the crashing ship's armory."
},
{
"id": "AFS_CS_EXOBAY_CARD",
"type": "json_flag",
"info": "ID card granting access to the crashing ship's exobay."
},
{
"id": "PAPER_SHAPED",
"type": "json_flag",
"restriction": "Item must be shaped like paper"
},
{
"id": "CREDIT_CARD_SHAPED",
"type": "json_flag",
"restriction": "Item must be shaped like a credit card"
},
{
"id": "BANK_NOTE_SHAPED",
"type": "json_flag",
"restriction": "Item must be shaped like a bank note"
},
{
"id": "COIN_SHAPED",
"type": "json_flag",
"restriction": "Item must be shaped like a coin"
},
{
"id": "BANK_NOTE_STRAP_SHAPED",
"type": "json_flag",
"restriction": "Item must be shaped like a bank note strap"
},
{
"id": "FRESH_GRAIN",
"type": "json_flag",
"//": "This item is fresh-cut grain, and can be dried in a stook."
},
{
"id": "CUT_HARVEST",
"type": "json_flag",
"//": "This seed will grow into a plant which needs a grass-cutting tool such as a sickle to harvest."
},
{
"id": "GASFILTER_SM",
"type": "json_flag",
"info": "A small-sized gasmask filter.",
"name": "filter mask cartridge"
},
{
"id": "GASFILTER_MED",
"type": "json_flag",
"info": "A medium-sized gasmask filter.",
"name": "gas mask cartridge"
},
{
"id": "REBREATHER_CART",
"type": "json_flag",
"info": "A filter for a rebreather.",
"name": "rebreather cartridge"
},
{
"id": "OLD_GUN",
"type": "json_flag",
"info": "An old gun, WWII or earlier."
},
{
"id": "USE_POWER_WHEN_HIT",
"type": "json_flag",
"info": "This armor <info>expends energy when hit</info>."
},
{
"id": "RAT",
"type": "json_flag"
},
{
"id": "MOUSE",
"type": "json_flag"
},
{
"id": "RABBIT",
"type": "json_flag"
}
]
File diff suppressed because it is too large Load Diff
@@ -703,7 +703,7 @@
"move_cost_mod": -1,
"coverage": 100,
"flags": [ "TRANSPARENT", "ORGANIC" ],
"deconstruct": { "items": [ { "item": "glass", "count": 1000 } ] },
"deconstruct": { "items": [ { "item": "glass_shard", "count": 1000 } ] },
"required_str": -1,
"bash": {
"str_min": 200,
@@ -726,7 +726,7 @@
"color": "brown",
"move_cost_mod": -1,
"coverage": 100,
"deconstruct": { "items": [ { "item": "glass", "count": 1000 } ] },
"deconstruct": { "items": [ { "item": "glass_shard", "count": 1000 } ] },
"required_str": -1,
"bash": {
"str_min": 100,
@@ -747,7 +747,7 @@
"move_cost_mod": -1,
"coverage": 100,
"flags": [ "TRANSPARENT", "ORGANIC" ],
"deconstruct": { "items": [ { "item": "glass", "count": 1000 } ] },
"deconstruct": { "items": [ { "item": "glass_shard", "count": 1000 } ] },
"required_str": -1,
"bash": {
"str_min": 100,
@@ -127,7 +127,7 @@
"coverage": 60,
"required_str": 12,
"max_volume": "37500 ml",
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE" ],
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "SMALL_HIDE" ],
"deconstruct": {
"items": [
{ "item": "scrap", "count": [ 2, 6 ] },
@@ -138,7 +138,7 @@
{ "item": "wire_mesh", "count": 1 },
{ "item": "cable", "charges": [ 1, 15 ] },
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
{ "item": "motor_small", "charges": 1 },
{ "item": "motor_tiny", "charges": 1 },
{ "item": "cu_pipe", "count": [ 1, 3 ] }
]
},
@@ -168,7 +168,7 @@
"move_cost_mod": -1,
"coverage": 90,
"required_str": 10,
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT" ],
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
"deconstruct": { "items": [ { "item": "fridge", "count": 1 } ] },
"max_volume": "500 L",
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "fridge" },
@@ -203,7 +203,7 @@
"move_cost_mod": -1,
"coverage": 90,
"required_str": 10,
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT" ],
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "SMALL_HIDE" ],
"deconstruct": {
"items": [
{ "item": "sheet_metal", "count": [ 2, 5 ] },
@@ -252,7 +252,7 @@
"coverage": 60,
"required_str": 10,
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "freezer" },
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT" ],
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
"deconstruct": { "items": [ { "item": "freezer", "count": 1 } ] },
"max_volume": "450 L",
"bash": {
@@ -328,7 +328,7 @@
"required_str": 12,
"max_volume": "135 L",
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "household_washing_machine" },
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "EASY_DECONSTRUCT" ],
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
"deconstruct": { "items": [ { "item": "household_washing_machine", "count": 1 } ] },
"bash": {
"str_min": 18,
@@ -368,6 +368,7 @@
"CONTAINER",
"BLOCKSDOOR",
"MOUNTABLE",
"SMALL_HIDE",
"NO_SELF_CONNECT"
],
"deconstruct": { "items": [ { "item": "oven", "count": 1 } ] },
@@ -383,8 +384,7 @@
{ "item": "steel_chunk", "count": [ 0, 3 ] },
{ "item": "scrap", "count": [ 0, 6 ] },
{ "item": "element", "count": [ 1, 3 ] },
{ "item": "cable", "charges": [ 1, 3 ] },
{ "item": "pilot_light", "count": 1 }
{ "item": "cable", "charges": [ 1, 3 ] }
]
},
"crafting_pseudo_item": "oven"
@@ -435,7 +435,16 @@
"symbol": "#",
"description": "A standard gas-powered oven, commonly used for heating and cooking food. This one has an attached microwave. With the state of nearby gas lines unknown, it's best not to put any fire near it. You could disassemble the shelving holding them together and pull the microwave out.",
"color": "dark_gray",
"flags": [ "PLACE_ITEM", "TRANSPARENT", "EASY_DECONSTRUCT", "CONTAINER", "BLOCKSDOOR", "MOUNTABLE", "NO_SELF_CONNECT" ],
"flags": [
"PLACE_ITEM",
"TRANSPARENT",
"EASY_DECONSTRUCT",
"CONTAINER",
"BLOCKSDOOR",
"MOUNTABLE",
"NO_SELF_CONNECT",
"SMALL_HIDE"
],
"deconstruct": { "items": [ { "item": "microwave", "count": 1 } ], "furn_set": "f_gas_oven" },
"bash": {
"str_min": 8,
@@ -546,7 +555,7 @@
{ "item": "sheet_metal", "count": [ 2, 4 ] },
{ "item": "pipe", "count": [ 1, 4 ] },
{ "item": "cable", "charges": [ 1, 15 ] },
{ "item": "motor", "count": 1 },
{ "item": "motor_tiny", "count": 1 },
{ "item": "solder_wire", "charges": [ 1, 15 ] }
]
},
@@ -655,7 +664,7 @@
{ "item": "sheet_metal", "count": [ 8, 10 ] },
{ "item": "cable", "charges": [ 1, 15 ] },
{ "item": "pipe_fittings", "count": [ 4, 8 ] },
{ "item": "motor", "count": 1 }
{ "item": "motor_tiny", "count": 2 }
]
},
"bash": {
@@ -704,5 +713,58 @@
{ "item": "steel_chunk", "count": 3 }
]
}
},
{
"type": "furniture",
"id": "f_oxygen_concentrator",
"name": "oxygen concentrator",
"description": "A machine capable of generating pure oxygen from the air. It needs power to function.",
"symbol": "&",
"color": "light_gray",
"move_cost_mod": -1,
"required_str": 12,
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "oxygen_concentrator" },
"flags": [ "OBSTACLE" ],
"deconstruct": { "items": [ { "item": "oxygen_concentrator", "count": 1 } ] },
"bash": {
"str_min": 35,
"str_max": 140,
"sound": "crunch!",
"sound_fail": "clang!",
"items": [
{ "item": "plastic_chunk", "count": [ 4, 7 ] },
{ "item": "steel_chunk", "count": [ 3, 6 ] },
{ "item": "sheet_metal_small", "count": [ 4, 8 ] },
{ "item": "scrap", "count": [ 4, 7 ] },
{ "item": "element", "count": [ 0, 2 ] },
{ "item": "glass_shard", "prob": 50 },
{ "item": "motor_small", "prob": 25 }
]
}
},
{
"type": "furniture",
"id": "f_hd_compressor_unit",
"name": "high pressure compressor unit",
"description": "A machine designed to compress an input gas to a very high pressure. It needs large amounts of power to function.",
"symbol": "&",
"color": "light_gray",
"move_cost_mod": -1,
"required_str": 16,
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "hd_compressor_unit" },
"flags": [ "OBSTACLE" ],
"deconstruct": { "items": [ { "item": "hd_compressor_unit", "count": 1 } ] },
"bash": {
"str_min": 45,
"str_max": 180,
"sound": "metal screeching!",
"sound_fail": "clang!",
"items": [
{ "item": "plastic_chunk", "count": [ 1, 2 ] },
{ "item": "scrap", "count": [ 6, 12 ] },
{ "item": "steel_chunk", "count": [ 8, 16 ] },
{ "item": "sheet_metal_small", "count": [ 1, 4 ] }
]
}
}
]
@@ -197,5 +197,47 @@
"furn_set": "f_sandbag_half",
"items": [ { "item": "bag_canvas", "count": [ 15, 20 ] }, { "item": "material_sand", "charges": [ 1000, 1200 ] } ]
}
},
{
"type": "furniture",
"id": "f_showjump",
"name": "show jump",
"symbol": "#",
"color": "white",
"looks_like": "f_barricade_road",
"move_cost_mod": -1,
"description": "A show jump made of a long pole, suitable for showing off your equestrian skills.",
"required_str": -1,
"examine_action": "chainfence",
"flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "PERMEABLE", "FLAMMABLE_ASH", "CLIMBABLE", "EASY_DECONSTRUCT" ],
"deconstruct": { "items": [ { "item": "long_pole", "count": 1 } ] },
"bash": {
"str_min": 5,
"str_max": 12,
"sound": "whump!",
"sound_fail": "whack!",
"items": [ { "item": "long_pole", "count": [ 0, 1 ] } ]
}
},
{
"type": "furniture",
"id": "f_showjump_end",
"name": "show jump",
"symbol": "#",
"color": "white",
"looks_like": "f_showjump",
"move_cost_mod": -1,
"coverage": 60,
"description": "The end of a show jump made of planks.",
"required_str": -1,
"flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "PERMEABLE", "FLAMMABLE_ASH" ],
"deconstruct": { "items": [ { "item": "2x4", "count": 4 }, { "item": "nail", "charges": 10 } ] },
"bash": {
"str_min": 5,
"str_max": 12,
"sound": "whump!",
"sound_fail": "whack!",
"items": [ { "item": "2x4", "count": [ 2, 4 ] } ]
}
}
]
@@ -64,7 +64,7 @@
"id": "f_cleat",
"type": "furniture",
"name": "cleat",
"description": "A small horn cleat with two “horns” extending parallel to the deck or the axis of the spar, and resembling a small anvil. They are used to secure mooring lines, ropes, and similar.",
"description": "A small horn cleat with two \"horns\" extending parallel to the deck or the axis of the spar, and resembling a small anvil. They are used to secure mooring lines, ropes, and similar.",
"symbol": "B",
"color": "light_gray",
"looks_like": "f_bitts",
@@ -206,7 +206,7 @@
{
"type": "furniture",
"id": "f_floor_lamp",
"name": "floor lamp",
"name": "standing lamp",
"symbol": "T",
"looks_like": "f_rack_coat",
"description": "A light mounted on the top of a metal pole, this would be plugged into a wall socket to illuminate a room.",
@@ -80,7 +80,17 @@
"color": "light_green",
"move_cost_mod": 0,
"required_str": -1,
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_HARVEST" ],
"flags": [
"PLANT",
"SEALED",
"TRANSPARENT",
"CONTAINER",
"NOITEM",
"TINY",
"DONT_REMOVE_ROTTEN",
"GROWTH_HARVEST",
"SMALL_HIDE"
],
"examine_action": "harvest_plant_ex",
"bash": { "str_min": 4, "str_max": 10, "sound": "crunch.", "sound_fail": "whish." },
"plant_data": { "transform": "f_null", "base": "f_null" }
@@ -94,7 +104,7 @@
"color": "green",
"move_cost_mod": 0,
"required_str": -1,
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_MATURE" ],
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_MATURE", "SMALL_HIDE" ],
"examine_action": "aggie_plant",
"bash": { "str_min": 3, "str_max": 8, "sound": "crunch.", "sound_fail": "whish." },
"plant_data": { "transform": "f_plant_harvest", "base": "f_null" }
@@ -171,7 +181,17 @@
"looks_like": "f_plant_harvest",
"move_cost_mod": 0,
"required_str": -1,
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_HARVEST" ],
"flags": [
"PLANT",
"SEALED",
"TRANSPARENT",
"CONTAINER",
"NOITEM",
"TINY",
"DONT_REMOVE_ROTTEN",
"GROWTH_HARVEST",
"SMALL_HIDE"
],
"examine_action": "harvest_plant_ex",
"deconstruct": {
"items": [
@@ -183,14 +203,15 @@
},
"bash": {
"str_min": 6,
"str_max": 14,
"sound": "crunch.",
"sound_fail": "whish.",
"str_max": 10,
"sound": "rrrrip!",
"sound_fail": "brush.",
"sound_vol": 8,
"furn_set": "f_planter",
"items": [
{ "item": "2x4", "count": [ 4, 10 ] },
{ "item": "nail", "charges": [ 15, 30 ] },
{ "item": "pebble", "charges": [ 150, 200 ] },
{ "item": "material_soil", "count": [ 60, 75 ] }
{ "item": "withered", "count": [ 2, 8 ] },
{ "item": "leaves", "count": [ 4, 16 ] },
{ "item": "twig", "count": [ 1, 5 ] }
]
},
"plant_data": { "transform": "f_planter", "base": "f_planter" }
@@ -205,7 +226,7 @@
"looks_like": "f_plant_mature",
"move_cost_mod": 0,
"required_str": -1,
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_MATURE" ],
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_MATURE", "SMALL_HIDE" ],
"examine_action": "aggie_plant",
"deconstruct": {
"items": [
@@ -217,14 +238,15 @@
},
"bash": {
"str_min": 6,
"str_max": 14,
"sound": "crunch.",
"sound_fail": "whish.",
"str_max": 10,
"sound": "rrrrip!",
"sound_fail": "brush.",
"sound_vol": 8,
"furn_set": "f_planter",
"items": [
{ "item": "2x4", "count": [ 4, 10 ] },
{ "item": "nail", "charges": [ 15, 30 ] },
{ "item": "pebble", "charges": [ 150, 200 ] },
{ "item": "material_soil", "count": [ 60, 75 ] }
{ "item": "withered", "count": [ 2, 8 ] },
{ "item": "leaves", "count": [ 4, 16 ] },
{ "item": "twig", "count": [ 1, 5 ] }
]
},
"plant_data": { "transform": "f_planter_harvest", "base": "f_planter" }
@@ -250,16 +272,13 @@
]
},
"bash": {
"str_min": 6,
"str_max": 14,
"sound": "crunch.",
"sound_fail": "whish.",
"items": [
{ "item": "2x4", "count": [ 4, 10 ] },
{ "item": "nail", "charges": [ 15, 30 ] },
{ "item": "pebble", "charges": [ 150, 200 ] },
{ "item": "material_soil", "count": [ 60, 75 ] }
]
"str_min": 2,
"str_max": 6,
"sound": "rrrrip!",
"sound_fail": "brush.",
"sound_vol": 4,
"furn_set": "f_planter",
"items": [ { "item": "withered", "count": [ 1, 2 ] }, { "item": "leaves", "count": [ 1, 2 ] } ]
},
"plant_data": { "transform": "f_planter_seedling", "base": "f_planter" }
},
@@ -284,17 +303,47 @@
]
},
"bash": {
"str_min": 6,
"str_max": 14,
"sound": "crunch.",
"sound_fail": "whish.",
"str_min": 4,
"str_max": 8,
"sound": "rrrrip!",
"sound_fail": "brush.",
"sound_vol": 6,
"furn_set": "f_planter",
"items": [
{ "item": "2x4", "count": [ 4, 10 ] },
{ "item": "nail", "charges": [ 15, 30 ] },
{ "item": "pebble", "charges": [ 150, 200 ] },
{ "item": "material_soil", "count": [ 60, 75 ] }
{ "item": "withered", "count": [ 1, 2 ] },
{ "item": "leaves", "count": [ 2, 6 ] },
{ "item": "twig", "count": [ 0, 1 ] }
]
},
"plant_data": { "transform": "f_planter_mature", "base": "f_planter" }
},
{
"type": "furniture",
"id": "f_stook_full",
"name": "grain stook",
"description": "Sheaves of cut grain have been stood upright in a self-supporting A-frame to dry, keeping the seeds off the ground and out of reach of vermin.",
"symbol": "#",
"color": "brown",
"move_cost_mod": 1,
"coverage": 40,
"deconstruct": { "items": [ ] },
"required_str": 3,
"flags": [ "SEALED", "TRANSPARENT", "CONTAINER", "EASY_DECONSTRUCT", "DONT_REMOVE_ROTTEN", "FLAMMABLE_ASH" ],
"examine_action": "stook_full",
"bash": { "str_min": 3, "str_max": 60, "sound": "crunch.", "sound_fail": "whish." }
},
{
"type": "furniture",
"id": "f_stook_empty",
"name": "stooking spot",
"description": "A space has been cleared out here for grain drying. Place fresh stalks of grain in this spot and examine to set up a stook.",
"symbol": "#",
"color": "brown",
"move_cost_mod": 0,
"deconstruct": { "items": [ ] },
"max_volume": "10 L",
"required_str": -1,
"flags": [ "TRANSPARENT", "CONTAINER", "EASY_DECONSTRUCT", "NOCOLLIDE" ],
"examine_action": "stook_empty"
}
]
@@ -39,7 +39,10 @@
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "FLOWER" ],
"examine_action": "harvest_furn_nectar",
"harvest_by_season": [ { "seasons": [ "spring", "summer", "autumn" ], "id": "burdock_harv" } ],
"harvest_by_season": [
{ "seasons": [ "spring", "autumn" ], "id": "burdock_harv" },
{ "seasons": [ "summer" ], "id": "burdock_summer_harv" }
],
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
},
{
@@ -145,7 +148,7 @@
"color": "brown",
"move_cost_mod": 1,
"required_str": -1,
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC" ],
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE", "ORGANIC", "SMALL_HIDE" ],
"examine_action": "harvest_furn",
"harvest_by_season": [
{ "seasons": [ "winter" ], "id": "cattails_winter_harv" },
@@ -318,7 +321,7 @@
"floor_bedding_warmth": 50,
"required_str": -1,
"deconstruct": { "items": [ { "item": "withered", "count": 50 } ] },
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "EASY_DECONSTRUCT" ],
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
"bash": {
"str_min": 2,
"str_max": 6,
@@ -420,7 +423,7 @@
"move_cost_mod": 3,
"coverage": 70,
"required_str": -1,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "SHRUB" ],
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FLAT", "THIN_OBSTACLE", "SHRUB", "SMALL_HIDE" ],
"examine_action": "harvest_furn_nectar",
"harvest_by_season": [ { "seasons": [ "autumn" ], "id": "wild_rice_harv" } ],
"bash": {
@@ -444,7 +447,7 @@
"required_str": -1,
"connect_groups": "WOODFENCE",
"connects_to": "WOODFENCE",
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "PERMEABLE" ],
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC", "PERMEABLE", "SMALL_HIDE" ],
"bash": {
"str_min": 10,
"str_max": 180,
@@ -470,7 +473,7 @@
"required_str": 14,
"connect_groups": "WOODFENCE",
"connects_to": "WOODFENCE",
"flags": [ "FLAMMABLE_ASH", "ORGANIC", "PERMEABLE", "BLOCK_WIND", "NOITEM" ],
"flags": [ "FLAMMABLE_ASH", "ORGANIC", "PERMEABLE", "BLOCK_WIND", "NOITEM", "SMALL_HIDE" ],
"bash": {
"str_min": 16,
"str_max": 180,

Some files were not shown because too many files have changed in this diff Show More