Compare commits

...

712 Commits

Author SHA1 Message Date
Xaleth 188d38cbc1 Content: More Sokoban levels (#45863)
* Content: Add NetHack sokoban levels to minigame
2021-07-04 12:53:30 -07:00
krulunio df0439fac9 Add lighthouse basecamp (#49336) 2021-07-03 10:45:17 +03:00
John Bytheway e5fa0b0863 Mark various statistics functions const (#49406)
The clang-tidy unsequenced calls warning highlighted some functions that
should have been const but weren't.  Make them so.
2021-07-03 10:45:17 +03:00
krulunio 164965d218 Add pottery cottage basecamp (#49333) 2021-07-03 10:45:17 +03:00
krulunio 0811316449 Add radio tower basecamp (#49249) 2021-07-03 10:45:17 +03:00
krulunio 87510d109f Add fire lookout tower basecamp (#49247) 2021-07-03 10:45:17 +03:00
Zhilkin Serg d206d30458 Revert "Revert "Add mansion basecamp (#49241)" (#49356)"
This reverts commit d621b66080.
2021-07-03 10:45:17 +03:00
LaVeyanFiend d95b02d295 10mm adheres to GAME_BALANCE.md (#49380) 2021-07-03 10:45:17 +03:00
John Bytheway 8833708e02 Fix classic_zombies map_extras
Classic zombies was setting the weight of various map_extras to zero.
This makes sense, but it was also setting the chance of map extras on
certain extras types for every region.  This is problematic because some
regions' extras types lacked any map extras, so setting the chance
non-zero led to errors.

Change the classic zombies mod to just set the extras weights and not
set the chance, so that the regions with no extras would remain at the
default chance of zero and no errors would arise.

As a side-effect, this dramatically increases the chance of field map
extras for the classic zombies mod which had become out of sync with the
base game, which is probably an improvement.
2021-07-03 10:45:17 +03:00
John Bytheway 91c33b2be4 Check for invalid map_extras at validation time
If map extras are specified with invalid weights, this can cause a
runtime error when an extra needs to be selected.  Bring that error
forwards to validation time to make it more reliable.
2021-07-03 10:45:17 +03:00
anothersimulacrum ffa5647901 Add python script to convert armor to use portions
Based on adjust_values.py

I want to make changes to armor_portion_data (add more stuff to it), so
I don't want to maintain two separate JSON interfaces for it.

Add a python script to ease conversion from the old format to
armor_portion_data.
2021-07-03 10:45:17 +03:00
anothersimulacrum bb6ed2fe17 Clear enchantment factory
It isn't currently possible to load a world more than once without
restarting the game, because the enchantment factory isn't being
cleared, and Inline enchantments complain if one with the same name
already exists.
2021-07-03 10:45:17 +03:00
Curtis Merrill ac0cf40ad7 Fix VS compile error with move constructor noexcept (#49347) 2021-07-03 10:45:17 +03:00
faefux 391022f6c0 Add some extra descs for leg clothing (#49218) 2021-07-03 10:45:17 +03:00
Delta 32eacced92 Add wattle fences (#49156) 2021-07-03 10:45:17 +03:00
LyleSY e2869e7b84 [DinoMod] Implements rideable zombie T Rex via missions (#45273) 2021-07-03 10:45:17 +03:00
Binrui Dong 96f5cd4058 Content: Flight suit and helmet (#49246)
* Flight gear
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
Added Two-Way Radio to the helmet when on, in-built radio was a common functionality with the helmets I researched.
Co-authored-by: fae <faefux@tutanota.com>
Co-authored-by: faefux <49350286+faefux@users.noreply.github.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
Co-authored-by: chaohedgehogs <46550455+chaohedgehogs@users.noreply.github.com>
2021-07-03 10:45:17 +03:00
John Bytheway d92e7c85b3 Provide documentation and support for llama builds (#49161)
* llama support files

Some helpful files for anyone who wants to build CDDA using llama, a
tool for outsourcing builds to Amazon Lambda.

* Link to llama guide from COMPILING.md
2021-07-03 10:45:16 +03:00
krulunio e7eecb7acc Split military outposts and bunkers (#48697) 2021-07-03 10:45:16 +03:00
ToxiClay b631ae6e59 Typographical/clarity changes 2021-07-03 10:45:16 +03:00
pehamm ffdd38aa8e Fixed spelling of sterilizing 2021-07-03 10:45:16 +03:00
John Bytheway e47e105c9c get_all_mods can return multiple sets of mods
Rewrite get_all_mods to return multiple lines of output.  Two total
conversions should not be in the same line.  The expectation is that we
run the tests loading all the mods in each line.
2021-07-03 10:45:16 +03:00
John Bytheway 1535a2a343 Introduce Total Conversion mod category
Add a new category of mods for Total Conversions.  Reclassify the
Aftershock Exoplanet mod and Dark Skies Above to this new category.
2021-07-03 10:45:16 +03:00
John Bytheway eab2bb42c0 Clang tidy cata combine locals into point (#49130)
* Re-enable cata-combine-locals-into-point

As part of the LLVM 12 port, various changes were made to our
cata-combine-locals-into-point check.  This made it better at detecting
more cases, so it had to be disabled.  This re-enables it, and makes all
the corresponding changes.
2021-07-03 10:45:16 +03:00
John Bytheway b510b509f0 Mark constructor explicit (#49131) 2021-07-03 10:45:16 +03:00
Maleclypse 0f985f0b5c [AFS] Update Schwarz Walder Description (#49099) 2021-07-03 10:45:16 +03:00
Aloxaf 24624b521d Extract mutation.transform and mutation.triggers for translation 2021-07-03 10:45:16 +03:00
Zhilkin Serg 05bb0fe22c Revert #48802 and #49000 2021-07-03 10:45:16 +03:00
anothersimulacrum 6803a17697 Add iexamine actors, replace cardreader actor
Terrain/furniture examination has long need a system where, instead of a
hardcoded action, the changes are performed based on data specified in
the terrain entry. This adds that system.

Add a virtual iexamine_actor, from which subclasses inherit, depending
on the type. This is in large part based on the iuse_actor
infrastructure.
This contains a string informing what type the actor is, for querying
whether a terrain or furniture has this actor and for determining what
subactor to load.

As an example here, the carder iexamine function is converted to be an
examine actor.
2021-07-03 10:45:16 +03:00
John Bytheway db8344bfd3 Capitalize LLVM consistently 2021-07-03 10:45:16 +03:00
John Bytheway 3c35a0c157 Minor grammar/style fixes
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-07-03 10:45:16 +03:00
John Bytheway b746e25676 Update clang-tidy-scripts.patch link
Now that this patch is merged to master, we need no longer refer to a
PR.
2021-07-03 10:45:16 +03:00
John Bytheway 646e3dcc1c Bump CTPS version to llvm-12.0.0-r3 2021-07-03 10:45:16 +03:00
Qrox cb27458319 Update clang-tidy plugin docs for Windows 2021-07-03 10:45:16 +03:00
John Bytheway 458c532164 Update DEVELOPER_TOOLING for LLVM 12 2021-07-03 10:45:16 +03:00
John Bytheway 29f7f81e71 Add version sanity check to module
Strange errors can arise if the plugin is loaded into the wrong clang
version.  Add a check to verify that the versions match.
2021-07-03 10:45:16 +03:00
John Bytheway 546d8206b6 Disable new warnings from LLVM 12 2021-07-03 10:45:16 +03:00
John Bytheway 3ef02959e5 Update build script and workflow for LLVM 12 2021-07-03 10:45:16 +03:00
John Bytheway cbe6265b95 Port clang-tidy-plugin to LLVM 12 2021-07-03 10:45:16 +03:00
John Bytheway 0eb23c3102 GitHub CI: ignore upload failure after build fails
We have the GitHub CI set up to upload the binaries generated by a
failed build.  This is intended to help people debug test failures, but
when the compilation fails there is no binary to upload.  In that case,
GitHub gets distracted by the upload failure and doesn't automatically
jump to the relevant failure.

Reconfigure the upload step to ignore errors due to file not found.
2021-07-03 10:45:16 +03:00
John Bytheway e6aff72cdf Suppress a clang-tidy warning 2021-07-03 10:45:16 +03:00
John Bytheway 36bffa208f Add missing header 2021-07-03 10:45:16 +03:00
John Bytheway e42cf0f88b Remove unused static variables 2021-07-03 10:45:15 +03:00
John Bytheway 011f67b9ff Lint Aftershock json file (#49062) 2021-07-03 10:45:15 +03:00
RelMayers c87a751a23 Update soy milk and almond milk to fix carnivores having no problems with them. (#48918) 2021-07-03 10:45:15 +03:00
OromisElf ce08088bee added mechanical winch and metal gate to construction menu (#47919) 2021-07-03 10:45:15 +03:00
SenpaiSlime e493bf2112 Addition of Gravel Material and according recipes, stone fixes (#49043) 2021-07-03 10:45:15 +03:00
Curtis Merrill f25300bf93 [Magiclysm] Fix ring stacking by adding ONE_PER_LAYER flag (#47518) 2021-07-03 10:45:15 +03:00
Venera3 9dc3fc52c5 Add proper wasp nests (#48161) 2021-07-03 10:45:15 +03:00
Anton Burmistrov 6e45c89e1a New "Bordered" scenario (#48514) 2021-07-03 10:45:15 +03:00
Anton Burmistrov e4cff70f1c Avgas fuel pump (#48458) 2021-07-03 10:45:15 +03:00
Maleclypse 3767fa1dbd Faux Fur survivor gear and recipes (#47424) 2021-07-03 10:45:15 +03:00
Maleclypse a4f3e1888c [Magiclysm] Forge Floor and Wall improvements (#48234) 2021-07-03 10:45:15 +03:00
stubkan 8a477bad9e Placing specials around cities now scales with city size (#48628) 2021-07-03 10:45:15 +03:00
Albert Islamov dbcd56ccb5 Fix woods soup being treated as a meat material when eggs were used (#48499) 2021-07-03 10:45:15 +03:00
Nbane522 db81a996da Update wood.json (#48515) 2021-07-03 10:45:15 +03:00
FayFlightee 0477d601d3 adding steel knuckles (#48535) 2021-07-03 10:45:15 +03:00
Clay Caviness 2bbcb046b2 Fix found->find typo (#48624) 2021-07-03 10:45:15 +03:00
ToxiClay ee9b44b595 Replace comma with semicolon (#48869) 2021-07-03 10:45:15 +03:00
Venera3 6241b3ff6d Redesigning Arthropods Part 3: Wasps! (#47960) 2021-07-03 10:45:15 +03:00
ToxiClay ae3360882e Adding lard to hallula recipe (#48728) 2021-07-03 10:45:15 +03:00
John Candlebury 9774b81d7b Aftershock: Basic Exoplanet Region (#48206) 2021-07-03 10:45:15 +03:00
John Candlebury 7d35730dbd Bases for the first four Hub01 basement npcs (#48719) 2021-07-03 10:45:15 +03:00
Fris0uman 9e05033d06 Jsonize fungalization (#48479) 2021-07-03 10:45:14 +03:00
Fris0uman 9b78c9859e Add Eye colors cosmetic traits (#48726)
* Add the 6 main eye colors

* Make some approximate trait groups

* Randomize eye color for random character at chargen
2021-07-03 10:45:14 +03:00
Fris0uman ff234eaaca Remove "burst" from the code for good (#48856) 2021-07-03 10:45:14 +03:00
Fris0uman 8a733e604e [MSC] Make sugar comestible to sugarkin (#48967) 2021-07-03 10:45:14 +03:00
Zeropol 02df33188c Add a few epitaphs (#48752)
We had only 13 epitaphs, this commit adds 16.
Most are from https://stoneletters.com and I created a few.
I let the reviewer(s) decide which one are OK.
2021-07-03 10:45:14 +03:00
John Bytheway d557a442b7 clang-tidy modernize-use-emplace (#48661)
* Port code to emplace_back

This is clang-tidy making automated changes to convert push_back into
emplace_back whenever the argument to push_back is either a constructor
call for the type in question of an expression of a type implicitly
convertible to the type in question.

This should eliminate one move-construction of the inserted object for
each call.

* Enable clang-tidy modernize-use-emplace
2021-07-03 10:45:14 +03:00
Qrox 1542dc0338 Fix json formatter build and string extraction script 2021-07-03 10:45:14 +03:00
John Bytheway bcbafff90a Fix StringMaker ODR violations in tests
Catch2 provides a customization point for converting our types to
strings by specializing the StringMaker template.

We have some specializations in stringmaker.h, but this feature was only
working intermittently.  I finally figured out that was due to an ODR
violation.  The test files that didn't include stringmaker.h were
compiling a different specialization than the ones that did.

Re-jig the test includes so that any file including catch.hpp also
includes stringmaker.h, thereby ensuring that the custom
specializations are used everywhere and there is no ODR violation.

I achieved this by adding a new cata_catch.h header and making all
existing headers include catch.hpp via the new header.
2021-07-03 10:45:14 +03:00
John Bytheway 6b009a3ad8 New clang-tidy check for static int_ids (#48688)
* Initial check for static int_ids

int_ids with static storage duration are dangerous because they can
start to refer to the wrong thing when game data reloads.  This has
caused problems in the past.

Add a check for such variables, and some tests.

* Remove some static int_ids

Fix issues detected by new check by replacing some static int_ids with
their respective string_ids.

Some were just unused, so got deleted instead.

Some cases suppressed, including the furniture and terrain ids, since
they were the most numerous and widely used, so that seemed the riskiest
change.
2021-07-03 10:45:14 +03:00
John Bytheway 27a9e56d8a Enable clang-tidy readability-isolate-declaration (#48629)
* Enable clang-tidy readability-isolate-declaration

Enable this clang-tidy check and apply the changes it suggests.

Perform some minor refactoring on the result to move some declarations
to first use.

* Refactor some point code

These changes were suggested by clang-tidy as a result of the earlier
tweaks to isolate declarations.
2021-07-03 10:45:14 +03:00
John Bytheway 1aa69807bd Check for unused static variables
We have a lot of global static string_ids.  We want to be able to detect
when they are no longer used.  This check tries to do this.
2021-07-03 10:45:14 +03:00
John Bytheway c5e625d258 Remove unused global statics 2021-07-03 10:45:14 +03:00
John Bytheway 34dc10a0b6 Enable performance-type-promotion-in-math-fn
Enable this clang-tidy check that has no associated warnings.
2021-07-03 10:45:13 +03:00
actual-nh 13c8bce6d0 Correct description of epidemiologist in newspaper (#48684)
He's not a correspondent unless he's a reporter.
2021-07-03 10:45:13 +03:00
John Bytheway 2858982846 Triage clang-tidy readability-braces-around-statements (#48653)
* Triage readability-braces-around-statements

I tried running this clang-tidy check.  It caught only one debatably
useful case and had two false-positives due to a bug.  This is mostly
because this situation is already covered by astyle.

I decided to take the opportunity to add comments for each of the
disabled checks where we've decided we don't want to enable them.  This
one could be enabled once we're using a newer version of clang-tidy.

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2021-07-03 10:45:13 +03:00
John Bytheway 4e11273098 Omit tests that are failing on Mingw (#48622)
* Omit tests that are failing on Mingw

These string_formatter tests fail on Mingw and it looks like it's simply
a bug in the standard library there.  I don't know that we can
reasonably fix them (short of implementing printf ourselves) and they're
showing up in the GitHub UI for every PR, which is potentially confusing
for contributors.

* Remove !mayfail marking on string_formatter test

This should no longer be expected to fail, with the troublesome tests
excised.
2021-07-03 10:45:13 +03:00
John Bytheway f3a45b72ac Improve messages for some JSON errors
Several of the top-level save files were not providing filenames with
their JSON error messages, because the filename was never passed to the
JsonIn constructor.  Arrange for it to be so passed, to improve those
errors and assist with debugging.
2021-07-03 10:45:13 +03:00
John Bytheway b8c7bf3a69 Improve tripoint formatting in debug messages (#48611) 2021-07-03 10:45:13 +03:00
John Bytheway 4efbfb1770 Improve error message for JSON files with a BOM (#48595)
* Improve error message for JSON files with a BOM

Previously, JSON files starting with a BOM would have a strange and
unhelpful error message that could easily confuse new contributors who
had edited a file in Notepad.

Add a check for this case and try to provide a more helpful error.

Also, expand on this issue in CONTRIBUTING.md, and add some more links
to the wiki guide for first time contributors.

Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-07-03 10:45:13 +03:00
John Bytheway b443115f2a Enable clang-tidy check cert-flp30-c
This is just an alias for clang-analyzer-security.FloatLoopCounter which
we're already running, so it just required suppressions in the same
places.
2021-07-03 10:45:13 +03:00
John Bytheway cbeb4fbc96 Enable performance-inefficient-string-concatenation 2021-07-03 10:45:13 +03:00
John Bytheway fa9af09196 Fix inefficient string concatenations
Fix all the warnings triggered by the clang-tidy check
performance-inefficient-string-concatenation.  This highlights two
things: concatenation of a bunch of strings using operator+, and
appending to a string using 'a = a + b' rather than 'a += b'.  In both
cases it only highlights the issue in a loop.

Some of these cases were pretty benign, some looked more serious.  Even
the more serious cases were not, as far as I could tell, in
performance-critical code, but some were probably changing O(n) loops
into O(n^2) loops, so they are good to fix.

To help remediate these issues, added two new helped functions: str_cat
and str_append, inspired by Abseil's StrCat and StrAppend.
2021-07-03 10:45:13 +03:00
John Bytheway 6c6e7a2942 Improve UnsequencedCallsCheck
Previously this check triggered false warnings on expressions in
different elements of an initializer list expression.  Prevent that, and
add some test cases.
2021-07-03 10:45:13 +03:00
Eric 2e8532c91b Unhardcode bio recycler, add hunger enchantment (#47637) 2021-07-03 10:45:13 +03:00
Maleclypse 7f15c214c7 [Aftershock] Greeting Card snippets (#48209) 2021-07-03 10:45:13 +03:00
Maleclypse 1b8fe5c7e7 CRT filenames, fixes and Lore Background (#48506) 2021-07-03 10:45:13 +03:00
LyleSY 32763a38c4 [DinoMod] Dinosaur Jr. bugfix (#48585) 2021-07-03 10:45:13 +03:00
John Bytheway 7f467c4335 Enable clang-tidy check bugprone-unused-return-value (#48546)
* Fix bugprone-unused-return-value

Biggest change here was to mapbuffer, which now stores submaps via
unique_ptr rather than raw pointers, simplifying the destructor.

Unfortunately, we have to retain the strange pointer-based API for
mapbuffer, because the submap ownership logic in map is so convoluted.
That can be fixed another day.

Also, renamed mapbuffer::reset() to clear(), for consistency.

In trait_group, removed a couple of calls to reset() that this warning
was highlighting.  They didn't do anything anyway.

* Enable clang-tidy bugprone-unused-return-value
2021-07-03 10:45:13 +03:00
John Bytheway 9a9321cfcb More robust sunburn tests; better burn feedback. (#48527)
* Translator notes on sunburn suffer strings

These strings were wrong; they had punctuation that they shouldn't have.
Remove that punctuation and add translator note to clarify why it
shouldn't have been there in the first place.

* Remove redundant escapes

These '%' should not have been escaped.  Un-escape them.

* List all burned bodyparts in message

Previously only the most exposed bodypart would be listed in the message
regarding sunburn / irritation.  Instead, list all parts.

* Switch sunburn test to IsBinomialObservation

This test relied on some arbitrary constants, so it was difficult to
know how reasonable failures were.  Switch it to a more statistically
well-founded approach.

* Make IsBinomialObservation more lenient by default

This was calibrated to a false positive rate of one in ten thousand.
That's too high for the rate at which we run tests.  Default to one in
one hundred thousand instead.

* Improve translatability of sunburn messaging

The "%s your %s" string was surely basically impossible to translate.
Incorporate the first part into the string to make that easier, and
provide the number of bodyparts for languages where that matters.
2021-07-03 10:45:13 +03:00
Binrui Dong 3aa5e1d9a6 Enable ClangBuildAnalyzer on PRs to 0.F-dev (#48586) 2021-07-03 10:45:13 +03:00
John Bytheway b8338cc988 Move Mingw CI build to GitHub actions (#48572)
* Move Mingw CI build to GitHub actions

The Mingw cross-compile on Travis has been consistently exceeding the 50
minute time limit for jobs, and causing all PRs to have failed checks.
This is not helpful.

Try to recreate an equivalent job on GitHub actions in the general build
matrix, and disable the Travis version on PRs (leaving it enabled for
master).

* Fetch key before adding mxe repo

* Convey some variables from requirements to build

GitHub doesn't retain environment by default between steps.  We need to
explicitly save the variables we want transferred from requirements.sh
to build.sh.

* Install wine for Mingw build

Looks like wine was installed by default on Travis, but not GitHub, so
we explicitly install it in requirements.sh.

* Pre-run wine in requirements.sh

I think there might be race conditions associated with launching three
wine processes simultaneously.  Try to avoid that by running one in
advance.
2021-07-03 10:45:13 +03:00
John Candlebury 4bde56db00 Add cold resistance gear to escape pod 2021-07-03 10:45:13 +03:00
John Bytheway cecdfc9745 Enable performance-implicit-conversion-in-loop 2021-07-03 10:45:13 +03:00
John Bytheway e4dc7057cc Enable clang-tidy cert-msc{30,32,50,51}-cpp
These all relate to pseudorandom number generators.
2021-07-03 10:45:13 +03:00
John Bytheway badd670c44 Work around Mac OS parsing issues
Simply always set the classic locale on those platforms.
2021-07-03 10:45:13 +03:00
John Bytheway 836970fcc3 Enable cert-err34-c 2021-07-03 10:45:13 +03:00
John Bytheway b72b0519d3 Disable some tests on Apple platforms
It looks like the Mac OS tests show that it doesn't support localized
integer parsing.  Just disable those tests there; the feature is not
super important.
2021-07-03 10:45:13 +03:00
John Bytheway 1b3fbafb6f Stop using atoi/atof in item.cpp
Port to try_parse_integer and strtod.
2021-07-03 10:45:12 +03:00
John Bytheway b0ea1239b2 Stop using sscanf in item_factory.cpp
Port to try_parse_integer.cpp
2021-07-03 10:45:12 +03:00
John Bytheway 9089618e92 Stop using atoi in iuse.cpp
Port to new try_parse_integer API, via a new helper function.
2021-07-03 10:45:12 +03:00
John Bytheway d3dfbcdbf7 Stop using sscanf in iexamine.cpp
Port to new try_parse_integer API.
2021-07-03 10:45:12 +03:00
John Bytheway 6881db5a9a Stop using atoi in options.cpp
Port to new try_parse_integer API.
2021-07-03 10:45:12 +03:00
John Bytheway f011be86df Stop using sscanf in ranged.cpp
Port to new try_parse_integer API.
2021-07-03 10:45:12 +03:00
John Bytheway 50a2965848 Stop using atoi in debug_menu.cpp
Port one use to string_input_popup::query_int, the others to
try_parse_integer.
2021-07-03 10:45:12 +03:00
John Bytheway b7f2902876 Stop using atoi in output.cpp
This was using it to convert the result of a string_input_popup, but
that functionality is already built in to that class, so just use it.
2021-07-03 10:45:12 +03:00
John Bytheway 44663db804 Stop using atoi in safemode_ui
It was only being used to convert an option value, and that
functionality is already built into options.
2021-07-03 10:45:12 +03:00
John Bytheway 881b73be70 Improve cata-no-long check
We need to suppress warnings nested arbitrarily deep in template
specializations; previously we were only suppressing warnings where the
immediate context was a template specialization.
2021-07-03 10:45:12 +03:00
John Bytheway c2349d7d86 Port string_input_popup to try_parse_integer
Stop using atoi in favour of the new API.
2021-07-03 10:45:12 +03:00
John Bytheway f34cc1d46f Add new try_parse_integer API
All the existing ways to parse strings to integers are pretty terrible
for one reason or another.  They offer poor error handling, are verbose,
and/or don't make it obvious whether they are influenced by the current
locale.

Introduce a new API to attempt to simplify the conversion of strings to
ints, using a ret_val for error handling, and with explicit control over
locale.

Also add unit tests.
2021-07-03 10:45:12 +03:00
John Bytheway 6d40fffc33 Fix warnings discovered by UnsequencesCallsCheck
These are mostly just member functions which should have been const but
weren't.  There were a few places where I chose to refactor the code and
one place got a suppression.

I don't think any of these were actual bugs, but in some cases they
could have become bugs in the right corner cases.
2021-07-03 10:45:12 +03:00
John Bytheway 508aa24b44 Know that list initialization is sequenced
To avoid one more class of false positives in UnsequencedCallsCheck,
note that the subexpressions of a list initialization are sequenced.
2021-07-03 10:45:12 +03:00
John Bytheway d2074a4c18 Provide class name in UnsequencedCallsCheck
It's useful for the warning message to also provide the type name of the
thing on which the member function calls are being made.
2021-07-03 10:45:12 +03:00
John Bytheway 58f9ba6c6e Better identification of effectively const methods
Any method with an overload which is const can be treated as effectively
const for the purposes of this check (ideally we'd also see whether the
resulting use was const, but that's probably more complication than
necessary).
2021-07-03 10:45:12 +03:00
John Bytheway f9c01f1724 Treat logical operators as sequencing
Most false-positives for UnsequencedCallsCheck were related to logical
operators.  Handle those properly.
2021-07-03 10:45:12 +03:00
John Bytheway c4d67b5eea Treat nested calls as sequenced
Previously the UnsequencedCallsCheck was giving false positives for
calls where one was nested within the other; prevent that.
2021-07-03 10:45:12 +03:00
John Bytheway e0818e048e Exempt more things from unsequenced calls check
Treat member functions called begin, end, find as special and
effectively const.

Treat the ternary operator as sequencing its args.
2021-07-03 10:45:12 +03:00
John Bytheway a91f191d48 Add initial UnsequencedCallsCheck
This check is intended to look for cases where code is calling multiple
member functions of the same object, at least one of which is non-const,
without an intervening sequence point.  This has been the source of some
bugs, primarily in JSON parsing, where objects might be extracted from
JSON in an unexpected order.
2021-07-03 10:45:12 +03:00
John Bytheway 5463452a5c Move HashCombine to clang-tidy-plugin/Utils.h
Expecting this to be needed in multiple places now, so move to shared
code.
2021-07-03 10:45:12 +03:00
casswedson a7bcda1aef fix typo (#48505) 2021-07-03 10:45:12 +03:00
John Bytheway 06a002d98f Simplify mapgen logic
Previously there were separate dedicated components for terrain and
furniture mapgen.  But these are also supported in the more general
format_placings so it simplifies the code to get rid of the special
cases for terrain and furniture.

(There's some performance cost here, but I don't think it's
significant).
2021-07-03 10:45:12 +03:00
John Bytheway 83065093bc Enable performance-inefficient-vector-operation (#48480)
* Add a collection of `vector::reserve` calls.

All changes done automatically by clang-tidy.

* Enable performance-inefficient-vector-operation
2021-07-03 10:45:11 +03:00
John Bytheway 3f58af8fdd Work around issues with STL move assignments (#48482) 2021-07-03 10:17:08 +03:00
John Bytheway 4ea591ca95 Fix missing harvest entry introduced in #48228 2021-07-03 10:17:08 +03:00
Maleclypse 9cd9215ff4 Retractable security gates (#48336) 2021-07-03 10:17:08 +03:00
John Bytheway 614d23f1bd Enable clang-tidy check for noexcept move constructors (#48467)
* Mark many things noexcept

Mark all our move constructors and move assignment operators noexcept.

* Enable performance-noexcept-move-constructors

This clang-tidy check looks for mone constructors which were are not
noexcept, which can cause poor performance when those classes are e.g.
used in a std::vector.
2021-07-03 10:17:08 +03:00
Alexey Mostovoy 3320cfc72b Mark string for translation 2021-07-03 10:17:08 +03:00
Brian-Otten f66788d151 simple makeshift glaive (#48386) 2021-07-03 10:17:08 +03:00
Mark Langsdorf 48a304f454 Dark Skies Above: Surveillance drone scan and reinforcements (#48228) 2021-07-03 10:17:08 +03:00
ANickelN 0d12c09d0e Fix glass weights, lengths and volumes (#48449) 2021-07-03 10:17:08 +03:00
ANickelN 855ee3ef35 Audit Pocket Length/Volume/Weight Clothing (#48420) 2021-07-03 10:17:08 +03:00
ephemeralstoryteller 22b67ba730 [Dark Skies] Adds ballistic armor to aliens (#48446) 2021-07-03 10:17:08 +03:00
ephemeralstoryteller 5ed81fe133 [Dark Skies] Lore and JSON Cleanup, Blacklists Mutant Wildlife (#48448) 2021-07-03 10:17:08 +03:00
MitztheKat ee35894883 Clarify Wood Saw's log-to-plank ability in its description (#48444) 2021-07-03 10:17:08 +03:00
slitherrr 4f67537206 Fix some dialog in refugee trees
Add an escape for the Jenny Forcette training tree to prevent an
unescapable loop when the avatar is too skilled, and also add a bit of
prologue to Boris's ask for the Ash's Laptop quest.
2021-07-03 10:17:08 +03:00
John Candlebury 1e49f91700 Aftershock: Cold Suits (#48428) 2021-07-03 10:17:08 +03:00
John Bytheway 1a9f7ce69b Enable clang-tidy readability-function-size (#48407)
* Enable readability-function-size

Suppress the remaining cases for functions I don't care to refactor.

* Typo in iteminfo_test
2021-07-03 10:17:08 +03:00
John Bytheway 8188dfd4bc Fix compilation of magic.cpp (#48430)
This got broken by #47946 because exp_for_level was made a member
function but one call to it was not updated.  Fix that.
2021-07-03 10:17:08 +03:00
John Bytheway b43de6ac39 Refactor iteminfo_test coverage and encumbrance
Pull out a bunch of repeated REQUIRES commands into two new helper
functions.

This dramatically reduces the number of statements in the function,
allowing it to pass the clang-tidy check for function size, and I think
it also improves readability.
2021-07-03 10:17:08 +03:00
John Bytheway a50fca1522 Split ammo_set_test function
Split this large function to reduce its size.
2021-07-03 10:17:07 +03:00
John Bytheway ad4061ef45 Refactor Character::hardcoded_effects
Split some more effects out into their own specific functions to reduce
the size of this very large function.
2021-07-03 10:17:07 +03:00
John Bytheway 5cc35b20a8 Split game::handle_action
Make this large function smaller by factoring out two parts of it into
new functions.
2021-07-03 10:17:07 +03:00
John Bytheway 224ab58944 Split debug_menu function
Extract three cases from the giant switch statement into new, separate,
functions.
2021-07-03 10:17:07 +03:00
souricelle d9d480598a Add feral scientists and lab security (#47996) 2021-07-03 10:17:07 +03:00
Xenomorph-III e864f77299 Reword student description (#48370) 2021-07-03 10:17:07 +03:00
actual-nh c05dd4f9f2 [Magiclysm] Fix orc archer not spawning with ammo (#46780) 2021-07-03 10:17:07 +03:00
casswedson eb1689a932 Misc typographical fixes (#48346)
* misc typographical fixes

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-07-03 10:17:07 +03:00
Shadestyle 8ef53356cc Add Underground Pit Digging (#47943) 2021-07-03 10:17:07 +03:00
LaVeyanFiend 1961a898d7 Mutations + Bionics: The Cancelling (#47117) 2021-07-03 10:17:07 +03:00
Eric de94ec61bf Unhardcode bio_drain bionic faults (#48295) 2021-07-03 10:17:07 +03:00
Eric cdfb37f013 Allows defining enchantments inline in bionics/mutations (#48151) 2021-07-03 10:17:07 +03:00
Anton Burmistrov 50854965f0 Jsonify drug dealer map extra (#48327)
* Added json-version of drug dealers map extra

* Made game use json-version instead of hardcoded one

* Updated item group to contain drugs

Also increased damage level of corpses to pulped state so they don't revive

* Removed hardcoded generation
2021-07-03 10:17:07 +03:00
Mark Ponti 636fd0de5f meatballs (#48124)
* Update meat_dishes.json

* Update meat_dishes.json

* Update meat_dishes.json

* Update meat_dishes.json

* Update recipe_food.json

* Update recipe_food.json

* Update recipe_food.json

* Update recipe_food.json

* Update recipe_food.json

* Update data/json/recipes/recipe_food.json

Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>

Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-07-03 10:17:07 +03:00
Jamuro-g a5cdf3c723 Added warning to excessive long attack times (#47835)
* added warning to excessive long attack times

* restore code

* astyle fix

* removed unused code

* Update src/melee.cpp

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

* Update src/melee.cpp

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

* switch message block

Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2021-07-03 10:17:07 +03:00
MarlossCDDA 332fb1c602 Replace "two-by-four" with "plank" in user-facing strings (#47709)
* s/two by four/plank

there are still some translations that refer to "two by" "four" across
two lines, leaving those alone for now because I'm lazy

* fix id in doc/VEHICLES_JSON.md, revert translation changes
2021-07-03 10:17:07 +03:00
zeropol 8033e1f9e0 Filter items by book skill ( V, e, / ), fixes #47530 (#48275)
* Add a filter to search books by skills they teach

* Hide books not skimmed when filtering items

The player was able to know which skill a book tech without first skim it.

* Fix typographic error

* Check non-skill by ID

name() is i18n-dependent and it may return something other than "nothing" in different languages.

Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-07-03 10:17:07 +03:00
Alexey Mostovoy 2b9515f147 Fix typo 2021-07-03 10:17:07 +03:00
Maleclypse 743e07d8e0 Add Red Concrete (#48242)
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-07-03 10:17:06 +03:00
zeropol bc21b71d38 Make gym furniture constructible (#48271) 2021-07-03 10:17:06 +03:00
Mark Langsdorf b7dd00c23d monsters: Monsters on patrol (#48155)
* mapgen: clean up jmapgen_monster formatting

Add some whitespace and relocate some single line comments so
the jmapgen_monster class looks nice on a 100 character wide
screen.

* monsters: pass a patrol route to a monster

Add the ability to define a patrol route when placing a monster.
The patrol route is defined as a series of relative mapsquare points
to the original overmap terrain tile's (0,0) mapsquare and is part
of the "spawn_data" structure.  Patrol routes and progress along the
route are saved as part of the monster's data structure.

Monsters on a patrol route move on the patrol if they have nothing
better to do: patrol movement takes precedence over wandering and
stabling, but any valid target overrides the patrol.  Monsters on
a patrol will move to the next patrol point in the list.  As a
work-around for impassible destination points, patrol points are
considered reached when the monster gets within 2 tiles of them.

* monsters: document spawn_data and add patrol in mapgen.doc

Document the existing spawn_data field and its ammo subfield, and
add the new patrol subfield. patrol is a list of points that the
monster will move between, when it would otherwise move idly.
2021-07-03 10:17:06 +03:00
Saint-of-Grey caf6eb1e6f Update description of LEAVES mutation line (#48215) 2021-07-03 10:17:06 +03:00
Dekker3D c20d62adfb Material volume fixes (#48194) 2021-07-03 10:17:06 +03:00
Eric e3d862fc02 Change weather to use effect_on_conditions (#48178)
* Move weather into effect_on_conditions

* Update effect_on_condition.json

* LGTM issue
2021-07-03 10:17:06 +03:00
John Bytheway 50e201260d Detect duplicate values in json definitions of sets (#48225) 2021-07-03 10:17:06 +03:00
Light-Wave 76d644b350 [Magiclysm] New spell: Jar of Force (#47952)
* Adds Jar of Force spell for magus

Adds Jar of Force, a magus spell that summons a jar of force that acts as a 3l jar. It can store liquids and be used to boil things in.

* Update data/mods/Magiclysm/Spells/magus.json

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

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-07-03 10:17:06 +03:00
Salty Panda 9ccd59aa31 [Magiclysm] Overhaul and balance dragon items (#47499)
* Overhaul dragon items

* Fixes

* Small balance fixes after testing, make crafting costs more linear

* Update data/mods/Magiclysm/items/black_dragon_items.json

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

* Update data/mods/Magiclysm/items/black_dragon_items.json

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

* Make xl visor the same thickness as normal one to avoid error, specify in description that dragon hide/scale is very durable, fix gloves description mentioning Kevlar, add XL backpack

* lint

* fix xl backpack

* Update data/mods/Magiclysm/items/black_dragon_items.json

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: Curtis Merrill <curtis.r.merrill@gmail.com>
2021-07-03 10:17:06 +03:00
OromisElf 94579b72f1 new druid spell: seed of growth (#47912)
* new druid spell: seed of growth

* added comment for future json workers
2021-07-03 10:17:06 +03:00
OromisElf 288867f074 added golem core, summon golem spell and ways to find golem core (#47500)
* added golem core, summon golem spell and ways to find golem core

golemancer can summon a clay golem with a golem core as a focus; golem cores aren't crafteable YET

* linted attunements

forgot to do that >.>

* added a recipe for golem core and a basic golemancy proficiency
2021-07-03 10:17:06 +03:00
Salty Panda c42287de21 [Magiclysm] Add spellcraft skillbook (#47431)
* add spellcraft skillbook

* Spawning too

* Change spawns
2021-07-03 10:17:06 +03:00
Eric 643c4dbae2 Adds effect_on_condition, allowing json scriptable events to happen at any time. (#48042)
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-07-03 10:17:06 +03:00
Saicchi f365a59bac Improve naming of uilist single letter parameters (#47722) 2021-07-03 10:17:06 +03:00
adamkad1 85f6491a5e Deluxe scrambled eggs from human meats (#47866) 2021-07-03 10:17:06 +03:00
chrispikula bc91db244b Moved Scourge and Lobotomizer to weapon category in inventory (#47893) 2021-07-03 10:17:06 +03:00
Matthew S. Klosak c750d29361 Migrate some activities to activity actor system (#47913) 2021-07-03 10:17:06 +03:00
Eric e0551278b5 Get bionic tools to use power as charges (#47694) 2021-07-03 10:17:06 +03:00
Jamuro-g 9d5f3992d2 Added vehicle racking activity (#47557) 2021-07-03 10:17:05 +03:00
Jamuro-g 6164fc1007 Added warning when removing gunmods (#47816) 2021-07-03 10:17:05 +03:00
LordMadness b3442dbfad NPC Interaction Tweak (#47819) 2021-07-03 10:17:05 +03:00
Bella b8f817aa2d Turbine CBM Obsoletion (#47774) 2021-07-03 10:17:05 +03:00
anothersimulacrum c1dc179cf4 Add gun variants, allowing to specify multiple guns with the same stat block (#46814)
* Add gun variant support

This allows genericizing our massive variety of very similar guns into
one statblock, without removing the flavor.
If a gun or magazine is specified to spawn without a variant, it will
pick from the variants available to it, based on their assigned weight.

Gun variants can specify an alternate name, description and ascii art
for a gun, and variants can be toggled through an option.

Add support for migrations to express variants.

Add explicit extraction for magazines to handle variants.

ASCII art for a variant will fall back to that of the base gun
automatically if not specified or invalid.

Maybe the naming could better express these are for both guns and
magazines, but I think it is fine as is.

item::gun_variant makes the assumption you check it has a variant first,
so make sure to do that.

Move the ammo at the end of gun names option to be next to the gun
variant option.

item::is_magazine doesn't tell us if type->magazine is safe to use, so
!!type->magazine must be used instead of that before accessing
type->magazine.

* Add hacks to Archive::io to load/save gun variants

I couldn't figure out how to specify the lambdas correctly, so I give
up, this works.

Problem is as follows:
In item, I have
```
const gun_variant_data *_gun_variant;
...
struct gun_variant_data
{
    std::string id;
    // other info that doesn't matter
}
```
I want to save this as `_gun_variant->id;`, and on load, load the string
that was saved and call `item::set_gun_variant(loaded_string);`.
This, and many variations of it don't work.
```
// In item:: scope
const auto load = [this](const std::string &variant) {
                      set_gun_variant( variant );
                  };
const auto save = [](const gun_variant_data *gv) {
                      return gv->id;
                  };
```

Someone who know what's they're doing here may want to fix my laziness.

* Add spawning support for gun variants

Allow specifying variatns in item groups, mapgen
(Item_group::add_item_entry), and in vehicles.

* Add documentation for gun variants

* Genericize NATO assault rifles

Information lost:
acr - 250ml barrel volume, folding stock
m38dmr - 125 dispersion

Move everything using an old rifle into the new generic rifles.

The m38dmr is debatable, but I figure it's fine to be generic.

Only m4a1s will spawn from unspecified variants at the moment, someone
else can figure out what the proper chances should be.

* Genericize other 5.56 assault rifles

These ones are unique enough to not be simple variants of the NATO
assault rifle, but they also don't need a full enumeration of stats.

Move the brand-specific information to be a variant, genericize name and
descriptions, and make all non-unique stats identical to those of the
NATO assault rifle.

I'm not sure of a good name for the sig generic version, but I want it
to be distinct from the AUTO only or BURST only NATO rifles.

* Genericize .45 ACP firearms

There may be some consideration needed on collapsing the stat blocks for
the pistols/smgs into a single one with copy-from, but this is simply
the highest level genericization changes.
2021-07-03 10:17:05 +03:00
Jamuro-g 546c8c5767 fixed power armor ui (#47475) 2021-07-03 10:17:05 +03:00
Jamuro-g b610f7bab3 fix color coding of container stat summary (#47409) 2021-07-03 10:17:05 +03:00
Xenomorph-III 3d9e5f089d Give the sports drink positive enjoyment value (#47617) 2021-07-03 10:17:05 +03:00
Saicchi b45581f673 Allow filtering debug messages by type (#47619) 2021-07-03 10:17:05 +03:00
Jamuro-g 2f1ca4b61a Fix allows siphon action to transfer tank contents inside same vehicle (#47647) 2021-07-03 10:17:05 +03:00
Jamuro-g b97d3921de cap pain gain from hauling heavy furniture (#47586) 2021-07-03 10:17:05 +03:00
OromisElf bc6079ee99 [Magiclysm] bundles (#48118) 2021-07-03 10:17:05 +03:00
John Candlebury 2cf9275f08 Blacklist/Whitelist monsters by species (#48203)
* Blacklist/Whitelist monsters by species

* Document new blacklist feature
2021-07-03 10:17:04 +03:00
Maleclypse 3ed2ac8338 Valentine Card Spawn (#48210) 2021-07-03 10:17:04 +03:00
Mark Langsdorf 9fc19b5df3 Dark Skies Above: spellcheck the descriptions (#48164)
Run the descriptive JSON through Fedora32's spellcheck and fix
a couple of typoes.
2021-07-03 10:17:04 +03:00
Jamuro-g 10b2bf030c food_containers get colored with their foods colortag (#47426) 2021-07-03 10:17:04 +03:00
Mark Langsdorf 259eb443ef mapgen: allow placing active bomb items for better craters in Dark Skies Above (#48137)
* mapgen: allow activated items to be placed on the map

Add the new item flag "ACTIVATE_ON_PLACE".  Items placed during
mapgen with this flag will be activated immediately after they
are placed on the map.

* Dark Skies Above: use active bombs to create large bomb craters

Use the new ACTIVATE_ON_PLACE flag with active bombs with 1 second
count-downs in a new map special that randomly wrecks buildings
across multiple z-levels.  The bombs have max_noise = 0 and explode
silently to preserve the avatar's hearing.

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-07-03 10:17:04 +03:00
ephemeralstoryteller 2bbd0c32ca [Dark Skies Above] Plague Emissary Fix, Harvest Tweak (#48150) 2021-07-03 10:17:04 +03:00
Kevin Granade 3e4856bac2 Remove recycler and associated infrastructure (#48096) 2021-07-03 10:17:04 +03:00
tsulh 4afca487af fix a typo (#48131) 2021-07-03 10:17:04 +03:00
Maleclypse a7722aa21d Update Aftershock README.md (#48123) 2021-07-03 10:17:04 +03:00
RadHazard 6c862ccb36 Add more nutrition debug (#47716)
* add stomach and gut kCal to the debug menu

* Add detailed stomach and gut data to the needs menu

* add debug command to edit the faction camp larder

* Add debug command to empty a character's stomach & guts

* Add stored & total kCal view to the info box
2021-07-03 10:17:04 +03:00
Venera3 74750ed431 Add a new anger/fear trigger (#47792) 2021-07-03 10:17:04 +03:00
Viss Valdyr 43d12f2586 Tweaks for crowbar and makeshift crowbar (#47827) 2021-07-03 10:17:04 +03:00
Michael Macha b6f55e824e Update 40x46mm.json (#47859) 2021-07-03 10:17:04 +03:00
Xenomorph-III cea2b37819 Add MRE chocolate to the game (#47935) 2021-07-03 10:17:04 +03:00
Saicchi e27e278dc1 Better debug learn spell menu (#47946)
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
2021-07-03 10:17:04 +03:00
OromisElf 3c79e52063 updated talk_tags to contain more swears (#47215) 2021-07-03 10:17:04 +03:00
souricelle fd0037fb48 Feral Human Damage/Description Tweak (#48032) 2021-07-03 10:17:04 +03:00
OromisElf c4fa986f0f Electrical train (#48033) 2021-07-03 10:17:04 +03:00
anothersimulacrum 710db23f61 Show in vpart info when a wheel needs other wheels (#48088)
This flag is purely cosmetic, but is required to show this info.
2021-07-03 10:17:04 +03:00
John Candlebury 058e66a546 Unhardcode default Scenario/Profession & Make random starts respect Scenario Blacklists (#47918)
* Unhardcode default profession/scenario

* Random starts respect scenario blacklist
2021-07-03 10:17:04 +03:00
Maleclypse 9b31497637 Zombie Pig upgrades (#47860) 2021-07-03 10:17:04 +03:00
Maleclypse 6d462c394e Ki strike scroll (#47962) 2021-07-03 10:17:04 +03:00
Termineitor244 3d0bdc5b02 [Magiclysm] Less HP consumed at higher levels of Sacrificial Healing (#48097) 2021-07-03 10:17:04 +03:00
Termineitor244 af0e34d821 Increased the probability of condoms in wallets (#48100) 2021-07-03 10:17:03 +03:00
Termineitor244 b20423dc89 A livelier Zoo (#48108) 2021-07-03 10:17:03 +03:00
LaVeyanFiend f84df7a359 Fix MSC Typo (#48115) 2021-07-03 10:17:03 +03:00
Saicchi b8ac774074 Allow filtering by level in the recipe craft menu (#47995) 2021-07-03 10:17:03 +03:00
OromisElf 5cdd3cd6f5 added electric train engine (#48012) 2021-07-03 10:17:03 +03:00
Eric 2bc2ecbc85 Merge most effect flags and character flags (#47633) 2021-07-03 10:17:03 +03:00
Xenomorph-III 3c150f2b92 Add Faction Endings to Hub 01 (#48007) 2021-07-03 10:17:03 +03:00
Maleclypse e76c82c1a1 Flag Fix for Bollards for 0.F Dev (#48052) 2021-07-03 10:17:03 +03:00
Ramza13 19c9a592fd Unhardcode ease of sleep (#48010) 2021-07-03 10:17:03 +03:00
Jeremy Rose f1bf11fdad Note that vat is required for fermentation in vinegar brewing (#47651) 2021-07-03 10:17:03 +03:00
Jamuro-g 4503deb12f prevent bell spam (#47987) 2021-07-03 10:17:03 +03:00
Anton Burmistrov 1436fa7283 Spiral mine jsonify (#48003) 2021-07-03 10:17:03 +03:00
anothersimulacrum ea01f64da3 Allow CBMs to specify mutations that prevent installation. (#47822)
* Move CBM installation checks to Character

Reduce code duplication, encapsulate things better, and make this
available outside of the inventory menus.

* Allow mutations to prevent installing CBMs

Bionics can currently cancel mutations when installed, but can't have
mutations prevent installation.
2021-07-03 10:17:03 +03:00
anothersimulacrum 5a20f41283 Clean up character mutation gain a bit (#47821)
Reduce duplicated code.
I presume there's a reason that set_mutations didn't just call
set_mutation, and the only difference is that it doesn't do the cache
updates till the end, so preserve that behaviour.
2021-07-03 10:17:03 +03:00
anothersimulacrum c9c7f4b8d8 JSONize some trap features, replace trap int_id externs with string_ids (#47933)
* JSONize trap sonar detectibility

Add trap flags - just the same as normal flags, but for traps! Stick
them in their own separate file to avoid confusion.

* JSONize trap memorial messages

light_snare and heavy_snare seem to no longer exist, or I couldn't find
any reference to them but this and tilesets.

Updated dissector trap message, and added a trap message to some traps
(the hallway ones, one or two of the similar-but-not-the-same variants
of existing traps).

* JSONize trap temperature convection

Not quite sure how to describe it, went the lazy route.

* Move traps externs from int to string ids

When loading the game without this content, these will now only give an
error on the use of these, instead of at the end data loading for traps.

Previously there were performance concerns with this, but this should be
fine since #44261 - see #44500.

tr_null must remain an int id, as it used in the string to int id
conversion. This is fine, as it will always be loaded (it's in
data/core).

Move the ledge trap over to data/core as well, because everything will
need the 'open space' trap.
2021-07-03 10:17:03 +03:00
akirashirosawa bbc715b077 add description for Uyen's missions (#48026) 2021-07-03 10:17:03 +03:00
Maleclypse 69101a63b4 Traffic Bollards and an example of deployment (#48017) 2021-07-03 10:17:03 +03:00
OromisElf 31a0bcc5e8 body pillow recipe makes makeshift body pillow now (#47917) 2021-07-03 10:17:03 +03:00
casswedson 0ad73d9129 misc typograpical fixes (#47953) 2021-07-03 10:17:02 +03:00
LyleSY 10a0970da0 [DinoMod] Mushroom Madness (#47907) 2021-07-03 10:17:02 +03:00
Anton Burmistrov 1562560f47 Mine entrance expand (#47928)
* Added mine_materials item group

* Added Trolley vehicle

* Expanded and tweaked above-ground and underground levels of mine entrance
2021-07-03 10:17:02 +03:00
actual-nh 12e0882b81 Alter brown bread recipe to match canned version (#47915)
Fixes #47874.
2021-07-03 10:17:02 +03:00
actual-nh e208564be7 0.F-dev workflows (#47875) 2021-07-03 10:17:02 +03:00
actual-nh a7a22cd209 Add 0.F-dev to matrix.yml (#47875)
(Getting 0.F-dev working with Travis appears to require additional settings by someone with permissions.) This change enables both pushes and pull requests of 0.F-dev to get checked by the General Matrix. As it is, if one bases a PR off of 0.F-dev, it doesn't get checked by Github.
2021-07-03 10:17:02 +03:00
Anton Burmistrov b17c11fc4b Partial mine jsonify; new zombie miner (#47790)
* Moved mine_entrance OMT from the list of hardcoded locations to industial locations

Also removed mine_shaft OMT and replaced it with mine_shaft_middle and mine_shaft_lower OMTs.
Also added mine_entrance_roof OMT.

* Added mine_entrance and mine_shaft to the list of obsoleted terrains

* Added a zombie miner and its death drops

* Created a json-version of mine entrance and its roof

* Created a json-version of mine shaft (middle and lower variants)

* Changed overmap special definition of a mine to include new json chunks

* Applied migration of hardcoded mine_entrance and mine_shaft OMTs to new json variants

* Made hardcoded mine chunks generate to the west of lower section of new mine shaft OMT

Also removed mine_entrance and mine_shaft from the list of hardocoded mapgen.

* Completely removed build_mine_room function as all mine rooms are now defined in json

Also removed hardcoded generation of mine entrance and mine shaft.

* Removed mentions of mine rooms from mapgen.h

* Updated alt_map_key mod

* Updated graphical overmap mod

* Added missing harvest

* Appease clang and constify

* Quickfix

* Appease clang one more time
2021-07-03 10:17:02 +03:00
FuelType-Memes 06af0b5e0c Add book strap carrier (#47665) 2021-07-03 10:17:02 +03:00
LyleSY 89fb130218 fungal evolution (#47247) 2021-07-03 10:17:02 +03:00
Maleclypse 1205582081 Hunting lodge Location (#44378) 2021-07-03 10:17:02 +03:00
Ramza13 9a17cb93be Unhardcode bio_heatsink and bio_climate (#47713) 2021-07-03 10:17:02 +03:00
Curtis Merrill c47901f7d3 [Magiclysm] add lesser banishment spell, buff greater banishment (#47537) 2021-07-03 10:17:02 +03:00
Curtis Merrill 47f995f384 [Magiclysm] add owlbear origin snippet (#47752) 2021-07-03 10:17:02 +03:00
Fris0uman 051eb105cb Remove unused FATIGUE energy source from spells (#47852) 2021-07-03 10:17:02 +03:00
Fris0uman 80ed32aafa [My Sweet Cataclysm] Chocolate Cows don't drop "cow pies" (#47609) 2021-07-03 10:17:02 +03:00
Maleclypse 4b3ba728c3 Homemade toastems, buttercream frosting and recipes (#47696) 2021-07-03 10:17:02 +03:00
Maleclypse 6d1de464b5 Fried eggs deluxe, sandwiches, and condiment list (#47786) 2021-07-03 10:17:02 +03:00
Lamandus 616214d6d8 Tweakes to copper and metal pipes. (#47825) 2021-07-03 10:17:02 +03:00
actual-nh b7c10389c9 Have travis run for 0.F-dev (#47844)
Currently, .travis.yml has a 'development' branch specified as one to run tests for; the current equivalent is the 0.F-dev branch.
2021-07-03 10:17:02 +03:00
Lamandus 3ebaba31ae Tweaks for teas (#47848) 2021-07-03 10:17:02 +03:00
casswedson 22a5f08e8a [Aftershock] misc typograpical fixes (#47783) 2021-07-03 10:17:01 +03:00
Maleclypse d93f64febb Crackers as bread and jam&cheese sandwich (#47649) 2021-07-03 10:17:01 +03:00
OromisElf b2350d3adb makes glass walls and glass doors constructable (#47692) 2021-07-03 10:17:01 +03:00
Mom-Bun b10f676cd1 [AFTERSHOCK] Basic Ballistic Weapons (#47559) 2021-07-03 10:17:01 +03:00
Charlie Gardai fd6f47bde3 Stand up peek (#47257) 2021-07-03 10:17:01 +03:00
Hirmuolio 4d71bd863f Celsius temperature for freezing point (#47028) 2021-07-03 10:17:01 +03:00
Karol1223 c8e60a3e3e Added disassembly recipes for several items (#46316) 2021-07-03 10:17:01 +03:00
NeviNovat 1b269e2748 Make acetylene torch cut metal walls. (#46255) 2021-07-03 10:17:01 +03:00
Curtis Merrill 47b2019f90 Prepare npc, spell, character, and item for new ai (#47207) 2021-07-03 10:17:01 +03:00
Lamandus 436295ef80 Add duct tape blindfold for old reciepe plus tweaks for reciepe (#47527) 2021-07-03 10:17:01 +03:00
Fosheze 7f519fea0e Mealgurb (#47685) 2021-07-03 10:17:01 +03:00
SariusSkelrets 5100475a17 (CrazyCataclysm) Crazy Hallucinations (#47386) 2021-07-03 10:17:01 +03:00
UmbralReaper 63d806cce3 Fix typo in Valentines Card (#47583) 2021-07-03 10:17:01 +03:00
klorpa fa47598b63 Talk Tag Additions (#47010) 2021-07-03 10:17:01 +03:00
Zukulini fcaaa73734 Milleable corn (#46254) 2021-07-03 10:17:01 +03:00
RobertoVGoulart 7ad75dbcd2 Mycus fruit Juice (#44952) 2021-07-03 10:17:01 +03:00
El-Jekozo 31200b58ed New random mission (#44999) 2021-07-03 10:17:01 +03:00
Xaleth 08c4c2dcc8 Content: bread in a can (#45680) 2021-07-03 10:17:00 +03:00
grawprog d99c83ac93 Added Gelatin and Several Gelatin Based Recipes (#47080) 2021-07-03 10:17:00 +03:00
Xenomorph-III fb104e86d7 Tazer drone iii (#47353) 2021-07-03 10:17:00 +03:00
Jamuro-g bd30579206 Arm mounted pouch (#46946) 2021-07-03 10:17:00 +03:00
ToxiClay c3816918a1 Add hallula bread (#46282) 2021-07-03 10:17:00 +03:00
slimeboy460 c7b9d42ea8 Drug Dealer Profession (#47255) 2021-07-03 10:17:00 +03:00
LaVeyanFiend cd798d0ce5 Add a proficiency for handloading, and a new profession (#47244) 2021-07-03 10:17:00 +03:00
Maleclypse 5185ae2c09 Valentine Cards (#47438) 2021-07-03 10:17:00 +03:00
Binrui Dong bc28921102 Import 0.F translations on 3 Jul 2021 (#49536) 2021-07-02 22:00:06 -07:00
Kevin Granade 9aff71d700 Apply new release name throughout project. 2021-07-02 20:46:16 -07:00
Curtis Merrill b4e01258ab fix enchantment saving code (#49528)
Co-authored-by: olanti-p <olanti-p@yandex.ru>

Co-authored-by: olanti-p <olanti-p@yandex.ru>
2021-07-02 20:46:00 -07:00
Kevin Granade 76522d1f1a Trenchcoat thickness consistency to match recent overhaul.
Fixes #49385
2021-07-02 16:56:40 -07:00
Fris0uman 9894f033fc Update Ultica 2021-7-02 (#49521)
* Update Ultica 2021-07-02

* Update Chibi Ultica 2021-07-02
2021-07-02 11:17:26 -07:00
Angela Graves 68b8751a10 Merge pull request #49502 from LilyElisha/master
[BLAZE] Add Electrolysis kit to kitchen and cooking rigs
2021-07-02 00:53:41 -05:00
Kevin Granade 6361d74dab Streamline token handling 2021-07-01 18:46:12 -07:00
Kevin Granade 1686915efb Add a highlights section to changelog. (#49501)
* Add a highlights section to changelog.

* Apply suggestions from code review
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
Co-authored-by: Anton Burmistrov <Night_Pryanik@mail.ru>
2021-07-01 17:39:26 -07:00
anothersimulacrum 525188723a Nerf baselard and bone shiv damage (#49514)
The baselard and bone shiv, when plugged into the effective DPS test,
produced expected values of 22.5 - 3.5 points above any conventional
knife. Drop the damage of the baselard to match other knives, and drop
the damage of bone knive to roughly 75% of that, as per GAME_BALANCE.md
on makeshift weapons. (I overshot a bit, but I think where it is is
fine).

Also, move the combat knife to sort the effective dps test knife section
again.
2021-07-01 17:38:51 -07:00
Zhilkin Serg b584d7d6bb Fix map extras debug menu (#49508) 2021-07-01 17:36:49 -07:00
Kevin Granade a0b7c27cc2 Merge pull request #49519 from KorGgenT/fix-battery-cbms
fix battery cbms
2021-07-01 17:07:44 -07:00
KorGgenT 1fb5fa9d26 fix battery cbms 2021-07-01 14:39:55 -04:00
Xpyder 67bc16a361 balance point cost of mana traits (#49515)
adjust starting availability and point costs of the mana traits

previously the (arguably) strongest trait (flat increase that triples starting mana) was half the point cost of the others, and was available in strongest form at character creation.

Now point costs have parity (flat might still be the strongest for normal int levels but it's at least not also the cheapest) and made greaters always require mutation (i.e. max level not available at creation)
2021-07-01 12:59:42 -04:00
Fris0uman 6da1e0d034 Forgot two files in the last Tileset update (#49516) 2021-07-01 08:51:39 -07:00
Angela Graves 9749161ea4 Merge pull request #49511 from anothersimulacrum/very-confusing
Fix some incorrect weapon recipe categories
2021-07-01 03:42:54 -05:00
anothersimulacrum 60dadb3a1c Fix some incorrect weapon recipe categories 2021-06-30 16:50:11 -07:00
Zhilkin Serg 5861984305 Merge pull request #49503 from Fris0uman/tile
Update tilesets 2021-06-30
2021-06-30 19:05:02 +03:00
Meelock 50a5035738 woops
I don't know how I missed that.
2021-06-30 00:40:45 -07:00
Fris0uman 01c56d8dad Update Ultica 2021-06-30 2021-06-30 08:33:31 +02:00
Fris0uman f6c3722d78 Update ChibiUltica 2021-06-30 2021-06-30 08:32:44 +02:00
Fris0uman e6aa355d49 Update MSX 2021-06-30 2021-06-30 08:31:37 +02:00
Angela Graves e58a9fd9a8 Merge pull request #49496 from ashGlaw/Add-New-Apartment-Tower-to-Large-Building-Start
Adding new apartment tower to large building start
2021-06-30 01:04:15 -05:00
Meelock d45b2622fe Add the electrolysis kit to the break chance list 2021-06-29 23:01:51 -07:00
Meelock 4c65e8846f Add Electrolysis kit to kitchen and cooking rigs
This fixes an exploit.
2021-06-29 22:47:35 -07:00
casswedson e8a47945d4 Increase animated blade's armor (#49481)
It's a steel sword
2021-06-29 23:15:52 -04:00
Kevin Granade ff6be1daf3 Merge pull request #49491 from ZhilkinSerg/windows-direct3d11-default
Use DX3D11 renderer by default if it is available
2021-06-29 19:05:55 -07:00
Kevin Granade a4cf9e7393 Merge pull request #49499 from KorGgenT/fix-blood-powered-cbm
make it possible for cbms to be fueled by non-fuel items
2021-06-29 19:04:22 -07:00
I-am-Erk 8e3a8da410 Fix proficiency fail rates in magiclysm (#49498)
* Update proficiencies.json

* Update blacksmithing.json

* Update magic_tools.json
2021-06-29 20:43:03 -04:00
KorGgenT ef7e4f0dec add human blood as an option to fuel the blood power generator cbm 2021-06-29 20:36:23 -04:00
Fris0uman 84ffd113d7 Migrate tainted_blood to blood_tainted 2021-06-29 20:33:24 -04:00
KorGgenT 6eb026210b make it possible for cbms to be fueled by non-fuel items 2021-06-29 20:22:59 -04:00
Paul Fenwick 9b5b534201 Salt extraction using lye or rocksalt now uses applied science, not cooking (#49497) 2021-06-29 15:58:46 -07:00
ashGlaw 02635a9618 Adding new apartment tower to large building start 2021-06-29 08:59:51 -04:00
Angela Graves ddf05972e6 Merge pull request #49454 from Qrox/pocket-whitelist
Allow removing items in pocket whitelist/blacklist but not nearby
2021-06-29 00:02:44 -05:00
ZhilkinSerg 76b846cffd Use DX3D11 renderer by default if it is available 2021-06-29 02:26:45 +03:00
Paul Fenwick ba7ebad827 Allow NPCs to accept exact trades. (#49470)
This solves issues where an NPC offers to train you for (say) $10, but
actually insists on $10.01 or more in value.
2021-06-28 13:42:29 -07:00
Curtis Merrill 0d9e284594 fix biotek canceling force mage (#49484) 2021-06-28 13:40:25 -07:00
I-am-Erk d93117689c adjust proficiency ratios (#49486)
* adjust proficiency ratios

* Apply suggestions from code review

Left some as they were because I don't want to edit books themselves and because some of the variation from book to book was intentional

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

Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-06-28 13:40:12 -07:00
Cyrano7 212b6d872d Change toolbox crafting category (#49489) 2021-06-28 13:39:20 -07:00
Zhilkin Serg 19c4b2fcb7 Change default SDK version for Android builds 2021-06-28 22:12:07 +03:00
Angela Graves 2cc3f48e8b Merge pull request #49467 from casswedson/remove-that-one-wall
Small fix to house mapgen
2021-06-28 04:35:59 -05:00
Zhilkin Serg 48d1c4f5d8 Merge pull request #49476 from anothersimulacrum/fix-glowstick-charges
Don't complain about glowsticks having charges
2021-06-27 23:56:28 +03:00
anothersimulacrum 1161e5f10d Don't complain about glowsticks having charges 2021-06-27 11:52:54 -07:00
Angela Graves a5c3b7fa70 Merge pull request #49465 from pjf/turtleneck_price
Make turtlenecks no longer unreasonably valuable
2021-06-27 04:46:52 -05:00
zngurj ed007eea57 Don't waste XP on known proficiencies (#49466) 2021-06-26 22:42:14 -06:00
casswedson a2268dec34 Small fix to house mapgen 2021-06-26 21:34:53 -05:00
Binrui Dong 5c2e5fb0d9 Import 0.F translations as of 27 Jun 2021 (#49463) 2021-06-26 18:02:46 -07:00
casswedson 7b67f3138c small items category fixes (#49459) 2021-06-26 17:46:27 -07:00
Paul Fenwick 99a8c1adf5 Turtlenecks are no longer unreasonably valuable
Turtlenecks did not previously have a post-apoc price, which made them
extremely valuable.

This change brings them in-line with other stylish-but-not-high-utility
clothing.
2021-06-27 09:47:11 +10:00
Kevin Granade a9b5796f38 Merge pull request #49453 from anothersimulacrum/copyedit
Minor changelog copyediting
2021-06-26 15:54:18 -07:00
Paul Fenwick abff172b11 npctrade: Skip vehicle inventories when trading with an ally (#49452)
Previously, trades with allies would also show nearby vehicle
inventories, which could result in some very long trade lists.

Worse still, these would show up for both the player and the NPC,
resulting in identical items on both sides.

This change restricts trade with allies to only use player and NPC
inventories, not nearby vehicle containers.
2021-06-26 15:11:24 -07:00
venum4k 6458175d7e Update 10mm.json (#49451)
Glock 40 MOS sight dispersion was set the same as its dispersion, resulting in a very inaccurate handgun with the default iron-sights. Set it to 40 so it's more inline with other pistols.
2021-06-26 15:07:12 -07:00
Angela Graves ca5e700356 Merge pull request #49460 from casswedson/long-wand-long
[Magiclysm] give magic wands a longest side
2021-06-26 04:32:11 -05:00
casswedson 44d61923f4 give magic wands a longest side 2021-06-25 23:21:05 -05:00
anothersimulacrum 703246852e Fix tenses for adjusted changelog lines
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-06-25 20:19:36 -07:00
Qrox 1c44ad7dab Allow removing items in pocket whitelist/blacklist but not nearby 2021-06-26 09:42:30 +08:00
anothersimulacrum 4bc32211cd Make some changelog entries more readable
Change the phrasing to state a little better that is being added in this
update.

Also move a line about Magiclysm from features to mods.
2021-06-25 17:51:28 -07:00
anothersimulacrum 9429c5b780 Sort mod changelog entries
Also, expand on the behaviour of the Ki Strike trait in MMA.
2021-06-25 17:35:34 -07:00
anothersimulacrum 833babb2ff Slight changelog copyediting
These reference features not in 0.E, so clean them up to mark them more
as differences against 0.E
2021-06-25 17:35:13 -07:00
Stephane Chauveau a0a4318582 Move the zome_manager reset to the cleanup at end. (#49443)
In the previous implementation for the zones reset, the static
zone_manager object can be created before loagind the global
json file thus causing the list of zone types to be incomplete.
Should fix #49438
2021-06-25 16:21:29 -07:00
Angela Graves 4a3fa7c71b Merge pull request #49441 from Maleclypse/Rural-House-SUS
Bugfixes "Add slightly more stuff to houses that feel empty"
2021-06-25 03:05:44 -05:00
Maleclypse 182f5b2243 linting 2021-06-24 22:42:14 -05:00
Maleclypse f3f8df7c69 typo 2021-06-24 22:26:57 -05:00
Maleclypse 05c71ee40a adding additional house goods 2021-06-24 22:02:30 -05:00
anothersimulacrum f1cf556061 Fix 'unvisited member' in tilesets & mod tilesets (#49436)
porter's note:
Removed some (unecessary) ifdef(TILES) guards, and rearrangement of
various things to do with that to avoid extra churn.

Also removed old code fixing failed-to-vist errors for mod tilesets,
that is now unecessary.

Compiles and runs with both tiles and curses.

Co-authored-by: olanti-p <olanti-p@yandex.ru>
2021-06-24 17:33:57 -07:00
Binrui Dong 2fe73281bb Use Win32 API to retrieve current time (#49407)
* Use Win32 API to retrieve current time

* Fix compile error in get_time() on MinGW cross-compile

* Unsuppress potentially-dangerous-function warning in LGTM check
2021-06-24 23:10:49 +03:00
Stephane Chauveau 134c7d6364 add reset of zone_manager (#49423) 2021-06-24 22:42:59 +03:00
Angela Graves 2401964cf2 Merge pull request #49427 from jumjummju/ghee-fix
Fix ghee triggering lactose intolerant allergies
2021-06-24 01:50:21 -05:00
Fris0uman bc77f0b46c Tileset update 2021-06-24 (#49431)
* Update MSXotto 2021-06-24

* Update Chibi Ultica 2021-06-24
2021-06-23 23:40:45 -07:00
I-am-Erk 64afab68a5 Fix some map extras that didn't spawn. (#49429) 2021-06-23 22:44:27 -07:00
I-am-Erk b2e46e103d Fix gravel construction inconsistencies etc (#49415)
* gravel balance

* lint
2021-06-23 22:25:02 -07:00
I-am-Erk 133230b22d update ultica for stable (#49430) 2021-06-23 22:20:33 -07:00
jumjummju e4fee0ef58 Update dairy.json 2021-06-23 23:22:25 -04:00
jumjummju a3448ff26e Update dairy.json 2021-06-23 22:29:44 -04:00
Kevin Granade 2d8d6e0b5a Changelog 06192021 (#49403)
* Import changelog entries up to 06-19-2021

* Copyedit changelog

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* remove redundant line

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: pehamm <76401419+pehamm@users.noreply.github.com>
Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
2021-06-23 10:05:03 -07:00
Angela Graves 125cd18212 Merge pull request #49409 from Maleclypse/Remove-Fusion-Blaster-Arms
[Aftershock]  Remove bio_blaster cbm spawns
2021-06-23 04:25:49 -05:00
eltank 7826b14abd Disable the refugee center navigation mission (#49410) 2021-06-22 18:56:54 -07:00
eltank 27c15c9d6d Remove inappropriate specials from classic_zombies (#49413) 2021-06-22 18:55:17 -07:00
Maleclypse 3fef5701fa Remove bio_blaster cbm spawns 2021-06-22 14:07:57 -05:00
Angela Graves 84f7d8a22c Merge pull request #49344 from casswedson/spawn-plagues
Make plague cockroaches spawn
2021-06-22 01:05:25 -05:00
Hirmuolio 1990779944 do not set acid temperature (#49399) 2021-06-21 17:11:53 -07:00
Zhilkin Serg 0dfb7548a8 Merge pull request #49364 from AccountAlias/bad-knees
fix bug applying bad knees multiplier when moving diagonally with bad knees
2021-06-22 01:20:22 +03:00
Zhilkin Serg dc1a4dbef6 Merge pull request #49372 from chrispikula/Mexican-Hot-Chocolate
Mexican Hot Chocolate
2021-06-22 01:19:10 +03:00
Zhilkin Serg abe43b3a57 Merge pull request #49400 from Zeropol/halu-npc-will-not-trade
Fix friendly hallu NPC were able to trade
2021-06-22 01:18:08 +03:00
Zhilkin Serg b74938cbd3 Merge pull request #49378 from BrettDong/localtime
Fix thread safety warning on localtime()
2021-06-22 01:17:25 +03:00
zeropol e700cdd463 Fix hallu NPC were able to trade
There was no check that the NPC were not an  hallucination.
2021-06-21 22:37:15 +02:00
Zhilkin Serg 41b5faddfa Remove unused static variables (#49351) 2021-06-21 15:45:39 -04:00
Angela Graves 92e150734c Merge pull request #49386 from eltank/light_industry_z
Add zombies to light industry complex
2021-06-21 00:13:10 -05:00
eltank e5511ea4d2 Add zombies to light industry complex 2021-06-20 16:02:29 -07:00
Binrui Dong 51452d1659 Fix thread safety warning on localtime() 2021-06-20 17:11:05 +08:00
Angela Graves f963525854 Merge pull request #49371 from RenechCDDA/fix_judo_belts
Make judo belts reasonably repairable, about equivalent to a scarf
2021-06-20 01:14:07 -05:00
Kevin Granade 5900e0bca2 reset dodges_left on_dodge test (#49370)
* reset dodges_left on_dodge test

Only broke with LTO?

* bail out of animation function in test mode.
2021-06-19 17:40:52 -07:00
chrispikula 4c47483de6 Update recipe_food.json 2021-06-19 12:40:25 -06:00
RenechCDDA f78d0ef246 Make judo belts reasonably repairable, about equivalent to a scarf 2021-06-19 13:23:31 -04:00
Angela Graves 1d56719c5e Merge pull request #49366 from Maleclypse/neural-io-to-harvests
[Aftershock] Adds neural io drops to harvests
2021-06-19 08:21:05 -05:00
Maleclypse ba301f4588 neural IO to harvests 2021-06-19 00:00:00 -05:00
Kevin Granade 7deffeed87 Reduce feral rock damage slightly to bring it in line with players throwing rocks 2021-06-18 17:17:43 -07:00
casswedson 72094cfede don't add extra damage to feral human throw attack 2021-06-18 17:17:43 -07:00
Kevin Granade c044e5d2f7 Add test characterizing how much damage feral humans deal with their thrown rock attack. 2021-06-18 17:17:43 -07:00
AccountAlias 808e7172a1 fix diagonals on bad knees 2021-06-18 19:34:55 -04:00
John Candlebury 7fa964e28d Cuteclysm: Update (#49355)
* Cuteclysm Update

* Style cuteclysm tile_config file
2021-06-18 09:10:58 -07:00
anothersimulacrum d621b66080 Revert "Add mansion basecamp (#49241)" (#49356)
This reverts commit 989bcb8feb.
2021-06-18 08:17:38 -07:00
krulunio 989bcb8feb Add mansion basecamp (#49241) 2021-06-18 11:09:33 +03:00
Extension-Driver c328ed9072 Add right wing mirror to the Low-End Cube Van (#49335)
* Add right wing mirror to the Low-End Cube Van

* Update vehicle drag tests

The cube_van_cheap additional mirror caused these to fail, so let's
update the test.

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2021-06-18 11:02:56 +03:00
Zhilkin Serg a0194ed1fe Merge pull request #48887 from emomicrowave/bugfix/npc_trade_charges
Fix item duplication exploit when trading items with charges with NPCs
2021-06-18 11:02:11 +03:00
Zhilkin Serg a8857c8d86 Merge pull request #49350 from Fris0uman/tilesetUpdate
Tileset update 2021-06-18
2021-06-18 11:01:38 +03:00
Fris0uman 923685663a Update Ultica 2021-06-18 09:44:39 +02:00
Fris0uman a74317e434 Update Chibi Ultica 2021-06-18 09:43:25 +02:00
Fris0uman 6245b21c4a Update MSXotto+ 2021-06-18 09:41:58 +02:00
Zhilkin Serg 1233dae3f1 Merge pull request #49349 from BrettDong/android-i18n
Remove '?' from German Android UI translation
2021-06-18 08:55:09 +03:00
Angela Graves f75db2fb48 Merge pull request #49317 from YoungBlood01/window-curtain-fix
open windows do not close when tearing down curtains
2021-06-18 00:21:39 -05:00
Binrui Dong 0bfd844ab6 Remove '?' from German Android UI translation 2021-06-18 12:59:06 +08:00
Zhilkin Serg 1fdd48b832 Update credits for 0.F (#48119)
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
2021-06-17 18:36:14 -07:00
Kevin Granade ba1e9ad56f Remove arbitrary doubling of monster melee skill in special attacks 2021-06-17 18:24:08 -07:00
Kevin Granade 502985754f Audit FANCY flag use, remove from questionable articles (#49078)
* Audit FANCY flag use, remove from questionable articles

* Tweak morale test to match adjustments from FANCY audit

* astyle
2021-06-17 18:19:46 -07:00
rohanlean ebf4fa8709 update some freedesktop metadata files and install them when appropriate (#49108) 2021-06-17 18:17:47 -07:00
Lance Finfrock b602d8e715 Fixing muscle engines failing to start randomly (#49166)
* removing muscle engines from failing to start randomly

Signed-off-by: Lance Finfrock <lancewf@gmail.com>

* Fixing vehicle_split_test tests

Signed-off-by: Lance Finfrock <lancewf@gmail.com>
2021-06-17 18:12:06 -07:00
pehamm 917a4a9a48 Ensure atomic coffee is brewed hot (#49061)
* Added atomic coffee to hot_result

* Update should_heat

Co-authored-by: pehamm <peter.hamm@m-chair.de>
2021-06-17 16:33:28 -07:00
I-am-Erk 81ea503124 brettdong workaround (#49339) 2021-06-17 16:29:03 -07:00
Kevin Granade ffbd76c51c Enforce dodges_left tracking (#49330)
* Enforce dodges_left tracking

* Removed obsolete dodge test

* update comments

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
2021-06-17 16:27:41 -07:00
Ilya Agafonov 11a8ab42ac removed medical gloves from combat medic items (#49174) 2021-06-17 16:20:05 -07:00
natsirt721 a9699963c6 Rearrange brewing and distillation recipies across books (#49220) 2021-06-17 16:18:01 -07:00
Binrui Dong 48158971d8 Updated Android UI translations (#49342) 2021-06-17 16:15:29 -07:00
casswedson 0704bcd15b Make plague roaches spawn 2021-06-17 16:12:48 -05:00
Delta af4b28f409 prevent_climbling_mesh_screens (#49325) 2021-06-17 13:21:08 -07:00
David Backeus 50b234567f Remove Welding proficiency requirement for Makeshift Arc Welder (#49311)
* Remove welding proficiency requirements for makeshift arc welder

Avoids catch 22 for getting into welding since it’s practically impossible to craft a makeshift welder without having the proficiencies, which you can’t get without a welder.

* Restore “Principles of Welding” proficiency req for Makeshift Arc Welder

Based on feedback in Pull Request making the point that, since the Makeshift Arc Welder is learnt automatically, it might make sense to increase the probability of successful assembly based on proficiency with welding fundamentals.

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

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

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

Lint fix

Co-authored-by: pehamm <76401419+pehamm@users.noreply.github.com>

Co-authored-by: I-am-Erk <45136638+I-am-Erk@users.noreply.github.com>
Co-authored-by: pehamm <76401419+pehamm@users.noreply.github.com>
2021-06-17 13:16:52 -07:00
Binrui Dong d7fc0b50e6 Import 0.F translations as of 18 Jun 2021 (#49341) 2021-06-17 13:05:27 -07:00
Angela Graves 2c1eab23f7 Merge pull request #49328 from Tairesh/fix_window_bars_deconstruct
Deconstruction of windows in gun store removed
2021-06-17 00:59:55 -05:00
Ilya Agafonov b9653add78 deconstrution of windows with metal bars removed 2021-06-16 21:37:58 +05:00
Zhilkin Serg 47a2b01aa1 Rollback to USER_TOKEN 2021-06-16 11:30:34 +03:00
Kevin Granade 59e76c2643 Switch to manual build for C++ (#49319)
* Switch to manual build for C++

Autobuild was picking up tests, but ended up running out of disk space, maybe it will have enough space if we just build the exe

Actually refrain from building tests.

Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
2021-06-16 10:31:23 +03:00
Zhilkin Serg 0ee2bd7e70 Try a different secret 2021-06-16 10:28:24 +03:00
Angela Graves 08e0b64437 Merge pull request #49305 from CleverRaven/fix-missing-bp-for-random-char
Set body for random character earlier
2021-06-16 02:28:06 -05:00
YoungBlood af560fced2 fixedWindowClosing 2021-06-16 05:14:09 +08:00
Kevin Granade 8a22b9d8bd Fine, we don't want Java checks anyway 2021-06-15 13:16:24 -07:00
Kevin Granade fe6189b9c0 Enable auto-generated CodeQL workflow 2021-06-15 09:42:25 -07:00
Angela Graves 9a81a10903 Merge pull request #49306 from casswedson/restore-food
Restore corn dogs and hot dogs in food vendor carts
2021-06-15 00:54:24 -05:00
casswedson 88869fc140 restore hotdogs and corndogs in food vendor cart 2021-06-14 17:08:12 -05:00
Zhilkin Serg 8f2971fb27 Set body for random character earlier 2021-06-14 22:41:30 +03:00
Zhilkin Serg be78312a94 Add github api v3 header 2021-06-14 20:17:42 +03:00
Zhilkin Serg cf8099c579 Fix package name 2021-06-14 18:04:35 +03:00
Zhilkin Serg fd83277f2f Merge pull request #49300 from ZhilkinSerg/msvc-object-creator-vcpkg-qt5-fix
Update object creator for latest qt5 vcpkg changes
2021-06-14 18:00:34 +03:00
Zhilkin Serg 7c63cb2c5c Update object creator for latest qt5 vcpkg changes 2021-06-14 17:59:08 +03:00
eltank e2ef8b8737 Fix the hidden lab basement mapgen (#49230) 2021-06-14 17:27:49 +03:00
SenpaiSlime 7d5f6ba8f9 Replace ATTACKMON in all monster entries (#48942) 2021-06-14 17:25:10 +03:00
Zhilkin Serg 251ebda3d0 Merge pull request #49268 from Tairesh/fix_medevac_wrecks
Fixed tanks in Medevac wrecks
2021-06-14 17:22:28 +03:00
Zhilkin Serg 078df5dbb6 Merge pull request #49283 from CleverRaven/kevingranade-rebuild-releases-page
add a stage to trigger a Jekyll rebuild on release
2021-06-14 17:22:14 +03:00
Zhilkin Serg 167528898b Merge pull request #49286 from connorpmartin/armored_car_fix
removed spiked plating from pre-cataclysm vehicles
2021-06-14 17:22:01 +03:00
Zhilkin Serg ba07ba2d50 Merge pull request #49288 from casswedson/clean-dirt
Small fix to church mapgen
2021-06-14 17:21:24 +03:00
Zhilkin Serg 38e4f95587 Merge pull request #49293 from anothersimulacrum/handle_liquid_ub
Prevent UB in handle_liquid.cpp
2021-06-14 17:21:12 +03:00
Zhilkin Serg 817307edec Merge pull request #49298 from linonetwo/patch-3
Provide USE_HOME_DIR=1 in MacOS build
2021-06-14 17:19:57 +03:00
lin onetwo e5bf5648dc Provide USE_HOME_DIR=1 in MacOS build
fixes #49297
2021-06-14 21:33:47 +08:00
Angela Graves ca3589f2d2 Merge pull request #49290 from Maleclypse/Look-at-Dirt-Roads-in-farms-and-cabins
Remove Shrubs from Dirt roads
2021-06-14 00:42:33 -05:00
anothersimulacrum 6fc4978329 Prevent UB in handle_liquid.cpp
Perhaps we could use a helper to return a null range in this sort of
case, but it's a bit overkill for a single case.
2021-06-13 21:47:04 -07:00
Maleclypse 7ac913c883 remove shrubs 2021-06-13 14:02:06 -05:00
casswedson d6a3a0884c small fix to church mapgen 2021-06-13 11:49:45 -05:00
Connor Martin 255b71e527 removed spiked plating from pre-cataclysm vehicles 2021-06-13 11:33:10 -04:00
Kevin Granade 6f4bb5c8c6 add a stage to trigger a Jekyll rebuild on release 2021-06-12 22:52:14 -07:00
Angela Graves 033a568472 Merge pull request #49277 from connorpmartin/science_ID_card_fix
Add science ID card to portal lab finale
2021-06-13 00:22:36 -05:00
AccountAlias 4637dd8284 factor unarmed in blocks (#49258) 2021-06-12 20:24:21 -07:00
Ilya Agafonov 0e318aae58 Fix building ramps and stairs (#49251)
* ramps checks fixed

* add new checks to JSON_INFO.md

* use flag NO_FLOOR instead of hardcoded t_open_air

* fix spelling

* fixed wood stairs exploit
2021-06-12 17:55:38 -07:00
Fris0uman 484fb6942f Add overlay_ordering entry for black dragon mutations (#49256)
* Add overlay_ordering entry for black dragon mutations

* tweak order
2021-06-12 17:51:11 -07:00
connorpmartin 58dcfbd4b3 Update data/json/mapgen/lab/lab_floorplans_finale1level.json
Co-authored-by: pehamm <76401419+pehamm@users.noreply.github.com>
2021-06-12 19:52:57 -04:00
Connor Martin 7a40d067a6 added science id card 2021-06-12 18:19:32 -04:00
Ilya Agafonov f636c6f4b8 fix_medevac_wrecks 2021-06-12 15:33:31 +05:00
anothersimulacrum a76f7e8ef8 Remove vitamin deficiency effects on load (#49265)
After #49083, effects will no longer be applied for most vitamin
deficiencies... or lost when no longer valid. Since they don't do
anything, let's remove them on load and not leave saves with an effect
that does nothing sticking around.
2021-06-11 23:22:11 -07:00
Angela Graves 0593801155 Merge pull request #49264 from natsirt721/fix-double-knitting
Remove duplicate knitting tool requirements from recipes
2021-06-12 00:40:23 -05:00
TheFurTrapper 89b881d712 Remove duplicate knitting tool requirements from recipes 2021-06-11 22:29:49 -04:00
Ilya Agafonov 7beb868f9d Build linux releases on ubuntu-18.04 (#49261) 2021-06-11 18:53:56 -07:00
eso 280c9fd44a partial vehicle damage reduction hotfix (#49080)
* partial vehicle damage reduction hotfix

trying to make vehicles less immortal. also removed ridiculous recipe for "hard plating"

* rescale rams to 1.25* durability/dr of their respective plates

* add a small amount of dr to some otherwise fragile components

* linting

* fix explosion damage test to look at total vehicle hp

also added additional test cases

* car stereos shouldn't do the star trek console explosion thing either
2021-06-11 10:19:19 -07:00
Angela Graves b030323b35 Merge pull request #49228 from Tairesh/build_roofs_simple_fix
Fix building roofs
2021-06-11 00:43:34 -05:00
Angela Graves 25abf78a60 Merge pull request #48972 from Hirmuolio/blood
set extracted blood temp
2021-06-10 01:15:04 -05:00
Angela Graves c821798a50 Merge pull request #49231 from SenpaiSlime/Fixing-Kel-Tec-2000-bug
Fixing the Kel Tec 2000
2021-06-09 00:27:52 -05:00
SenpaiSlime b3b68be3ee Gave the needed stock attachment slot
Gun now has the slot it needs to use its innate folding stock
2021-06-08 15:28:00 -07:00
Ilya Agafonov ec7e1d63f4 check if we need roof after construction 2021-06-08 16:53:57 +05:00
Angela Graves 876e779cbd Merge pull request #49187 from Tairesh/nerf_isherwoods_spawn
Isherwoods spawn nerfed to 35%
2021-06-08 04:28:23 -05:00
actual-nh 226bebc04f Fix float-keying activity level problem (#49179)
* Activity diary test now detects float-keying problem

avatar::log_activity_level is now getting fed (floating-point) numbers
that don't match the exact activity levels, due to #45316 making the
activity level per-turn then averaging activity over each 5-minute
period. The activity diary test (in tests/char_biometrics_test.cpp)
was not spotting this since it was still using times in multiples
of 5 minutes. This commit moves around 1 minute of NO_EXERCISE,
keeping the same total number of minutes of each activity level.
Currently, this results in a test failure in which 1 5-minute interval
is missing from each of the activity levels in the diary, since those
5-minute intervals were at intermediate (averaged) levels of activity.

* Process intermediate activity levels for debug output

This "buckets" activity levels that aren't exactly the predefined
set of levels (due to averaging over 5 minutes) into the closest
predefined level in avatar::total_daily_calories_string. Note that
saving of levels will not be bucketed. This, while useful for close
inspection of intermediate levels via looking at the save file, will
make the file slightly larger, slower to input/output, and (even)
harder to read manually. However, this has been true since #45316 was
merged and nobody seems to have noticed it.

* Correct logic error in attempted fix.

I forgot to add the number of 5-minute intervals and was instead adding
just one. It still doesn't quite work right (and I'll need to adjust
the expected gained/spent/total caloric values), but it's a lot closer.

* Adjust expected numbers for mixed intervals

The new results in terms of minutes are actually now correct; the
difference is because the last 5 minutes are 4 minutes of
EXTRA_EXERCISE and 1 minute of NO_EXERCISE, which averages out to
ACTIVE_EXERCISE (410 + 11 = 41; /5 = 8.2, and ACTIVE_EXERCISE = 8.0).
The rest is likely roundoff error, although it still bothers me a bit.

Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
2021-06-08 09:55:04 +03:00
Inglonias 88b16d4526 School is an option for "Large Building" start (#49207) 2021-06-08 09:53:33 +03:00
Zhilkin Serg 94c85e4a6e Merge pull request #49219 from Fris0uman/7-6-21
Tileset Update 2021-06-07
2021-06-08 09:53:16 +03:00
Fris0uman 689f32cce9 Update ChibiUltica 2021-06-07 2021-06-07 23:22:49 +02:00
Fris0uman 0102598f7d Update MshockXotto+ 2021-06-07 2021-06-07 23:22:18 +02:00
Fris0uman 790891287a Update UltimateCataclysm 2021-06-07 2021-06-07 23:21:30 +02:00
Angela Graves 31837e968d Merge pull request #49208 from SenpaiSlime/Fix-SWAT-CQC-Start-bug
Fix CQC SWAT start having two magazine attachments
2021-06-07 00:08:04 -05:00
SenpaiSlime 6f7bc37db2 Linting the file
i am an actual lintlet
2021-06-06 17:41:55 -07:00
SenpaiSlime 87f2f51052 Removed the redundant attachment
fixes a few problems, and the attachment is innate to the gun already
2021-06-06 17:26:52 -07:00
Stadler76 40fa40d012 Allow size flags for custom size changing mutations (#48850) 2021-06-07 01:11:51 +03:00
Zhilkin Serg 9535c99a63 Merge pull request #49144 from Delta5861/fix_turbine_weights
Reduce weight of the medium and large turbine engines.
2021-06-07 01:10:10 +03:00
Zhilkin Serg e968ca646a Merge pull request #49180 from RenechCDDA/Camp_Charcoal_Fix
Re-add byproducts to faction camp charcoal recipe
2021-06-07 01:09:33 +03:00
Zhilkin Serg 568832dcc4 Merge pull request #49193 from CalKerethi/vpart_flag_check
Check flags on vehicle parts during loading
2021-06-07 01:07:51 +03:00
Zhilkin Serg d57faed930 Merge pull request #49175 from Tairesh/add_medicine_to_combat_medic
Added aspirin, antibiotics, disinfectant, pepto to Combat Medic items
2021-06-07 01:05:46 +03:00
Ilya Agafonov 4b40b34725 Fixed eating containers with items inside (#49200)
* added check for containers to character::can_eat

* food.split_contents() when food is eaten, check in can_eat() removed
2021-06-07 01:05:25 +03:00
Ilya Agafonov 56e93a957c Melatonin tablet added to various itemgroups for spawn (#49202) 2021-06-07 01:04:47 +03:00
Zhilkin Serg 732df8a645 Merge pull request #49203 from Tairesh/fix_overfilled_kegs
Fixed overfilled kegs
2021-06-07 01:04:22 +03:00
Zhilkin Serg edd1d917f5 Merge pull request #49204 from casswedson/placeholder-prices
[Magiclysm] Add placeholder prices to spellbooks
2021-06-07 01:04:08 +03:00
Zhilkin Serg ce7ddb8cea Merge pull request #49201 from Fris0uman/like
Make all variant of memory cards look like a memory card
2021-06-07 01:03:53 +03:00
casswedson 8ed5cd3885 add placeholder prices to spellbooks 2021-06-06 10:45:30 -05:00
Ilya Agafonov 858f51bb58 fixed all overfilled kegs 2021-06-06 15:41:52 +05:00
Ilya Agafonov cefd754452 isherwoods occurencies changed to 35% 2021-06-06 14:53:05 +05:00
Fris0uman 6231b7580b Make all variant of memory cards look like a memory card 2021-06-06 11:28:53 +02:00
Angela Graves 6b9918a874 Merge pull request #49190 from Tairesh/fixed_altmapkey_isherwoods
[Alternative Map Key] Overrided special forest tile to make it same as regular forest
2021-06-06 00:26:10 -05:00
John Candlebury b03c725dcb Update Cuteclysm tileset (#49195)
* Update Cuteclysm

* Properly format cuteclysm's tile_config file
2021-06-05 18:38:08 -07:00
xerenogan 17b03b8dc3 Fixes slime duplication by adding "slime" material. (#49192)
Fixes #49186

Co-authored-by: Xerenogan <xerenogan@gmail.com>
2021-06-05 16:01:38 -07:00
CalKerethi 6b5a999477 Check flags on vehicle parts during loading 2021-06-05 18:07:12 -04:00
Ilya Agafonov 9cbea1d413 overrided special forest tile to make it same as regular forest 2021-06-05 23:10:30 +05:00
Ilya Agafonov b89007d79a isherwoods spawn nerfed to [ 10, 100 ] 2021-06-05 20:49:40 +05:00
CalKerethi d3b1ed2cb6 Define all flags used by vehicle parts (#49168) 2021-06-05 11:05:35 +03:00
Zhilkin Serg 6d94b0a996 Merge pull request #49182 from Maleclypse/Rope-recipe-fix
Removes String component from Making Long Rope from Short Rope recipe
2021-06-05 11:04:28 +03:00
Ilya Agafonov 818360174c Plastic canteen with clean water added to military (#49142) 2021-06-05 11:03:31 +03:00
RenechCDDA d13a1d7f49 Make faction camp recipes generate byproducts (#49143) 2021-06-05 11:03:17 +03:00
Zhilkin Serg 8a5a78eac6 Demon forges fix to be reloadable in forge of wonder (#48908) 2021-06-05 11:03:04 +03:00
Zhilkin Serg 5a651faaa1 Merge pull request #49158 from GoLoT/available_components_first
Show available materials/tools/requirements first
2021-06-05 11:02:19 +03:00
OldFriendEr 16a190407e Div by zero crash when drinking last charge of liquid fertilizer (#49163) 2021-06-05 11:02:04 +03:00
Zhilkin Serg 71356b5bf4 Merge pull request #49167 from Inglonias/biomonitor_fix
Radiation biomonitors take ultralight disposable batteries
2021-06-05 11:01:09 +03:00
Zhilkin Serg 0b65939307 Merge pull request #49173 from Tairesh/fix_splitrail_fencegate
Fix open wooden split rail gate
2021-06-05 10:59:19 +03:00
Angela Graves 32d77e649c Merge pull request #49177 from Tairesh/disallow_place_ladder_on_vehicle_tiles
Disallow placing stepladder if a vehicle in tile
2021-06-05 00:34:05 -05:00
Maleclypse 65d31be62e Move Dairy Farm Cube Van 1 tile away from house (#49153) 2021-06-04 17:30:51 -07:00
gisaku33 4f7f433885 Make cocaine topical cream a liquid (#49147) 2021-06-04 17:30:15 -07:00
Maleclypse 77953fc6e4 Update cords_and_ropes.json 2021-06-04 16:24:38 -05:00
RenechCDDA 7413397078 Re-add byproducts to charcoal recipe
The 'byproducts' were accidentally removed when most of the faction camp recipes were rebased onto normal player recipes. Since charcoal is special, it still gets its own little recipe. Only now it makes the amount it was always intended to make.
2021-06-04 13:14:46 -04:00
Ilya Agafonov 3249eb723c disallow placing stepladder when vehicle in tile
fixes #45784
2021-06-04 21:18:14 +05:00
Ilya Agafonov 61cbded3aa added aspirin, antibiotics, disinfectant, pepto to Combat Medic items 2021-06-04 17:47:27 +05:00
Ilya Agafonov b3bff62afe added transparent flag to open wooden split rail gate and maked it
destroyable
2021-06-04 16:50:51 +05:00
Angela Graves aa9ed437b6 Merge pull request #49159 from LyleSY/patch-14
kevlar armor horse recipe bugfix
2021-06-04 00:25:53 -05:00
LyleSY 1f12e6e947 kevlar armor horse recipe bugfix 2021-06-04 13:15:30 +08:00
Álvaro Muñoz 161042ddc6 Show available materials/tools/requirements first 2021-06-04 12:50:06 +08:00
eltank 6ddf008739 Fix proficiency books' effect on crafting (#48650)
* Fix proficiency books' effect on crafting

* Cache recipe batch time in craft_activity_actor::do_turn()

* Make crafting time functions const and/or operate on const Character.

Also makes Character::crafting_inventory() const.

* add a unit test

* also check that proficiency mitigation is not as good as having prof

* use a struct to encapsulate the crafting inventory cache

* clean up one hack

* Add TODO for getting rid of const_cast
2021-06-03 18:41:30 -07:00
Inglonias 43b8773992 Radiation biomonitors take ultralight disposable batteries 2021-06-03 21:06:02 -04:00
Angela Graves fc3689cd6b Merge pull request #49091 from natsirt721/remove-musclepower-fatigue
Fix muscle-powered vehicles causing fatigue and thirst
2021-06-02 13:29:05 -05:00
Delta 7adcded6d2 Reduce weight of the medium and large turbine engines.
#### Summary
Bugfixes "Fixes incorrect weights of medium/large turbine engines"

Description:
The medium turbine engine (aka the T700/CT7 turboshaft/gas turbine engine) weighs around 200kg realistically. The weight is bumped up to 400kg to account for parts not accounted for in real life, such as transmission, cooling, et cetera. The large turbine engine (aka the Rolls-Royce T406) weighs around 450kg in real life, which has been doubled in-game for the same reasons as above.
2021-06-02 23:27:32 +10:00
faefux cb88af73d7 Added buckles to belts. Changed recipies to include buckle. (#48946) 2021-06-02 12:05:35 +03:00
Zhilkin Serg 29edc95ee6 Merge pull request #48987 from Tairesh/add_allows_remote_use_flag_to_pot_makeshift
added flag ALLOW_REMOTE_USE to makeshift pot and makeshift copper pot
2021-06-02 12:04:56 +03:00
Zhilkin Serg e17c9b7844 Merge pull request #49137 from CleverRaven/kevingranade-blackops-fix
Add NIGHT_INVISIBILITY to black-ops zombie
2021-06-02 11:56:33 +03:00
Kevin Granade 7209828c37 Add NIGHT_INVISIBILITY to black-ops zombie
Seems to have been overlooked when it was first added.
2021-06-01 13:49:50 -07:00
LaVeyanFiend bd4c4195be Nerf the turtlecheese (#49135) 2021-06-01 12:54:43 -07:00
connorpmartin 0f965c0184 expanded sheet options for tourniquet / makeshift sling (#49084) 2021-06-01 21:00:10 +03:00
Waylon Cude 2ddfe08bef Fix segfault when starting fire and losing item (#49112)
* Fix segfault when starting fire and losing item

Sometimes, when losing your firestarter while starting a fire, the game
will segfault. This appears to be caused by the item* in the item_location
for the firestarter getting set to null.

This patch adds a check to see if the pointer is null before using it,
and cancels the firestarting process if it is null.

Fixes #49100

* Update src/activity_handlers.cpp

Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-06-01 20:59:39 +03:00
Zhilkin Serg 2d6b981c6d Merge pull request #49124 from Saicchi/quickspeeddesc
Speed description when looking over monster
2021-06-01 20:58:47 +03:00
Zhilkin Serg 5cc32e9e07 Merge pull request #49134 from Maleclypse/Demihuman-harvests-in-vanilla
Add demihuman harvest where applicable
2021-06-01 20:58:30 +03:00
Álvaro f056fef00a Fix NPC antiseptic application (#49129) 2021-06-01 20:57:24 +03:00
Mom-Bun 424efcc6bf [AFTERSHOCK] Fix Infinite Ammo (#49133) 2021-06-01 20:56:44 +03:00
Zhilkin Serg ef519ef94d Merge pull request #49123 from BrettDong/flamethrower
Fix crash with cigarettes nearby and flamethrower equipped
2021-06-01 20:56:11 +03:00
Zhilkin Serg 98270cee27 Merge pull request #49122 from BrettDong/npcmove
Avoid illegal memory access in game::overmap_npc_move()
2021-06-01 20:55:48 +03:00
Zhilkin Serg b1439c2424 Merge pull request #49125 from BrettDong/corpse
Fix crash when killing monsters without "material"
2021-06-01 20:55:30 +03:00
Zhilkin Serg 597492c05e Merge pull request #49116 from BrettDong/osx-release
Install dmgbuild 1.4.2 in OSX release GHA workflow
2021-06-01 20:55:18 +03:00
Maleclypse fba2b5f8d0 Add demihuman harvest where applicable 2021-06-01 12:18:09 -05:00
Binrui Dong 53de093077 Let monsters have a default "flesh" material if they don't have one 2021-06-01 14:28:34 +08:00
Saicchi 04759e8b96 speed description in look over monster 2021-06-01 03:18:55 -03:00
Angela Graves fe42098287 Merge pull request #48816 from kevingranade/fix-monster-over-reach
Fix monster over reach
2021-06-01 00:49:38 -05:00
Binrui Dong 57af449bf6 Fix crash with cigarettes nearby and flamethrower equipped 2021-06-01 13:42:46 +08:00
Binrui Dong a83aa30113 Avoid illegal memory access in game::overmap_npc_move() 2021-06-01 13:08:04 +08:00
Binrui Dong 825155cfbb Install dmgbuild 1.4.2 in OSX release GHA workflow 2021-06-01 08:14:31 +08:00
I-am-Erk bdc9d52822 Adjust failure multipliers in proficiencies (#49046)
* Update chemistry.json

* Update electronics.json

* Update gunsmithing.json

* Update metalwork.json

* Update misc.json

note - adjusted fletching to match other second-tier proficiencies

* Update tailoring.json

* Update wilderness.json

* Update woodworking.json

* Update traps.json

* fix fail mults in recipes
2021-05-31 16:20:36 -07:00
Kevin Granade e433ebe74d Apply suggestions from code review
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-05-31 13:12:57 -07:00
Zhilkin Serg 73ec74f208 Merge pull request #49103 from Fris0uman/msxfillers
Add fillers from Ultica for missing monsters to MSXotto+
2021-05-31 21:11:36 +03:00
Zhilkin Serg 582e03b5ed Merge pull request #49107 from BrettDong/i18n
Routine i18n updates on 31 May 2021
2021-05-31 21:11:23 +03:00
Venera3 69fef90d3f Remove deficiencies (#49083) 2021-05-31 10:00:40 -07:00
Binrui Dong 360f55d56f Routine i18n updates on 31 May 2021 2021-05-31 19:48:15 +08:00
Fris0uman e4461af63b Add fillers from Ultica for missing monsters 2021-05-31 09:58:38 +02:00
Ilya Agafonov 221b79312b Camera can take a photo of NPC (#49067) 2021-05-31 10:35:49 +03:00
Anton Burmistrov fa74ec77da Fix for placement of consoles in 'Retrieve Software' quest (#49065)
* Added f_console to the list of furniture types in mapdata

* Replaced spawning of obsolete t_console with f_console

Also added s_pharm_1 to the list of possible locations for doctor's quest. Also cleared all items on the location of f_console.
2021-05-31 10:20:29 +03:00
Ali-Anomma 7ffb0dc8e0 replace dentisy with intensity (#49054) 2021-05-31 10:14:43 +03:00
Zhilkin Serg 3df7cb0f72 Merge pull request #49052 from shacknetisp/spawn-vehicle-tracking
Correctly update the player's spawn vehicle overmap tracking.
2021-05-31 10:12:31 +03:00
Zhilkin Serg 14d3a9e8bd Merge pull request #49098 from Mom-Bun/schwarz
[AFTERSHOCK] Fix Schwarz Walders inability to fire
2021-05-31 10:08:38 +03:00
Angela Graves af8d197541 Merge pull request #49086 from Inglonias/park-monsters
Cut the number of monsters spawning in parks in half
2021-05-31 00:48:09 -05:00
U-LAPTOP-BJ9IBM1T\Surre f4ab0b355a make the bear gun go pewpew 2021-05-30 20:27:57 -05:00
TheFurTrapper 848aa80aae Remove fatigue and thirst penalties from muscle-powered vehicles 2021-05-30 15:31:24 -04:00
Inglonias 754c3cb285 Reduced child pack size for GROUP_PARK_PLAYGROUND 2021-05-30 14:21:52 -04:00
Inglonias adfe07bd83 Fixed where I quartered spawns instead of halving 2021-05-30 14:04:14 -04:00
Inglonias 65bdd212c3 No, really - cut the number of spawns in half. 2021-05-30 13:09:37 -04:00
Inglonias 275f9a3aa5 Cut number of monsters spawning in parks in half 2021-05-30 12:54:47 -04:00
Angela Graves 7bd98499ab Merge pull request #49072 from Mom-Bun/ruins
[AFTERSHOCK] Cut formless ruins spawn rate in half
2021-05-30 00:15:46 -05:00
eltank 9c0588012b Fix book proficiency mitigation formulas. (#48658)
* Fix book proficiency mitigation formulas.

* Re-add sum-of-squares diminishing returns for book prof mitigation

* Implement sum-of-squared-logs algorithm for combining prof mitigations

Co-authored-by: John Bytheway <jbytheway@gmail.com>

* Add checks for out-of-bounds mitigation factors in the json

* use throw_error in json validation

* astyle

Co-authored-by: John Bytheway <jbytheway@gmail.com>
2021-05-29 21:33:03 -07:00
Lance Finfrock ce412c88da Fixing error thrown when unloading gun when there is no inventory available (#48999)
* Adding unloaded gun to avoid
* Added unit test
* Unload partial ammo of wielded item without duplication

Signed-off-by: Lance Finfrock <lancewf@gmail.com>
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: RoyBerube <royberube1965@gmail.com>
2021-05-29 15:07:42 -07:00
U-LAPTOP-BJ9IBM1T\Surre 868933d918 cut both in half 2021-05-29 12:40:07 -05:00
Angela Graves 9e12cf51f4 Merge pull request #49005 from Night-Pryanik/dont-reveal-invisible-grabbing-monster
Show message about grab only if player sees the grab
2021-05-29 02:33:11 -05:00
Zhilkin Serg deb761881f Fix crash when dropping items (#49055) 2021-05-28 16:48:53 -07:00
Beha 73542a2e2d Let the player's spawn vehicle know it is being tracked.
This allows correctly updating the tracked position and later toggling tracking.
2021-05-28 14:18:37 -04:00
Zhilkin Serg 099e4a5368 Merge pull request #49053 from CleverRaven/revert-46734-paid
Revert "Add iexamine actors, move iexamine::cardreader to actor"
2021-05-28 21:07:21 +03:00
Zhilkin Serg d4d21b00cc Revert "Add iexamine actors, move iexamine::cardreader to actor (#46734)"
This reverts commit 3ab0505339.
2021-05-28 21:05:06 +03:00
anothersimulacrum 3ab0505339 Add iexamine actors, move iexamine::cardreader to actor (#46734) 2021-05-28 13:50:17 +03:00
Zhilkin Serg 1fa4518558 Merge pull request #48983 from BrettDong/check-printf
Improve printf format checking script
2021-05-28 13:43:36 +03:00
Zhilkin Serg aee7c2eed1 Merge pull request #48984 from BrettDong/printf
Avoid mix use of positional and non-positional printf format arguments
2021-05-28 13:43:12 +03:00
Maleclypse 3dc01bab04 Fixing Felt Recipe (#48982) 2021-05-28 13:34:57 +03:00
Zhilkin Serg 454652eafb Merge pull request #48484 from stubkan/stubkan-master-crane-suspending-butchering
Features - Gave cranes suspending ability for butchering
2021-05-28 13:32:48 +03:00
Zhilkin Serg 20a7f63457 Merge pull request #48954 from LaVeyanFiend/BackHolsterLength
Increase back holster length to match rifle cases
2021-05-28 13:22:46 +03:00
Zhilkin Serg 4c821c9456 Merge pull request #48943 from John-Candlebury/afs-ups-unload
Aftershock: Forbid manual unloading of UPS and tweak recipe to imply an integral power storage system.
2021-05-28 13:16:52 +03:00
RenechCDDA 023dbe43da Fix duping of shotgun hull for scrap loaded shot (#48991) 2021-05-28 13:16:04 +03:00
Brett 607e07b542 Adds Android Build to release workflow & fail-fast: false (#48809) 2021-05-28 13:14:14 +03:00
Zhilkin Serg bac47488d4 Merge pull request #48976 from BrettDong/cmake
[Ready] Improve CMake build script for macOS
2021-05-28 13:13:41 +03:00
Zhilkin Serg d1797d93bb Merge pull request #48990 from Fris0uman/sweetheal
[MSC] Caramel ointment instant heal up to 5 hit point
2021-05-28 12:51:47 +03:00
Zhilkin Serg a2756e1ca7 Merge pull request #48895 from RoyBerube/magazine-unload-duplication
Unload partial ammo of wielded item without duplication
2021-05-28 12:51:12 +03:00
Zhilkin Serg e8a6f56df0 Merge pull request #48904 from RoyBerube/cbm-sterilize-exploit
Prevent adding or removing from activated cleaning machines
2021-05-28 12:50:44 +03:00
Zhilkin Serg 7abe941214 Merge pull request #48996 from RoyBerube/bridge-view
Add z level when setting map cache dirty flags while in a vehicle
2021-05-28 12:49:49 +03:00
Loregret 85a7e559f6 Removed BLIND flag from welding mask (#48992) 2021-05-28 12:49:20 +03:00
Zeropol ba96c3020f Make thrown glass items drop glass shards when shattered (#48727)
* Make thrown glass items drop glass shard when thrown

Because some of the shards should be usable.

The item has to weight at least 2 times a glass shard.
There is some randomness involved.

Does NOT affect smashed items.

* Comment not-that-useful msg_debug

It is a shamy attempt to avoid string freeze.
2021-05-28 12:48:36 +03:00
Zhilkin Serg 26410ad4b1 Merge pull request #48998 from NorseFTX/saltwater-recipe-chemistry
Primary skill for Salt Water recipe -> Applied Science
2021-05-28 12:45:57 +03:00
Zhilkin Serg 72ffb5b2be Merge pull request #49014 from Zeropol/fix-blind-throw-while-going-upstairs-or-down
Fix blind throw while peeking up/downstairs
2021-05-28 12:44:46 +03:00
Zhilkin Serg edef7768ed Merge pull request #49040 from AdamChirnside/pillowfix
Changed pillowcase checking function to re-enable them to work as sleep aid
2021-05-28 12:43:52 +03:00
Zhilkin Serg 97ee88497a Merge pull request #49045 from Salty-Panda/fix_titanium_bat
[AFS] Add length and postapo price to titanium bat
2021-05-28 12:43:30 +03:00
Angela Graves a40d493ca7 Merge pull request #49024 from Salty-Panda/fix_cooking_flags
Fix bug with crafted food always being hot
2021-05-28 00:41:17 -05:00
pehamm b17a24ae6e Adjust scaling of failure points (#48924)
Co-authored-by: Peter Hamm <peter.hamm@m-chair.de>
2021-05-27 21:44:20 -07:00
Salty Panda e81c44ef47 Add length and postapo price to titanium bat 2021-05-27 20:19:51 +02:00
Angela Graves 901e4d47c1 Merge pull request #49023 from connorpmartin/integrated_toolset_wheel_fastening
add wheel fastening to integrated toolset
2021-05-27 00:12:20 -05:00
Kevin Granade ba504651dd Freenode is dead, long live libera. (#49041)
* Update README.md
* Update en.motd
* Update zh_CN.motd
* Update ru.motd
* Update de.motd
2021-05-26 12:17:18 -07:00
LaVeyanFiend e9b1185723 Increase back holster length to match rifle cases 2021-05-26 14:36:48 -04:00
Adam Chirnside a1f0ee949b Update character.cpp
Changed pillowcase checking function to re-enable them to work as sleep aid
2021-05-26 12:48:04 -04:00
Angela Graves a83d0fdbb2 Merge pull request #49027 from Xerxius/master
gave foam rubber bat 1 bashing
2021-05-26 01:06:46 -05:00
Angela Graves 39074bae5c Merge pull request #49025 from ZhilkinSerg/fix-wind
Fix wind update
2021-05-25 10:59:24 -05:00
Xerxius 58e2b52905 gave foam rubber bat 1 bashing 2021-05-25 15:25:25 +02:00
ZhilkinSerg 0a130e4393 Fix wind update 2021-05-25 11:12:07 +03:00
Salty Panda af81c9eec8 Fix bug with crafted food always being hot 2021-05-25 09:47:59 +02:00
connorpmartin 3e90d07531 add wheel fastening to integrated toolset 2021-05-24 18:08:55 -04:00
zeropol 37dd0f7668 Fix ability to blind throw while peeking up/downstairs
We were only able to look around when peeking upstairs or downstairs because peek() did not called peek(tripoint) when a z lvl move was detected.
2021-05-24 14:24:11 +02:00
Angela Graves b6c4ce535e Merge pull request #49007 from MarlossCDDA/marloss/fix-rot-spawn-chance
[bugfix] Respect rot_spawn_chance so unfertilized eggs don't hatch
2021-05-24 01:02:47 -05:00
MarlossCDDA b3bf231e07 [bugfix] Respect rot_spawn_chance
I broke it in https://github.com/CleverRaven/Cataclysm-DDA/pull/48116,
made it treat everything as if it had rot_spawn_chance = 100. Was most
noticable for unfertilized eggs, which really shouldn't hatch.
2021-05-23 13:55:30 -04:00
Anton Burmistrov 0a990a63d2 Changed message type to info 2021-05-23 20:51:29 +04:00
Anton Burmistrov b9056064fc Show message about grab only if player sees the grab 2021-05-23 20:46:15 +04:00
Hirmuolio 0dd07a25ff negative default
default should never get through. In case it gets through it ends up being invalid.
2021-05-23 16:40:41 +03:00
Hirmuolio 7d2e03f27f default value to supress warning
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-05-23 16:32:07 +03:00
Hirmuolio aed107abd1 f
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
2021-05-23 16:31:50 +03:00
Hirmuolio 3bcdf4626d float instead of int 2021-05-23 14:28:22 +03:00
pehamm b533bda05d Do not announce crafting progress loss when none happened (#48985) 2021-05-23 10:33:33 +03:00
Zhilkin Serg 3446d6cf8a Merge pull request #49000 from BrettDong/clang-tidy-fix
Fix recent clang-tidy check launch failure
2021-05-23 10:32:50 +03:00
Zhilkin Serg 32f7fafc5f Merge pull request #48997 from BrettDong/osx-build
Fix compile error on macOS with l10n disabled
2021-05-23 10:32:37 +03:00
Angela Graves 47b0658754 Merge pull request #48958 from eltank/no_leatherworking
Remove leatherworking proficiency from recipes that shouldn't need it
2021-05-23 00:27:17 -05:00
eltank 1e7a8060a9 update unit test for crafting helmet_scavenger 2021-05-22 16:08:45 -07:00
Binrui Dong 15b5149a51 Install click 7.1.2 in clang-tidy check 2021-05-22 18:55:24 -04:00
Binrui Dong 84165ee535 Improve CMake build script for macOS 2021-05-22 18:37:55 -04:00
NorseFTX 21ebdf9e8d Primary skill for Salt Water recipe -> "chemistry" instead of "food handling" 2021-05-22 13:13:42 -07:00
Binrui Dong dedfbe980c Fix compile error on macOS with l10n disabled 2021-05-22 15:59:46 -04:00
RoyBerube 5185c86789 Add z level to map caching when in a vehicle 2021-05-22 11:11:48 -06:00
Fris0uman 38e0cd0616 [MSC] Caramel ointment instant heal up to 5 hit point 2021-05-22 11:11:59 +02:00
Ilya Agafonov 3174b555b0 added flag ALLOW_REMOTE_USE to makeshift pot and makeshift copper pot
makeshift pots will stop jumping into my backpack
2021-05-22 12:26:51 +05:00
Fris0uman b05c219c70 Change symbols of variants vehicle parts to increase ascii readability (#48896) 2021-05-22 10:12:05 +03:00
Zhilkin Serg 687b686289 Merge pull request #48944 from John-Candlebury/ags-harvest-list-bloodfix
Aftershock: Add blood to harvest lists
2021-05-22 10:10:27 +03:00
Zhilkin Serg 820adadc48 Merge pull request #48966 from Fris0uman/msc_craft
Fix impossibility to resume craft in MSC
2021-05-22 10:09:51 +03:00
Binrui Dong 9f4f731435 Bump clang version to 12 in GHA build matrix (#48977)
* Bump clang version to 12 in GHA build matrix

* Bump clang version to 10 in ClangBuildAnalyzer check

I am not sure if ClangBuildAnalyzer will function properly and
accurately with Clang 10 and above, because I see the following issue:

https://github.com/aras-p/ClangBuildAnalyzer/issues/56

* Trigger ClangBuildAnalyzer on changes in CBA.yml itself
2021-05-22 10:08:23 +03:00
Angela Graves 99cd2bc8bb Merge pull request #48973 from Fris0uman/CMES
Remove looks_like from the Mech guns
2021-05-22 00:46:24 -05:00
Binrui Dong 861a516773 Avoid mix use of positional and non-positional printf format arguments 2021-05-21 19:37:44 -04:00
Binrui Dong e660885efe Improve printf format checking script 2021-05-21 19:18:59 -04:00
Fris0uman f17aeaa441 Remove looks_like from the Mech guns 2021-05-21 19:30:42 +02:00
Hirmuolio b3386b531b remove debug print 2021-05-21 18:44:18 +03:00
Hirmuolio 499738118a set blood temp 2021-05-21 18:42:13 +03:00
Angela Graves 3c13759cc4 Merge pull request #48968 from Fris0uman/tilesets
Update Tilesets 2021-05-21
2021-05-21 10:08:33 -05:00
Fris0uman fb2635ab53 fix RD json 2021-05-21 13:59:56 +02:00
Fris0uman 759cbb6cb9 Update RetroDays 2021-05-21 13:35:24 +02:00
Fris0uman 44ee55d6c5 Update NeoDays 2021-05-21 13:33:14 +02:00
Fris0uman 76e5ad5250 Update MSXotto+ 2021-05-21 13:31:08 +02:00
Fris0uman 5af75bd133 Update Chibi_Ultica 2021-05-21 13:30:28 +02:00
Fris0uman 99115da9d7 Update BrownLikeBears 2021-05-21 13:29:27 +02:00
Fris0uman 31a9e961c4 Fix impossibility to resume craft in MSC 2021-05-21 12:05:16 +02:00
eltank f2f07b93e6 Remove leatherworking proficiency from recipes that shouldn't need it 2021-05-20 22:20:12 -07:00
eso 2da75692de remove watertight flag from body bags (#48947) 2021-05-20 20:02:26 -07:00
Jamuro-g 418b45d41d Fix removed depressant&stim cap (#47831)
* removed depressant&stim cap
2021-05-20 13:04:44 -07:00
Roy Berube a58f2b6c31 wash multiselect - fix unselect (#48863) 2021-05-20 12:14:10 -07:00
eltank 3560737d78 Fix remote activation for radio-controlled items (#48801)
* Fix remote activation for radio-controlled items
* Don't display detonation message for things that aren't bombs
2021-05-20 12:01:43 -07:00
leemuar 23dd2c45e2 Fixes #48686 (#48778)
Filling container does not change amount of materials required for modification any more

Co-authored-by: Тимур Кашафутдинов <leemuar@yandex-team.ru>
2021-05-20 12:00:22 -07:00
Eric 5c8034ee57 Fix auto drinking unclean water (#48738)
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
2021-05-20 11:34:49 -07:00
mqrause 4d990fd8ed don't ask for shape selection when there's only one shape (#48734)
Co-authored-by: mqrause <martin@qrause.de>
2021-05-20 11:32:04 -07:00
actual-nh d103a0c7a3 [READY] Adjust problematic monster faction relationships (possible attack without counterattack) (#48077)
* Check reverse attitudes for monfactions_test matrix

It is desirable for attitudes and reverse attitudes between monster
factions to be congruent. Most troublesome is when one has
MFA_FRIENDLY or MFA_NEUTRAL and the other has MFA_BY_MOOD or
MFA_HOSTILE, whereupon the second will attack the first but the
first does not retaliate.

* Eliminate monster faction contradictions

Fixes #48071.

* Make fish and most others neutral vs each other

This removes land-based animals from being potential attackers of fish,
and vice-versa, avoiding possible problems due to their visibility as
pointed out by Venera3.

* Fix more fish faction relationships.

Limit non-neutral by/vs fish further to prevent either too much fish
death or fish attacking without retaliation.

* Adjust small_animal<->animal

Should default to neutral, as per the test.

* Take care of otter, razorclaw, exodii

Otters (and all other factions in obsolete.json) still show up on the
listing (can an "obsolete" flag or something be checked for?); removed
by_mood for them vs fish. Razorclaws are now neutral toward fish (and
vice-versa). Exodi are now by_mood vs (other) humans (and vice-versa).

* Fix test; bear/big_cat to by_mood vs fish

Swapped out dog for bear in monfactions_attitude test - has the same
pattern. I also changed bear and big_cat to by_mood vs fish.

* Fix infighting by human snails, amigara horrors

Amigara horrors and human snails were down as of the "mutant" faction,
which has by_mood toward itself, resulting in fighting within the
spawned groups. Changed amigara horror to mutant-derived faction
"amigara"; since human snails spawn with vortices and twisted bodies,
changed human snails and twisted bodies to "vortex". As a precaution,
also put shadows (including mon_darkman) and breathers (both) into
their own (nether-derived) factions.

* Remove unneeded breather and shadow factions.

I got mixed up; not needed, just "nether" does fine.

* Move slime back to neutral vs nether; cleanup

* Make mi-go/slime/nether NEUTRAL vs each other

Because they all spawn in the same groups (monstergroups/nether.json);
previously, they were NEUTRAL one-way and BY_MOOD the other in some
pairings, and I had put them as BY_MOOD both ways.

* Put human snail, twisted body in own faction

This prevents infighting between them when they appear together
(spiral) and they are made NEUTRAL to vortex and vice-versa.

* Fix Aftershock monster factions

Some Aftershock monster factions had BY_MOOD|HATE versus other factions
that had NEUTRAL/FRIENDLY toward them. This, upon an encounter, would
result in the first potentially (or definitely) attacking the latter,
while the latter would not retaliate. See #48077 for further
information.

* Hevel as herbivore, venandi as wolf

Also changes hevel, herbivore so NEUTRAL instead of friendly to other
one.

* Aftershock cryo adjustments; bloated corvid fix

* As per @Maleclypse, BY_MOOD changes for cryo

Changed cryo to BY_MOOD for herbivore/carnivore (which essentially
means just having "animal" in "by_mood"). Currently, insects are still
in HATE; I don't know if this is preferable or not.

* Change beavers from small_animal to herbivore.

One distinction between small_animal and larger is that the former are
not of interest to zombies, because they can't zombify. Beavers can,
and at ~20 kg are above the weight of the largest creature that can't
zombify (chonker cats).

* Start on fixing DinoMod factions

This has some example age-divided factions, various sizes of
predator, and no potential attacks without counterattack.

* Added monfactions.txt to .gitignore

Avoid accidental upload of a test-result file.

* Split up mosasaurus by ages

This splits up mosasaurus into mosasaurus and mosasaurus_young. THe
latter has both hatchlings and juveniles. (One problem I noticed with
the hatchlings - they have fins, and are AQUATIC... but are said to
be indistinguishable from others. That will need to be fixed in
0.F-dev (the description would need translating).

* Use copy-from for modifying base monster factions

From testing, it is possible for two mods that are both changing
the same base/vanilla monster factions to both work, provided both are
using copy-from. Change Aftershock to do so.

* Use copy-from in DinoMod vanilla faction changes

Mods that need to make changes in the same vanilla factions, generally
due to base_faction's copying of the base faction's attitude toward
itself, need to use "copy-from" in order not to conflict.

* Behavioral adjustments to dinosaurs.

Remove ATTACKMON - should not be needed with fixes to factions. Have
added PUSH_MON to some (the ones of very large size and/or DESTROYS),
to represent that they may push other monsters aside. I have also
removed STALK from the anger triggers for those not expected to be
berserk; this is partially to compensate for the MEAT pacification
trigger no longer being functional.

* Remove WARM from hatchling/juvenile mosasaurus.

They aren't large enough to have significant warmth retained without
specific mechanisms promoting this, and that would not be advantageous
in swimming - see <https://scholar.google.com/scholar_lookup?journal=Nature+Ecology+&+Evolution&title=A+general+scaling+law+reveals+why+the+largest+animals+are+not+the+fastest&author=MR+Hirt&author=W+Jetz&author=BC+Rall&author=U+Brose&volume=1&publication_year=2017&pages=1116-22&pmid=29046579&>.

* Adjust abilities of some tyranids + deinonychus

Adjusted abilities of tyrannids to take into account faster turning
speed. Also gave deinonychus max_dist for pathing of 10 (may need to
be higher), to allow for more intelligent routing.

* Adjust hadrosaurs, juvenile tyrannids, sauropods

Juvenile tyrannids: Dodge increased to reflect greater agility; still
not as high as adult (need to check on why "STUMBLES" is there).
Juvenile sauropods: Massive ones should not be quite as nervous as
other juveniles, particularly in a group (all appear in monstergroups
with a pack_size); gave GROUP_MORALE.
Hadrosaurs: Decreased agility -> decreased melee skill (dodge already
zero); see <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6387760/>.

* DOGFOOD vs CATFOOD

Co-authored-by: LyleSY <lyle.sollayates@Gmail.com>

* Remove "STUMBLES"

Co-authored-by: LyleSY <lyle.sollayates@Gmail.com>

* Remove remainder of STUMBLES from juveniles

* Remove plpaceholder monsters for obsolete factions

* Make Moxies concentrate on humans, etc if they're around.

* Implement fix from #48588 for Deinonychus

I had added PATH_AVOID_DANGER_2 to Deinonychus, to be more appropriate
to their capabilities; there turns out to be a bug in it - this is
a fix (although it can be improved once there's something for avoiding
obvious fields).

Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
Co-authored-by: LyleSY <lyle.sollayates@Gmail.com>
2021-05-20 10:58:59 -07:00
Kevin Granade 9c72d88ae8 Dismantle unused legacy migration feature. (#48871) 2021-05-20 10:53:46 -07:00
Angela Graves 2024939bc5 Merge pull request #48941 from casswedson/prison-fix
small fix to prison mapgen
2021-05-20 01:09:21 -05:00
John Candlebury 91c0efef22 Add blood to AFS harvest lists 2021-05-19 20:54:02 -06:00
John Candlebury 13b928da74 Forbid manual unloading of AFS UPS and tweak recipe 2021-05-19 20:37:16 -06:00
casswedson 0e4451f86a small fix to prison mapgen 2021-05-19 17:06:57 -05:00
Zhilkin Serg d750b25b37 Merge pull request #48901 from casswedson/thickness-fix
Fix thermal electric suit thickness
2021-05-19 23:15:31 +03:00
Maleclypse 338ff1d07a [Aftershock] Small fixes (#48931) 2021-05-19 23:14:45 +03:00
Zhilkin Serg e8e768b8bd Merge pull request #48934 from BrettDong/lang
Remove data/legacy from lang/extract_json_strings.py
2021-05-19 23:14:28 +03:00
Angela Graves cae2be18c4 Merge pull request #48914 from linonetwo/patch-2
Update textbook_biodiesel to teach chemistry
2021-05-19 01:30:00 -05:00
Binrui Dong d68c966cff Remove data/legacy from lang/extract_json_strings.py 2021-05-18 23:33:52 -04:00
mGuv 0c961b66cf Remove Fletching from Crude Wooden Arrows and Crude Wooden Bolts as they do not have Fletchings (#48910) 2021-05-18 12:27:39 -07:00
Angela Graves ad632eb560 Merge pull request #48920 from casswedson/nerf-manhack
Reduce manhack melee skill
2021-05-18 09:54:41 -05:00
eso 56c78d6bdb Revert "Removes PROTRUSION flag, so rams can ram more things" (#48913) 2021-05-17 22:55:31 -07:00
casswedson 9428db957e reduce manhack melee skill 2021-05-17 18:43:59 -05:00
lin onetwo cc53934e59 refactor: move chemistry version of textbook_biodiesel to chemistry.json 2021-05-17 21:45:55 +08:00
lin onetwo 29774b76be refactor: remove chem fuel from mechanics.json 2021-05-17 21:42:46 +08:00
Angela Graves 0ced41fd6b Merge pull request #48900 from casswedson/fix-meth-duplication
Prevent meth duplication
2021-05-17 02:54:39 -05:00
RoyBerube 086f5dfb7f Prevent adding or removing from activated cleaning machines 2021-05-16 20:28:40 -06:00
casswedson 96247d6303 fix thermal electric suit thickness
same as the thermal electric outfit
2021-05-16 15:46:34 -05:00
casswedson a94dbdfc12 prevent meth duplication 2021-05-16 13:56:06 -05:00
Angela Graves 12fcd38fd3 Merge pull request #48893 from Maleclypse/Buses-can't-leave-bus-stations
Make Bus Stations driveable
2021-05-16 00:14:41 -05:00
Angela Graves d613cd230d Merge pull request #48888 from OldFriendEr/bug_deaf_scream_daze
Bugfix: Deaf mutation protect from getting dazed by the screams
2021-05-16 00:10:02 -05:00
Maleclypse 6951749f52 Update bus_station.json 2021-05-15 21:58:36 -05:00
RoyBerube b7a1541ea4 Unload partial ammo of wielded item without duplication 2021-05-15 20:21:32 -06:00
Maleclypse d089d1d3cf Update bus_station.json 2021-05-15 16:15:21 -05:00
Angela Graves 227b45b9e3 Merge pull request #48877 from LaVeyanFiend/TantoMaga
Add non-magic tanto to Krav Maga
2021-05-15 10:06:37 -05:00
OldFriendEr 06b2b359d2 Deaf mutation will protect from scream daze
There was a mistake in the is_immune_effect function, json_flag_DEAF was
skipped

fixes #48835
2021-05-15 16:49:57 +03:00
Emil Milanov e54376be9b Correctly calculate charges when trading with NPCs 2021-05-15 15:14:43 +02:00
John Bytheway b4db09430a Check for NPC dialogue leading directly to TALK_MISSION_OFFER (#48813)
* Check for dialogues leading to TALK_MISSION_OFFER

Inspired by Cataclysm-BN#494, this checks for dialogues that lead
directly to TALK_MISSION_OFFER when they should instead go via
TALK_MISSION_LIST.

* Fix NPCs with respond direct to TALK_MISSION_OFFER

The just-added check found these three examples of NPCs whose initial
dialogue option has an unconditional response leading to
TALK_MISSION_OFFER.  This can cause problems once the mission is
complete.  Fix the three.
2021-05-14 21:41:49 +03:00
Zhilkin Serg 925954ec05 Merge pull request #48808 from Fris0uman/magicQuest
Pick Magiclysm NPC mission dialogue fix from BN
2021-05-14 21:40:16 +03:00
Zhilkin Serg 96dd14b32d Merge pull request #48852 from Fris0uman/bionic_spells
Spell cost is displayed in kJ when it uses bionic power
2021-05-14 21:40:02 +03:00
Zhilkin Serg ef302427c8 Merge pull request #48853 from Fris0uman/save_the_milk
Add missing "spoil_multiplier": 0.5 to sealed milk carton
2021-05-14 21:39:34 +03:00
Zhilkin Serg e62d21dd5f Merge pull request #48868 from RoyBerube/privacy-fence
Privacy fence deconstruct - item balance
2021-05-14 21:38:55 +03:00
Roy Berube 6e372eea2b Bionic enhanced hearing takes effect only when activated (#48870) 2021-05-14 21:38:02 +03:00
LaVeyanFiend 58bc14a77f Add non-magic tanto to Krav Maga 2021-05-14 14:27:42 -04:00
Zhilkin Serg 4c24098082 Use YYYY-MM-DD-HHmm for build number; do not start matrix if tag exists (#48849) 2021-05-14 09:41:24 -07:00
Angela Graves 9488256452 Merge pull request #48867 from RoyBerube/raw-jerky
Remove raw flag from jerky
2021-05-14 08:23:15 -05:00
Fris0uman 8fe1fb755f Remove the legacy folder for good since it's useless (#48857) 2021-05-13 22:27:13 -07:00
RoyBerube bfabe56ad9 privacy fence deconstruct - item balance 2021-05-13 19:53:54 -06:00
RoyBerube c90368385c Remove raw flag from jerky 2021-05-13 19:25:51 -06:00
Fris0uman 062a554194 Add missing "spoil_multiplier": 0.5 to sealed milk carton 2021-05-13 18:04:11 +02:00
Fris0uman 2191cd8c38 Spell cost is displayed in kJ when it uses bionic power 2021-05-13 17:52:46 +02:00
Angela Graves 3d0463f8bd Merge pull request #48815 from lancewf/40761/disassembling_one_explosive_arrow
Allows crafting one explosive arrows fixes disassemling one arrow
2021-05-13 05:30:20 -05:00
Venera3 3cd92bed7f Update mongroup documentation, fix vanilla groups' start/end times and overloaded groups (#48737) 2021-05-13 01:05:10 +03:00
Zhilkin Serg 45083a95a8 Merge pull request #48793 from Saicchi/bandageblindfold
Blindfold from makeshift bandages
2021-05-13 01:01:44 +03:00
Kevin Granade 6cc4110115 Work around failing android SDK installation (#48840) 2021-05-13 01:01:03 +03:00
RelMayers 9786c3c9f7 Adding combat skill tag to dodging (#48847)
dodging in my opinon should be combat skill
2021-05-12 14:09:47 -07:00
Kelenius 0b16e18a1e Allowed reading maps underground (#48845) 2021-05-12 14:08:11 -07:00
connorpmartin 11d9d92b53 Give military helipads jp8 pumps (#48814)
* made military helipad pumps jp8 pumps
2021-05-12 14:07:19 -07:00
Zhilkin Serg 4d2adf0794 Enable concurrency for release workflow (#48848) 2021-05-12 14:04:15 -07:00
Angela Graves 4b3bc5eea3 Merge pull request #48844 from gisaku33/master
Adjust minimum volume for the Survivor Harness
2021-05-12 00:15:30 -05:00
gisaku33 e795654bc6 Adjust minimum length for the Survivor Harness
Currently, the 1887 bootleg shotgun can't fit into any holsters or the survivor harness due to having a 27in. length and a 1.13L volume, this change reduces the minimum volume required for something to fit in the sling of a Survivor Harness from 1.25L to 1L to allow it to fit.
2021-05-11 22:43:10 -04:00
Maleclypse 6b7d3263c8 Cabin item spawn adjustments (#48825) 2021-05-11 18:06:06 -07:00
LaVeyanFiend 644178b618 Higher Aim speed is good (#48839) 2021-05-11 17:56:51 -07:00
Angela Graves faf045d8c2 Merge pull request #48795 from BrettDong/i18n
Routine i18n updates on 8 May 2021
2021-05-11 00:20:30 -05:00
Binrui Dong e886e0ec62 Install lit 0.11.1 in clang-tidy check (#48802) 2021-05-10 16:22:02 -07:00
Angela Graves 272a1d4244 Merge pull request #48811 from Salty-Panda/fix_holo_scope
Adjust a few gunmods' volume
2021-05-10 03:46:30 -05:00
Kevin Granade 5af23b6a40 Only allow monster reach attacks across z-levels if the target is adjacent. 2021-05-10 00:53:38 -07:00
Kevin Granade 421cefdea5 Add test for monster reach attacks 2021-05-10 00:53:38 -07:00
Kevin Granade 658212aa29 DRY up the vision reset code 2021-05-10 00:53:37 -07:00
Lance Finfrock 8ac871c038 Allows crafting one explosive arrows fixes disassemling one arrow
This fixes the problem when disassembling one explosive arrow yields
components for five arrows. The solution was to update the crafting
recipe to allow building one arrow appose to 5. The volume and prices
were decreased by 5 times.

closes #40761
2021-05-09 19:54:04 -07:00
Salty Panda 7c2942d8e6 Increase rifle scope's volume 2021-05-09 15:33:59 +02:00
Salty Panda 593aa05730 Set volume using ImageJ 2021-05-09 15:08:12 +02:00
Angela Graves 03019f7e19 Merge pull request #48796 from Fris0uman/fixRD
Fix accidentally deleted overlay_ordering info in RretroDays
2021-05-09 06:00:32 -05:00
CV514 c54a89a88c Magiclysm NPC mission dialogue fix
NPC were assigned TALK_MISSION_OFFER instead of TALK_MISSION_LIST, and while it works for accepting their jobs, it doesn't provide necessary function for them to say that they don't have any more jobs for the player, resulting in `assign_mission: mission_selected == nullptr`

Except for old magus, who has necessary checks, but I've changed them too in case of future updates with more quests added.
2021-05-09 09:48:14 +02:00
Fris0uman 9af61d82ee Fix accidentally deleted overlay_ordering info 2021-05-08 19:40:32 +02:00
Binrui Dong e8e03fa711 Routine i18n updates on 8 May 2021 2021-05-08 13:12:53 -04:00
Saicchi c7f4fe16ef blindfold from makeshift bandages 2021-05-08 11:54:58 -03:00
Angela Graves 90f9945d36 Merge pull request #48790 from John-Candlebury/afs_tanker_fix
Aftershock: Remove obsolete vehicles from spawn list
2021-05-08 04:09:39 -05:00
Kevin Granade df08e8d32e Add osx build to release workflow (#48784) 2021-05-07 21:08:34 -07:00
John Candlebury 9faa0538b7 Remove obsolete vehicles from spawn list 2021-05-07 20:42:21 -06:00
Maleclypse 17c44e4784 [Magiclysm] Endless Whiskey adjustment (#48789)
* magic whiskey
2021-05-07 19:27:04 -07:00
LaVeyanFiend 94c1904fe5 No charcoal alchemy (#48788) 2021-05-07 19:20:30 -07:00
Kevin Granade 551cdfc891 Merge pull request #48783 from BrettDong/dmgdist
Fix "make dmgdist" error on native macOS
2021-05-07 19:12:39 -07:00
Binrui Dong fa32e5e489 Update dmgback.png path in dmgsettings.py 2021-05-07 20:18:51 -04:00
Binrui Dong 83bd11a2ff Convert Info.plist to binary format when making dmg on macOS 2021-05-07 20:18:51 -04:00
stubkan 9b9668388c Gave cranes suspending ability for butchering
Added crane butcher_rack pseudo item to Large to Small crane types and Forklift Forks, so they can be used to suspend creatures that require suspending for butchering.
2021-04-11 21:16:13 +01:00
1253 changed files with 89624 additions and 74174 deletions
+53 -16
View File
@@ -4,6 +4,30 @@
# this codebase and we do not intend to fix. The disabled checks appearing
# thereafter in a separate alphabetical list have yet to be triaged. We may
# fix their errors or recategorise them as checks we don't care about.
#
# Comments on the checks we have decided are not worthwhile:
#
# * cert-dcl21-cpp (postfix operator++ and operator-- should return const objects)
# This is an unconventional code style, and conflicts with
# readability-const-return-type.
#
# * cert-env33-c (calls to system, popen)
# Unlikely to catch bugs, and using system is convenient for portability.
#
# * cert-err58-cpp (exceptions from static variable declarations)
# We have lots of memory allocations in static variable declarations, and
# that's fine.
#
# * modernize-use-auto
# We prefer an almost-always-avoid-auto style.
#
# * modernize-use-trailing-return-type
# An arbitrary style convention we haven't adopted.
#
# * readability-braces-around-statements
# Covered by astyle and buggy in clang-tidy 8. Can enable once we have a newer
# clang-tidy.
Checks: "\
bugprone-*,\
cata-*,\
@@ -21,34 +45,47 @@ modernize-*,\
-modernize-use-trailing-return-type,\
performance-*,\
readability-*,\
-readability-braces-around-statements,\
-bugprone-branch-clone,\
-bugprone-infinite-loop,\
-bugprone-misplaced-widening-cast,\
-bugprone-narrowing-conversions,\
-bugprone-unused-return-value,\
-cert-err34-c,\
-cert-flp30-c,\
-cert-msc30-c,\
-cert-msc32-c,\
-cert-msc50-cpp,\
-cert-msc51-cpp,\
-bugprone-redundant-branch-condition,\
-bugprone-reserved-identifier,\
-bugprone-signed-char-misuse,\
-bugprone-sizeof-expression,\
-bugprone-unhandled-self-assignment,\
-cert-dcl37-c,\
-cert-dcl51-cpp,\
-cert-oop54-cpp,\
-cert-str34-c,\
-clang-analyzer-core.CallAndMessage,\
-clang-analyzer-deadcode.DeadStores,\
-misc-misplaced-const,\
-misc-no-recursion,\
-misc-non-private-member-variables-in-classes,\
-misc-redundant-expression,\
-modernize-avoid-bind,\
-modernize-avoid-c-arrays,\
-modernize-loop-convert,\
-modernize-pass-by-value,\
-modernize-return-braced-init-list,\
-modernize-use-default-member-init,\
-modernize-use-emplace,\
-performance-inefficient-vector-operation,\
-performance-noexcept-move-constructor,\
-performance-implicit-conversion-in-loop,\
-performance-inefficient-string-concatenation,\
-performance-type-promotion-in-math-fn,\
-modernize-use-override,\
-performance-no-automatic-move,\
-performance-trivially-destructible,\
-performance-unnecessary-value-param,\
-readability-braces-around-statements,\
-readability-avoid-const-params-in-decls,\
-readability-convert-member-functions-to-static,\
-readability-else-after-return,\
-readability-function-size,\
-readability-function-cognitive-complexity,\
-readability-implicit-bool-conversion,\
-readability-isolate-declaration,\
-readability-magic-numbers,\
-readability-make-member-function-const,\
-readability-named-parameter,\
-readability-qualified-auto,\
-readability-redundant-access-specifiers,\
-readability-use-anyofallof,\
"
WarningsAsErrors: '*'
HeaderFilterRegex: '(src|test|tools).*'
+18 -2
View File
@@ -2,12 +2,28 @@
**Opening a new issue?** Please read [ISSUES.md](../ISSUES.md) first.
Contributing to Cataclysm: Dark Days Ahead is easy — simply fork the repository here on GitHub, make your changes, and then send us a pull request.
**Want an introductory guide for creating game content?** You might want to
read the [Guide to adding new content to CDDA for first time
contributors](https://github.com/CleverRaven/Cataclysm-DDA/wiki/Guide-to-adding-new-content-to-CDDA-for-first-time-contributors)
on the CDDA wiki.
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. See http://creativecommons.org/licenses/by-sa/3.0/ for details.
This means any contribution you make to the project will also be covered by the same license, and this license is irrevocable.
## Guidelines
## Using a good text editor
Most of the Cataclysm: Dark Days Ahead game data is defined in JSON files.
These files are intended to be easy for you to edit, but there are some
pitfalls. Using Windows Notepad can get you into trouble, because it likes to
insert a special character called a BOM at the start of the file, which CDDA
does not want.
If you're going to be editing JSON files consider getting a more fully-featured
editor such as [Notepad++](https://notepad-plus-plus.org/).
## Contributing to GitHub
Contributing to Cataclysm: Dark Days Ahead is easy — simply fork the repository here on GitHub, make your changes, and then send us a pull request.
There are a couple of guidelines we suggest sticking to:
+5 -1
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
@@ -12,9 +13,11 @@ on:
- '**/Makefile'
- '**.hpp'
- '**.cmake'
- '.github/workflows/CBA.yml'
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
@@ -23,6 +26,7 @@ on:
- '**/Makefile'
- '**.hpp'
- '**.cmake'
- '.github/workflows/CBA.yml'
jobs:
@@ -51,7 +55,7 @@ jobs:
- name: make
run: |
ClangBuildAnalyzer --start .
CLANG=clang++-9 CXXFLAGS=-ftime-trace make
CLANG=clang++-10 CXXFLAGS=-ftime-trace make
ClangBuildAnalyzer --stop . buildAnalysis
- name: Analyze
run: ClangBuildAnalyzer --analyze buildAnalysis
+9 -6
View File
@@ -1,9 +1,10 @@
name: Clang-tidy (clang-8, tiles)
name: Clang-tidy (clang-12, tiles)
on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
@@ -15,6 +16,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.cpp'
- '**.h'
@@ -26,11 +28,11 @@ on:
jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
env:
CMAKE: 1
CLANG: clang++-8
COMPILER: clang++-8
CLANG: clang++-12
COMPILER: clang++-12
CATA_CLANG_TIDY: plugin
TILES: 1
SOUND: 1
@@ -41,9 +43,10 @@ jobs:
fetch-depth: 1
- name: install dependencies
run: |
#sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
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-8 libclang-8-dev llvm-8-dev llvm-8-tools \
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
- name: prepare
+2
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**/CMakeLists.txt'
- '**.cmake'
@@ -11,6 +12,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**/CMakeLists.txt'
- '**.cmake'
+70
View File
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ master, 0.8-branch, 0.9-branch, 0.A-branch, 0.B-branch, 0.C-branch, 0.D-branch, 0.E-branch, gh-pages ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '31 12 * * 6'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
#- name: Autobuild
# uses: github/codeql-action/autobuild@v1
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- run: |
make RELEASE=1 RUNTESTS=0
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+2
View File
@@ -4,11 +4,13 @@ on:
push:
branches:
- master
- 0.F-dev
paths:
- '**.py'
pull_request:
branches:
- master
- 0.F-dev
paths:
- '**.py'
+17 -3
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- 0.F-dev
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
@@ -18,6 +19,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
paths-ignore:
- 'android/**'
- 'build-data/osx/**'
@@ -58,29 +60,40 @@ jobs:
sanitize: address
native: linux64
title: GCC 8, Ubuntu, Tiles, ASan
- compiler: clang++-9
- compiler: clang++-12
os: ubuntu-latest
cmake: 0
tiles: 1
sanitize: address,undefined
native: linux64
title: Clang 9, Ubuntu, Tiles, ASan, UBSan
title: Clang 12, Ubuntu, Tiles, ASan, UBSan
- compiler: clang++
os: macos-10.15
cmake: 0
tiles: 1
native: osx
title: Clang 12, macOS 10.15, Tiles
- compiler: g++
os: ubuntu-latest
cmake: 0
tiles: 1
title: GCC, Ubuntu cross-compile to MinGW-Win64, Tiles
ldflags: -static-libgcc -static-libstdc++
mxe_target: i686-w64-mingw32.static
wine: wine
name: ${{ matrix.title }}
runs-on: ${{ matrix.os }}
env:
CMAKE: ${{ matrix.cmake }}
COMPILER: ${{ matrix.compiler }}
MXE_TARGET: ${{ matrix.mxe_target }}
WINE: ${{ matrix.wine }}
OS: ${{ matrix.os }}
TILES: ${{ matrix.tiles }}
SOUND: ${{ matrix.tiles }}
SANITIZE: ${{ matrix.sanitize }}
TEST_STAGE: ${{ matrix.test-stage }}
LDFLAGS: ${{ matrix.ldflags }}
EXTRA_TEST_OPTS: --error-format=github-action
NATIVE: ${{ matrix.native }}
GOLD: ${{ matrix.gold }}
@@ -132,8 +145,9 @@ jobs:
- name: build and test
run: bash ./build-scripts/build.sh
- name: upload artifacts if failed
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
if: failure()
with:
name: cata_test
path: tests/cata_test
if-no-files-found: ignore
+1
View File
@@ -3,6 +3,7 @@ on:
pull_request:
branches:
- master
- 0.F-dev
types: [opened, edited, synchronize]
jobs:
validate:
+145 -19
View File
@@ -1,4 +1,5 @@
name: "Experimental Release"
concurrency: release
on:
push:
branches:
@@ -9,64 +10,125 @@ jobs:
runs-on: ubuntu-latest
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'
- name: Generate environmental variables
id: generate_env_vars
run: |
echo "::set-output name=tag_name::cdda-experimental-${{ steps.get-timestamp.outputs.time }}"
echo "::set-output name=release_name::Cataclysm-DDA experimental build ${{ steps.get-timestamp.outputs.time }}"
- 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: ${{ github.run_number }}
tag_prefix: experimental-
custom_tag: ${{ steps.generate_env_vars.outputs.tag_name }}
tag_prefix: ""
- 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.tag_version.outputs.new_tag }}
release_name: "Experimental Build #${{ github.run_number }}"
tag_name: ${{ steps.generate_env_vars.outputs.tag_name }}
release_name: ${{ steps.generate_env_vars.outputs.release_name }}
body: |
These are the outputs for the experimental build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
draft: false
prerelease: true
builds:
needs: release
if: ${{ needs.release.outputs.release_already_exists == 'false' }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows Tiles x64
mxe: x86_64
artifact: windows-tiles-x64
os: windows
os: ubuntu-latest
ext: zip
content: application/zip
- name: Windows Tiles x32
mxe: i686
artifact: windows-tiles-x32
os: windows
os: ubuntu-latest
ext: zip
content: application/zip
- name: Linux Tiles x64
os: linux
os: ubuntu-18.04
mxe: none
android: none
tiles: 1
artifact: linux-tiles-x64
ext: tar.gz
content: application/gzip
- name: linux-curses-x64
os: linux
os: ubuntu-18.04
mxe: none
android: none
tiles: 0
artifact: linux-curses-x64
ext: tar.gz
content: application/gzip
- name: osx-curses-x64
os: macos-10.15
mxe: none
tiles: 0
artifact: osx-curses-x64
ext: dmg
content: application/x-apple-diskimage
- name: osx-tiles-x64
os: macos-10.15
mxe: none
tiles: 1
artifact: osx-tiles-x64
ext: dmg
content: application/x-apple-diskimage
- name: Android x64
os: ubuntu-latest
mxe: none
android: arm64
artifact: android-x64
ext: apk
content: application/apk
- name: Android x32
os: ubuntu-latest
mxe: none
android: arm32
artifact: android-x32
ext: apk
content: application/apk
- name: Android Bundle
os: ubuntu-latest
mxe: none
android: bundle
artifact: android-bundle
ext: aab
content: application/aap
name: ${{ matrix.name }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies (windows)
if: matrix.os == 'windows'
if: matrix.mxe != 'none'
run: |
sudo apt install astyle autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool \
libffi-dev libgdk-pixbuf2.0-dev libtool libltdl-dev libssl-dev libxml-parser-perl lzip make mingw-w64 openssl \
@@ -80,35 +142,93 @@ jobs:
sudo apt update
sudo apt install mxe-{i686,x86-64}-w64-mingw32.static-{sdl2,sdl2-ttf,sdl2-image,sdl2-mixer,gettext}
- name: Install dependencies (Linux)
if: matrix.os == 'linux'
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
run: |
sudo apt-get update
sudo apt-get install libncursesw5-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev \
libsdl2-mixer-dev libpulse-dev ccache gettext parallel
- name: Install dependencies (mac)
if: runner.os == 'macOS'
run: |
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
pip3 install dmgbuild==1.4.2 biplist
- name: Build CDDA (linux)
if: matrix.os == 'linux'
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ github.run_number }}
build number: ${{ needs.release.outputs.timestamp }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j$((`nproc`+0)) TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
mv cataclysmdda-0.E.tar.gz cdda-${{ matrix.artifact }}-b${{ github.run_number }}.tar.gz
mv cataclysmdda-0.F.tar.gz cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.tar.gz
- name: Build CDDA (windows)
if: matrix.os == 'windows'
if: matrix.mxe != 'none'
env:
PLATFORM: /usr/lib/mxe/usr/bin/${{ matrix.mxe }}-w64-mingw32.static-
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ github.run_number }}
build number: ${{ needs.release.outputs.timestamp }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j$((`nproc`+0)) CROSS="${PLATFORM}" TILES=1 SOUND=1 RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
mv cataclysmdda-0.E.zip cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
mv cataclysmdda-0.F.zip cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.zip
- name: Build CDDA (osx)
if: runner.os == 'macOS'
env:
USE_HOME_DIR: 1
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ needs.release.outputs.timestamp }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 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
with:
java-version: '8'
distribution: 'adopt'
- name: Setup Build and Dependencies (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ needs.release.outputs.timestamp }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
sudo apt-get update
sudo apt-get install gettext
- name: Build CDDA (android)
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
working-directory: ./android
run: |
echo "${{ secrets.KEYSTORE }}" > release.keystore.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch release.keystore.asc > app/release.keystore
echo "${{ secrets.KEYSTORE_PROPERTIES }}" > keystore.properties.asc
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.properties.asc > keystore.properties
export UPSTREAM_BUILD_NUMBER="$((11581 + ${{ github.run_number }}))"
chmod +x gradlew
if [ ${{ matrix.android }} = arm64 ]
then
./gradlew -Pj=$((`nproc`+0)) -Pabi_arm_32=false assembleExperimentalRelease
mv ./app/build/outputs/apk/experimental/release/*.apk ../cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.apk
elif [ ${{ matrix.android }} = arm32 ]
then
./gradlew -Pj=$((`nproc`+0)) -Pabi_arm_64=false assembleExperimentalRelease
mv ./app/build/outputs/apk/experimental/release/*.apk ../cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.apk
elif [ ${{ matrix.android }} = bundle ]
then
./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
@@ -116,6 +236,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.${{ matrix.ext }}
asset_name: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.${{ matrix.ext }}
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 }}
- name: Trigger GitHub pages rebuild
run: |
curl --fail --request POST \
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
--header "Authorization: Bearer ${{ secrets.USER_TOKEN }}" \
--header "Accept: application/vnd.github.v3+json"
+1
View File
@@ -141,6 +141,7 @@ Cataclysm.dmg
/tests/shadowcasting_test
/tests/data/jsionized_overmap.sav
/test_user_dir
monfactions.txt
# temporary files generated by tools/reduce_tests.sh
/list_of_tests
-2
View File
@@ -1,5 +1,3 @@
# Disable FIXME query, in DDA it is as likely to be a future feature as a bug.
# Disable "potentially dangerous function" warning like localtime, there is no good alternative and we aren't multithreaded.
queries:
- exclude: cpp/fixme-comment
- exclude: cpp/potentially-dangerous-function
+6 -3
View File
@@ -27,7 +27,7 @@ os: linux
branches:
only:
- master
- development
- 0.F-dev
# Overall strategy for what sorts of builds to include:
# We want a build for each compiler and each platform.
@@ -99,7 +99,8 @@ jobs:
- stage: "Platforms and Tidy"
# MXE variant using alternate repository http://mirror.mxe.cc/repos/apt
env: COMPILER=g++ LDFLAGS="-static-libgcc -static-libstdc++" MXE_TARGET="i686-w64-mingw32.static" WINE="wine" TILES=1 SOUND=1
name: "Mingw-w64 Make cross-compile to Windows with Tiles and Sound"
name: "MinGW-Win64 Make cross-compile to Windows with Tiles and Sound"
if: type != pull_request
compiler: gcc
addons: &gcc
apt:
@@ -111,7 +112,6 @@ jobs:
android:
components:
- build-tools-28.0.1
- android-28
cache:
# The ccache feature in Travis doesn't work for language: android, so
# do it ourselves.
@@ -217,6 +217,9 @@ jobs:
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
before_install:
- if [ "${NATIVE}" == "android" ]; then yes | sdkmanager "platforms;android-28"; fi
before_script:
- if [ -n "${CLANG}" ]; then COMPILER="$CLANG"; fi
- ${COMPILER} --version
+13 -11
View File
@@ -60,8 +60,10 @@ endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES Darwin)
set(_OS_DARWIN_ 1)
set(LOCALIZE OFF)
message(STATUS "Internationalization on Darwin is not supported")
add_definitions(-DMACOSX)
if (${TILES})
add_definitions(-DOSX_SDL2_LIBS)
endif ()
endif ()
include(CheckCXXCompilerFlag)
@@ -335,21 +337,21 @@ endif (BACKTRACE)
# Ok. Now create build and install recipes
if (LOCALIZE)
if (WIN32)
if (NOT _OS_LINUX_) # on Linux with glibc, libintl is not required
find_package(Libintl)
if (NOT LIBINTL_FOUND)
message(FATAL_ERROR
"You need the libintl development library \
to be able to compile with LOCALIZE support. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif ()
endif()
find_package(Iconv)
if (NOT ICONV_FOUND)
message(FATAL_ERROR
"You need the iconv development library \
to be able to compile with LOCALIZE support. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif ()
find_package(Iconv)
if (NOT ICONV_FOUND)
message(FATAL_ERROR
"You need the iconv development library \
to be able to compile with LOCALIZE support. \
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
endif ()
endif ()
add_subdirectory(lang)
add_definitions(-DLOCALIZE)
+10 -1
View File
@@ -138,7 +138,7 @@ export CCACHE_COMMENTS=1
# Explicitly let 'char' to be 'signed char' to fix #18776
OTHERS += -fsigned-char
VERSION = 0.E
VERSION = 0.F
TARGET_NAME = cataclysm
TILES_TARGET_NAME = $(TARGET_NAME)-tiles
@@ -1000,6 +1000,7 @@ ifeq ($(TARGETSYSTEM), LINUX)
DATA_PREFIX=$(DESTDIR)$(PREFIX)/share/cataclysm-dda/
BIN_PREFIX=$(DESTDIR)$(PREFIX)/bin
LOCALE_DIR=$(DESTDIR)$(PREFIX)/share/locale
SHARE_DIR=$(DESTDIR)$(PREFIX)/share
install: version $(TARGET)
mkdir -p $(DATA_PREFIX)
mkdir -p $(BIN_PREFIX)
@@ -1016,6 +1017,9 @@ install: version $(TARGET)
cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
ifeq ($(TILES), 1)
cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
endif
ifeq ($(SOUND), 1)
cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)
@@ -1032,6 +1036,7 @@ ifeq ($(TARGETSYSTEM), CYGWIN)
DATA_PREFIX=$(DESTDIR)$(PREFIX)/share/cataclysm-dda/
BIN_PREFIX=$(DESTDIR)$(PREFIX)/bin
LOCALE_DIR=$(DESTDIR)$(PREFIX)/share/locale
SHARE_DIR=$(DESTDIR)$(PREFIX)/share
install: version $(TARGET)
mkdir -p $(DATA_PREFIX)
mkdir -p $(BIN_PREFIX)
@@ -1048,6 +1053,9 @@ install: version $(TARGET)
cp -R --no-preserve=ownership data/help $(DATA_PREFIX)
ifeq ($(TILES), 1)
cp -R --no-preserve=ownership gfx $(DATA_PREFIX)
install -Dm755 -t $(SHARE_DIR)/applications/ data/xdg/org.cataclysmdda.CataclysmDDA.desktop
install -Dm644 -t $(SHARE_DIR)/metainfo/ data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
install -Dm644 -t $(SHARE_DIR)/icons/hicolor/scalable/apps/ data/xdg/org.cataclysmdda.CataclysmDDA.svg
endif
ifeq ($(SOUND), 1)
cp -R --no-preserve=ownership data/sound $(DATA_PREFIX)
@@ -1154,6 +1162,7 @@ ifdef OSXCROSS
dmg dmg Cataclysm-uncompressed.dmg Cataclysm.dmg
rm Cataclysm-uncompressed.dmg
else
plutil -convert binary1 Cataclysm.app/Contents/Info.plist
dmgbuild -s build-data/osx/dmgsettings.py "Cataclysm DDA" Cataclysm.dmg
endif
+2 -2
View File
@@ -69,8 +69,8 @@ GitHub repo:
https://github.com/CleverRaven/Cataclysm-DDA
IRC:
`irc.freenode.net` ; `#CataclysmDDA`
http://webchat.freenode.net/?channels=#CataclysmDDA
`irc.libera.chat` ; `#CataclysmDDA`
https://kiwiirc.com/nextclient/irc.libera.chat#CataclysmDDA
Official Discord:
https://discord.gg/jFEc7Yp
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Installiere Spieldaten...</string>
<string name="upgradeTitle">Aktualisiere Spieldaten...</string>
<string name="helpTitle">Hilfe &amp; Steuerung</string>
<string name="helpMessage">\"Wischen\" für Richtungsbewegung (Halten für virtuellen Joystick). \"Tippen\" um Auswahl in Menüs zu bestätigen oder pausiere einen Zug In-Game (Halten zum pausieren mehrerer Züge). \"Doppel Tippen\" zum Abbrechen oder Zurück in Menüs (Wie ESC auf Tastatur). \"Zusammenkneifen\" zum Rein/Raus zoomen (In-Game). Drücke Hardware \"Zurück\" Knopf fürs Umschalten der virtuellen Tastaur (Halten zum Umschalten der Tastatur Shortcuts).</string>
<string name="softwareRendering">Software-Rendering</string>
<string name="forceFullscreen">Erwzinge Vollbild</string>
<string name="trapBackButton">Verstecke Zurück Knopf</string>
<string name="settings">Einstellungen</string>
<string name="startGame">Starte Spiel</string>
<string name="showHelp">Zeige Hilfe</string>
<string name="crashAlert">Das Spiel wurde beim letzten Mal nicht richtig beendet</string>
<string name="crashMessage">Der Crash Report der sich in ./config/crash.log befindet könnten den Entwicklern helfen Programmfehler zu beheben.</string>
</resources>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Sto installando i dati di gioco...</string>
<string name="upgradeTitle">Sto aggiornando i dati di gioco...</string>
<string name="helpTitle">Aiuto &amp; Controlli</string>
<string name="helpMessage">Fai \"swipe\" per il controllo direzionale (tieni premuto per il joystick virtuale). Tocca lo schermo per dare conferma nei menù contestuali o per passare un turno nel gioco (tieni premuto per passare più turni). Tocca due volte lo schermo per annullare o tornare indietro nei menù (funziona come il tasto ESC). Fai un \"pinch\" per zoommare vicino o lontano (dentro al gioco). Usa il tasto \"Indietro\" del tuo dispositivo per attivare la tastiera virtuale (tieni premuto per attivare le scorciatoie della tastiera).</string>
<string name="softwareRendering">Modalità software</string>
<string name="forceFullscreen">Forza schermo intero</string>
<string name="trapBackButton">Blocca il tasto Indietro</string>
<string name="settings">Impostazioni</string>
<string name="startGame">Avvia gioco</string>
<string name="showHelp">Mostra aiuto</string>
<string name="crashAlert">Il gioco non è stato chiuso correttamente l\'ultima volta</string>
<string name="crashMessage">Il crash report localizzato in ./config/crash.log può aiutare gli sviluppatori a comprendere gli errori di programmazione.</string>
</resources>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Instalando dados do jogo...</string>
<string name="upgradeTitle">Melhorando dados do jogo...</string>
<string name="helpTitle">Controles</string>
<string name="helpMessage">\"Deslize\" para movimento direcional (mantenha pressionado para joystick virtual). \"Toque\" para confirmar a seleção no menu, ou Pausar um turno em jogo (mantenha pressionado para Pausar diversos turnos em jogo). \"Toque duas vezes\" para cancelar, ou voltar em menus (funciona como tecla Esc). \"Pince\" para aumentar e diminuir o zoom (em jogo). Use o botão de \"Voltar\" do dispositivo para ativar o teclado virtual (mantenha pressionado para alternar atalhos de teclado).</string>
<string name="softwareRendering">Renderização de software</string>
<string name="forceFullscreen">Forçar tela cheia</string>
<string name="trapBackButton">Manter botão de voltar </string>
<string name="settings">Configurações</string>
<string name="startGame">Iniciar jogo</string>
<string name="showHelp">Mostrar ajuda</string>
<string name="crashAlert">O jogo não foi encerrado corretamente na última vez</string>
<string name="crashMessage">O relatório de erro localizado em ./config/crash.log pode ajudar desenvolvedores a solucionarem erros no programa.</string>
</resources>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Oyun verileri yükleniyor...</string>
<string name="upgradeTitle">Oyun verileri güncelleniyor...</string>
<string name="helpTitle">Yardım &amp; Kontroller</string>
<string name="helpMessage">Yönlü hareket için \"Kaydırın\" (sanal joystick için basılı tutun). Menüde seçimi onaylamak veya oyunda bir turu atlamak için \"Dokunun\" (birkaç Tur Atlamak için basılı tutun). İptal etmek veya menülere geri dönmek için \"Çift dokunun\" (ESC tuşu gibi çalışır). (Oyun İçinde) yakınlaştırmak/uzaklaştırmak için \"Sıkıştırın\". Sanal klavyeyi açmak için telefonun \"Geri\" tuşunu kullanın (klavye kısayollarını değiştirmek için basılı tutun).</string>
<string name="softwareRendering">Software rendering</string>
<string name="forceFullscreen">Tam ekrana zorla</string>
<string name="trapBackButton">Geri düğmesi</string>
<string name="settings">Ayarlar</string>
<string name="startGame">Oyunu başlat</string>
<string name="showHelp">Yardımı göster</string>
<string name="crashAlert">Oyun geçen sefer düzgün şekilde kapatılmadı</string>
<string name="crashMessage">\"./config/crash.log\" \'taki çökme raporu geliştiricilerin program hatalarını gidermelerine yardımcı olabilir.</string>
</resources>
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">正在解压游戏数据…</string>
<string name="upgradeTitle">正在合并游戏数据…</string>
<string name="helpTitle">游戏控制帮助</string>
<string name="helpMessage">[屏幕上滑动]可定向移动([按住]可显示虚拟操纵杆,可在设置中选择关闭)。
[轻触屏幕]可确认菜单中的选项\'或\'在游戏中等待一个回合([长按]可等待几个回合)。
[双击屏幕]可取消当前操作\'或\'返回菜单(类似于Escape键)。
游戏中[双指并拢手势]可放大/缩小视图当前分辨率(仅限开启贴图包状态下)。
[点击系统后退键(手机上的小于号键,在菜单键旁边)]可切出虚拟键盘,按住直至弹窗出现可隐藏/显示下方快捷键栏。
*设置中可绑定四个双指方向滑动快捷键;例双指向下滑动绑定键为\"i\",即可游戏内双指向下滑动打开物品栏。</string>
<string name="installTitle">正在安装游戏数据……</string>
<string name="upgradeTitle">正在合并游戏数据……</string>
<string name="helpTitle">帮助及设置</string>
<string name="helpMessage">[滑动] 按方向移动([长按] 显示虚拟手柄)。
[短按] 确认菜单选项 或 等待一回合([长按] 等待多回合)。
[双击] 取消当前操作 或 返回菜单 (等同于 Esc 键)。
[双指内缩] 放大/缩小视野(游戏中)。
[系统返回键] 切出虚拟键盘([长按] 隐藏/显示快捷键栏)。
*设置中可设置四个双指方向滑动快捷键;例:[双指向下滑动] 设置为 \"i\",即可游戏内双指向下滑动打开物品栏。</string>
<string name="softwareRendering">软件渲染
(不可开启)</string>
(仅在硬件渲染失效时尝试使用)</string>
<string name="forceFullscreen">强制全屏
(开启后不显示通知栏与虚拟键)</string>
(隐藏通知栏与虚拟键)</string>
<string name="trapBackButton">限制返回
(禁止返回按键退出APP)</string>
(返回按键不会退出游戏)</string>
<string name="settings">预设
(进入游戏后请到 设置-图形 中修改终端宽高比)</string>
<string name="startGame">载入游戏</string>
(首次启动建议进入 设置-图形 调整终端宽高比)</string>
<string name="startGame">开始游戏</string>
<string name="showHelp">查看帮助</string>
<string name="crashAlert">上一次游戏遇到错误异常退出</string>
<string name="crashMessage">日志文件位于Android/data/CataclysmDDA/files/config/crash.log,可有助于开发者解决程序错误。</string>
<string name="crashAlert">检测到上次游戏未正常退出</string>
<string name="crashMessage">崩溃日志已保存至安装目录 ./config/debug.log,上传至官方论坛协助开发者解决游戏异常提供帮助。</string>
</resources>
+2 -2
View File
@@ -54,7 +54,7 @@ version_header_path=./../src/version.h
# This property controls which compileSdkVersion should be used
# You can override this from the command line by passing "-Poverride_compileSdkVersion=#"
override_compileSdkVersion=28
override_compileSdkVersion=29
# This property controls which minSdkVersion should be used
# You can override this from the command line by passing "-Poverride_minSdkVersion=#"
@@ -62,7 +62,7 @@ override_minSdkVersion=14
# This property controls which targetSdkVersion should be used
# You can override this from the command line by passing "-Poverride_targetSdkVersion=#"
override_targetSdkVersion=28
override_targetSdkVersion=29
# This property controls which ndkBuildAppPlatform should be used
# You can override this from the command line by passing "-Poverride_ndkBuildAppPlatform=#"
+1 -1
View File
@@ -82,7 +82,7 @@ icon_locations = {
#
# Other color components may be expressed either in the range 0 to 1, or
# as percentages (e.g. 60% is equivalent to 0.6).
background = 'data/osx/dmgback.png'
background = 'build-data/osx/dmgback.png'
show_status_bar = False
show_tab_view = False
+12 -8
View File
@@ -71,16 +71,16 @@ 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-8/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-8/lib/cmake/clang")
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++-8" -a -n "$GITHUB_WORKFLOW" -a -n "$CATA_CLANG_TIDY" ]
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/8.0.0/include")
cmake_extra_opts+=("-DCMAKE_CXX_FLAGS=-isystem /usr/include/clang/12.0.0/include")
fi
mkdir build
@@ -195,11 +195,15 @@ else
if [ -n "$TEST_STAGE" ]
then
# Run the tests one more time, without actually running any tests, just to verify that all
# the mod data can be successfully loaded
# Run the tests with all the mods, without actually running any tests,
# just to verify that all the mod data can be successfully loaded.
# Because some mods might be mutually incompatible we might need to run a few times.
mods="$(./build-scripts/get_all_mods.py)"
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
./build-scripts/get_all_mods.py | \
while read mods
do
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
done
fi
fi
ccache --show-stats
+31 -8
View File
@@ -1,10 +1,20 @@
#!/usr/bin/env python3
# The goal of this script is to print out sets of mods for testing. Each line
# of output is a comma-separated list of mods. Together the lines should cover
# all in-repo mods, in as few lines as possible. Each line must contain only
# mods which are mutually compatible.
import glob
import json
mods_this_time = []
mods_to_keep = []
def compatible_with(mod, existing_mods):
if mod in total_conversions and total_conversions & set(existing_mods):
return False
return True
def add_mods(mods):
@@ -13,12 +23,16 @@ def add_mods(mods):
# Either an invalid mod id, or blacklisted.
return False
for mod in mods:
if mod not in mods_to_keep:
mods_to_keep.append(mod)
if mod not in mods_this_time and compatible_with(mod, mods_this_time):
if add_mods(all_mod_dependencies[mod]):
mods_this_time.append(mod)
else:
return False
return True
all_mod_dependencies = {}
total_conversions = set()
for info in glob.glob('data/mods/*/modinfo.json'):
mod_info = json.load(open(info))
@@ -26,10 +40,19 @@ for info in glob.glob('data/mods/*/modinfo.json'):
if e["type"] == "MOD_INFO":
ident = e["id"]
all_mod_dependencies[ident] = e.get("dependencies", [])
if e["category"] == "total_conversion":
total_conversions.add(ident)
for mod in all_mod_dependencies:
if mod not in mods_to_keep:
if add_mods(all_mod_dependencies[mod]):
mods_to_keep.append(mod)
mods_remaining = set(all_mod_dependencies)
print(','.join(mods_to_keep))
while mods_remaining:
for mod in mods_remaining:
if mod not in mods_this_time:
add_mods([mod])
if not mods_remaining & set(mods_this_time):
raise RuntimeError(
'mods remain ({}) but none could be added'.format(mods_remaining))
print(','.join(mods_this_time))
mods_remaining = mods_remaining - set(mods_this_time)
mods_this_time = []
+36 -4
View File
@@ -54,8 +54,9 @@ fi
# Influenced by https://github.com/zer0main/battleship/blob/master/build/windows/requirements.sh
if [ -n "${MXE_TARGET}" ]; then
sudo add-apt-repository 'deb [arch=amd64] https://mirror.mxe.cc/repos/apt xenial main'
$travis_retry sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 84C7C89FC632241A6999ED0A580873F586B72ED9
$travis_retry sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 84C7C89FC632241A6999ED0A580873F586B72ED9
sudo add-apt-repository 'deb [arch=amd64] https://mirror.mxe.cc/repos/apt xenial main'
sudo dpkg --add-architecture i386
# We need to treat apt-get update warnings as errors for which the exit code
# is not sufficient. The following workaround inspired by
# https://unix.stackexchange.com/questions/175146/apt-get-update-exit-status/
@@ -66,9 +67,18 @@ if [ -n "${MXE_TARGET}" ]; then
MXE2_TARGET=$(echo "$MXE_TARGET" | sed 's/_/-/g')
export MXE_DIR=/usr/lib/mxe/usr/bin
$travis_retry sudo apt-get --yes install mxe-${MXE2_TARGET}-gcc mxe-${MXE2_TARGET}-gettext mxe-${MXE2_TARGET}-glib mxe-${MXE2_TARGET}-sdl2 mxe-${MXE2_TARGET}-sdl2-ttf mxe-${MXE2_TARGET}-sdl2-image mxe-${MXE2_TARGET}-sdl2-mixer
$travis_retry sudo apt-get --yes install \
mxe-${MXE2_TARGET}-gcc \
mxe-${MXE2_TARGET}-gettext \
mxe-${MXE2_TARGET}-glib \
mxe-${MXE2_TARGET}-sdl2 \
mxe-${MXE2_TARGET}-sdl2-ttf \
mxe-${MXE2_TARGET}-sdl2-image \
mxe-${MXE2_TARGET}-sdl2-mixer \
wine \
wine32
export PLATFORM='i686-w64-mingw32.static'
export CROSS_COMPILATION='${MXE_DIR}/${PLATFORM}-'
export CROSS_COMPILATION="${MXE_DIR}/${PLATFORM}-"
# Need to overwrite CXX to make the Makefile $CROSS logic work right.
export CXX="$COMPILER"
export CCACHE=1
@@ -97,4 +107,26 @@ if [[ "$NATIVE" == "android" ]]; then
yes | sdkmanager "ndk-bundle"
fi
if [ -n "$WINE" ]
then
# The build script will try to run things under wine in parallel, and I
# think there are race conditions that can cause that to break. So, run
# something benign under wine in advance to trigger it to configure all the
# one-time init stuff
wine hostname
fi
# On GitHub actions environment variables are not saved between steps by
# default, so we need to explicitly save the ones that we care about
if [ -n "$GITHUB_ENV" ]
then
for v in CROSS_COMPILATION CXX
do
if [ -n "${!v}" ]
then
printf "%s='%s'\n" "$v" "${!v}" >> "$GITHUB_ENV"
fi
done
fi
set +x
+75 -38
View File
@@ -1,5 +1,23 @@
# 0.F (2021-04-15)
# 0.F (Frank)
## Highlights
Nested Containers rationalize inventory management and enable dropping and retrieving go-bags during fights.
Achievements track your deeds and misdeeds across games.
Proficiencies better represent deeper knowledge required for various endeavors, mostly crafting.
Bleeding added to both the player and monsters as the first step toward a more comprehensive wound and wound treatment system.
Weariness tracking added to represent longer-term physical exhaustion.
Elevated bridges over navigable rivers added, allowing better navigability while using boats.
Large-scale audit of weapon and armor values for better representativeness and consistency.
Improved armor handling by separating ballistic damage into its own damage type.
Pervasive performance enhancements throughout the game.
Tileset vehicle support for more cohesive vehicle rendering.
Aftershock changes direction to a total conversion mod with a new far-future setting on a frozen world.
Dinomod added 238 dinosaurs, pterosaurs, mosasaurs, and dino-related NPCs with missions and dino locations.
Added many dino features, including zombie, fungal, evolved, bionic, baby, and mutant dino variants.
Dinomod added many dino interactions, including farming, riding, butchering, cooking, and special attacks.
Magiclysm added a huge content update including many new traits called Attunements that switch up gameplay at the endgame.
## Statistics
3974 files changed, 5440251 insertions(+), 3904330 deletions(-)
10,463 commits
~454 contributors
@@ -70,12 +88,12 @@ Adds option to randomize INITIAL_DAY.
Allow vehicles with autopilot to follow you.
Monster factions can unconditionally hate other factions.
Allows mutations to cast spells via enchantments.
Mining multi-activity for NPCs and players.
Add mining multi-activity for NPCs and players.
Basecamp job rework - wandering/sitting/job priorities.
Auto eat and drink from auto-zones during long activities/waiting.
Flyable Helicopters.
Towing vehicles.
User defined height and age.
Auto eat and drink from auto-zones during long activities or while waiting.
Adds flyable helicopters.
Allows towing vehicles.
Allows specifying height and age in character creation.
Adds support for json-defined achievements to provide more goals to strive for.
Overhauls lock picking.
Appropriate items can now rot away when in the reality bubble.
@@ -86,13 +104,12 @@ Enables damage over time for spells.
Enables nested containers.
Adds support for conducts (self-imposed play constraints tracked by the game).
Custom achievement/conduct requirement descriptions.
[Magiclysm] Adds spell level and number of spells known achievements.
Enables mouse input for inventory.
Worn gloves count as unarmed weapons when no weapon is held.
Any corpse can rise again as a zombie.
Added to autodocs the ability to stop bleeding, disinfect wounds, and inject antibiotics in case of infected wounds or tetanus.
Allow randomizing scenario and profession in new character menu.
Workout and exercise.
Adds actions to workout and do exercises.
Vehicles: ground vehicle z-level transitions and z+1 bridges.
Remove static/random NPC options, adjust random NPC rates.
Overhauls blood and blood loss.
@@ -112,8 +129,10 @@ Allows customizing initial date in scenarios.
Allows nanofabricator templates to contain recipes from any item group.
Adds different bleeding types for different species.
Adds bleeding butchery action.
Autodoc installation programs added that almost guarantee flawless installation of supported bionics.
Adds autodoc installation programs that almost guarantee flawless installation of supported bionics.
Removes the obsolete 'carrion spawn rate scaling factor' world configuration option.
Makes thrown glass items drop glass shards when shattered.
Adds suspension for butchering using cranes (except tiny ones) and forklift arms.
## Content:
Gun volume and weight audit.
@@ -165,13 +184,12 @@ Adds bigger mini-maps to all sidebar layouts.
Adds keycode support to uilist.
Allows attempting to disable robots by 'e'xamining them.
Warns if a friendly creature or non-hostile NPC enters the line of fire.
Replaces the CAL/kg column of the (E)at menu with a more meaningful Satiety column.
Adds a Mod to use MSX characters and monsters with the Ultica tileset.
Adds a satiety column to the eat menu, showing how many calories the food will have for how filling it is.
Shows crafting failure rates due to missing proficiencies.
Displays contained items like 'water (plastic bottle)' instead of as 'plastic bottle of water'.
Keeps track of preferred aiming mode.
Makes Chibi Ultica a stand-alone tileset.
Brings back MSX+.
Adds the Chibi Ultica tileset, a mix of MSX character and monster sprites with Ultica terrain, vehicles, and items.
Brings back the MSX+ Tileset.
Adds item length and pocket volume entries to menus.
Adds fast scrolling to many menus with long lists.
Adds responsive screen behavior to the new character menu for small terminal sizes.
@@ -179,42 +197,44 @@ Shows weariness and activity levels in sidebar panels.
Warns before crafting armor or clothing you won't be able to wear.
## Mods:
[Magiclysm] Manatouched mutation tree.
Overhauls Blazemod and splits it into separate mods.
[MMA] Adds Ki Strike trait.
[Magiclysm] Adds polymorph spells so you can transform your foes.
[Magiclysm] Adds a spell component system and more-powerful spells to use it.
Aftershock: Adds autodoc tiers and augmentation clinics.
[Aftershock] Adds autodoc tiers and augmentation clinics.
[Aftershock] Megacity-oriented overmap generation adjustments
[Aftershock] Adds new Melee oriented bionics.
[Aftershock] Replaces Vanilla autodocs with Aftershock Average Autodocs.
[Aftershock] Adds an astrobiology lab.
[Aftershock] Adds a design document.
[Aftershock] Adds new laser and plasma pistols.
[Aftershock] Adds Formless Ruins - a new aboveground, low-risk dungeon type.
[Blazemod] Overhauls Blazemod and splits it into separate mods.
[Dark Skies Above] DSA is reborn as an actively-developed, total-conversion mod.
[DinoMod] Adds location variants with dinosaurs.
Aftershock: Megacity-oriented overmap generation adjustments
Aftershock: Adds new Melee oriented bionics.
[DinoMod] Adds Acrocanthosaurus and overhauls dino baby code.
[Magiclysm] Adds a new mutation line: Black Dragon.
Adjusts fog frequency in black dragon lair plus other (minor) map adjustments.
Adds monsters 'Scutellosaurus', 'Maiasaura', and 'Coelophysis'.
[Magiclysm] Attunements - Special abilities gained by mastering two schools of magic.
Adds monsters 'Pachyrhinosaurus', 'Pentaceratops', and 'Torosaurus'.
[DinoMod] Adds monsters 'Scutellosaurus', 'Maiasaura', and 'Coelophysis'.
[DinoMod] Adds monsters 'Pachyrhinosaurus', 'Pentaceratops', and 'Torosaurus'.
[DinoMod] Organizes dinos into three main factions with defined inter-faction behavior.
[DinoMod] Rebalances Jurassic spawns and monsters for realism and fixes predator in-fighting.
Cap monsters at 1000 kg so butchering kind of works.
[Magiclysm] implement summonable motorcycle
[Magiclysm] Adds a new house with technomancer-themed loot.
[Aftershock] Replaces Vanilla autodocs with Aftershock Average Autodocs.
[DinoMod] Caps monsters at 1000 kg so butchering kind of works.
[DinoMod] Adds monsters 'Brontosaurus', 'Alamosaurus', and 'Brachiosaurus'.
[Magiclysm] Rings of wizardry and mojocycle tweaks
[Magiclysm] Adds bullet armor to magic rings and bracers of protection.
[DinoMod] Converts 'dinoexhibit' to use templates, adds a roof, and adds a baby dino variant.
[DinoMod] Ankylosaurs Abound: Adds Dyoplosaurus, Nodosaurus, and Edmontonia.
[Aftershock] Adds an astrobiology lab.
[DinoMod] Adds Amargasaurus and Kosmoceratops as well as variants.
[Magiclysm] Adds Orcs and Ogres.
[Aftershock] Adds a design document.
[DinoMod] Adds mod-specific mutation trees Stego and Tyrant.
[Aftershock] Adds new laser and plasma pistols.
[Magiclysm] Adds spell level and number of spells known achievements.
[Magiclysm] Manatouched mutation tree.
[Magiclysm] Adds polymorph spells so you can transform your foes.
[Magiclysm] Adds a spell component system and more-powerful spells to use it.
[Magiclysm] Adds a new mutation line: Black Dragon.
[Magiclysm] Adjusts fog frequency in black dragon lair plus other (minor) map adjustments.
[Magiclysm] Attunements - Special abilities gained by mastering two schools of magic.
[Magiclysm] implement summonable motorcycle
[Magiclysm] Adds a new house with technomancer-themed loot.
[Magiclysm] Rings of wizardry and mojocycle tweaks
[Magiclysm] Adds bullet armor to magic rings and bracers of protection.
[Magiclysm] Adds Orcs and Ogres.
[Magiclysm] Adds three new Attunement spells (Frozen Winds, Auroral wave, and Immolate).
[Magiclysm] Adds Workshop Elves, Yule Cats, and Leprechauns.
[Aftershock] Adds Formless Ruins - a new aboveground, low-risk dungeon type.
[Dark Skies Above] DSA is reborn as an actively-developed, total-conversion mod.
[MMA] Adds Ki Strike trait, buffing unarmed to make it more competitive with other weapons.
[Vanilla + Many Mods] Fixes problematic faction relationships (one-way aggression).
## Balance:
Large item price audit.
@@ -347,6 +367,17 @@ Prevents cross-z-level melee attacks when the target is not actually visible.
Avoids doing character body updates more than once per turn
When harvesting crops, drops the result on the player's square.
Improves road system connectivity across overmaps.
Stops crafting failures from clustering at high completion percentages.
Fixes non-spring eternal seasons.
Stops unreloadable items from being reloadable.
Fixes savegame corruption causing teleporting to very distant submaps
Unfreezes trap-avoiding monsters.
Fixes ramming at low speed.
Placing specials around cities now scales with city size.
Fixes proficiency books' effect on crafting.
Construction of roofs actually makes the tile above the construction a roof.
Partial fix for vehicle damage reduction inconsistencies.
Fixes building ramps and stairs.
## Performance:
Adds an option to enable batching when it is available in SDL.
@@ -448,6 +479,10 @@ Reduces file size of composed tilesheets from compose.py.
Implements C++ symbol demangling in crash reports on MacOS, MinGW, and Linux.
Adds tests of automatic triggers for mutations.
Generates a crash report on Android.
Moves Mingw cross-compile CI job from Travis to GitHub.
compose.py: Fixes --use-all when there are no filler sheets.
compose.py: Don't warn about unused fillers matching IDs in tile entries from main sheets.
Adds a tool to check printf style format string in translations.
## Build:
Moves clang-tidy runs from Travis to GitHub.
@@ -469,6 +504,8 @@ Adds a GitHub workflow running flake8 to check the Python scripts.
Consistently styles code in CMakeLists.txt files.
Adds CMake linting.
Captures ODR violations using GOLD linker, ASAN, or LTO.
Adds a CI action to build and release for Windows.
Adds android builds to Github actions.
## I18N and A11Y:
Fixes translations of martial art initiate and computer terminal messages.
+14
View File
@@ -188,6 +188,20 @@
"stype": "int",
"value": 5
},
{
"type": "EXTERNAL_OPTION",
"name": "GENERIC_PROFESSION_ID",
"info": "The profession selected by default in the character creator menu.",
"stype": "string_input",
"value": "unemployed"
},
{
"type": "EXTERNAL_OPTION",
"name": "GENERIC_SCENARIO_ID",
"info": "The scenario selected by default in the character creator menu.",
"stype": "string_input",
"value": "evacuee"
},
{
"type": "EXTERNAL_OPTION",
"name": "WORKBENCH_ALL_OPTIONS",
+17
View File
@@ -0,0 +1,17 @@
[
{
"//": "We're always going to need a 'nothing here' tile, we currently use traps for this.",
"type": "trap",
"id": "tr_ledge",
"name": "ledge",
"color": "i_cyan",
"memorial_male": { "ctxt": "memorial_female", "str": "Fell down a ledge." },
"memorial_female": { "ctxt": "memorial_female", "str": "Fell down a ledge." },
"symbol": " ",
"visibility": 0,
"avoidance": 99999,
"difficulty": 99,
"action": "ledge",
"vehicle_data": { "is_falling": true }
}
]
+91 -3
View File
@@ -6,10 +6,34 @@
<color_white>Current Main Developers:</color>
<color_yellow>mlangsdorf</color> - Vehicles, boats, basecamps and modding guides.
<color_yellow>I-am-Erk</color> - Ultica legacy lives on.
<color_yellow>KorGgenT</color> - Not letting me know where to put my two-by-fours.
<color_white>Special thanks to:</color>
<color_yellow>Aivean</color> - For outstanding performance.
<color_yellow>anothersimulacrum</color> - For making me weary.
<color_yellow>jbytheway</color> - For making me achieve things.
<color_yellow>BrettDong</color> - For translations and more.
<color_yellow>Qrox</color> - For showing location of error messages.
<color_yellow>LyleSY</color> - For dinosaurrrs.
<color_white>Special thanks for art contributions:</color>
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>, and many more.
<color_white>For a full list of contributors please see:</color>
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA/contributors</color>
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> is released under <color_white>CC-BY-SA 3.0</color>:
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
******************************************************************************
<color_white>Main Developers (<color_cyan>0.E</color>):</color>
<color_yellow>mlangsdorf</color> - Vehicles, boats, basecamps and modding guides.
<color_yellow>I-am-Erk</color> - Ultica, dialogs, NPCs and clutter in the kitchens.
<color_yellow>KorGgenT</color> - Magiclysm and stomach aches.
<color_white>Special thanks to:</color>
<color_white>Special thanks to (<color_cyan>0.E</color>):</color>
<color_yellow>Narc</color> - For maintaining the automatic Jenkins build-bot.
<color_yellow>Rivet-the-Zombie</color> - For merging a PR a day.
<color_yellow>BevapDin</color> - For code reviews and refactoring efforts.
@@ -24,5 +48,69 @@
<color_white>For a full list of contributors please see the git repo:</color>
<color_cyan>https://github.com/CleverRaven/Cataclysm-DDA</color>
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> is released under <color_white>CC-BY-SA 3.0</color>:
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
******************************************************************************
<color_white>Main Developers (<color_cyan>0.D</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>BevapDin</color>, <color_yellow>Coolthulu</color>, <color_yellow>i2amroy</color>
<color_white>Special thanks to:</color>
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot.
<color_yellow>Acidia</color> - For wonderful NPC, Quest and Location contributions.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - For herculean translation efforts.
<color_yellow>HuXTUS</color> - For a huge amount of amazing content.
******************************************************************************
<color_white>Main Developers (<color_cyan>0.C</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>, <color_yellow>Coolthulu</color>, <color_yellow>i2amroy</color>
<color_white>Special thanks to (<color_cyan>0.C</color>):</color>
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot.
<color_yellow>Acidia</color> - For wonderful NPC, Quest and Location contributions.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - For herculean translation efforts.
<color_yellow>HuXTUS</color> - For a huge amount of amazing content.
******************************************************************************
<color_white>Main Developers (<color_cyan>0.B</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>
<color_white>Special thanks to (<color_cyan>0.B</color>):</color>
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot.
<color_yellow>Acidia</color> - For wonderful NPC, Quest and Location contributions.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - For herculean translation efforts.
<color_yellow>i2amroy</color> - For several large infrastructural overhauls.
<color_yellow>HuXTUS</color> - For a huge amount of amazing content.
******************************************************************************
<color_white>Main Developers (<color_cyan>0.A</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>i2amroy</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>
<color_white>Special thanks to (<color_cyan>0.A</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it.
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot.
<color_yellow>BevapDin</color> - For tireless bugfixing efforts.
<color_yellow>dwarfkoala</color> - For a plethora of bug triage.
<color_yellow>Ill-kun</color> - For countless UI cleanups.
******************************************************************************
<color_white>Main Developers (<color_cyan>0.9</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>GalenEvil</color>, <color_yellow>i2amroy</color>, <color_yellow>AtomicDryad</color>, <color_yellow>Ianestrachan</color>
<color_white>Special thanks to (<color_cyan>0.9</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot
<color_yellow>yobbobanana</color> - For working as liason between translators and github
<color_yellow>Angela 'Rivet' Graves</color>, Constant Creator of Cataclysmic Content
******************************************************************************
<color_white>Main Developers (<color_cyan>0.8</color>):</color>
<color_yellow>Kevingranade</color>, <color_yellow>GalenEvil</color>, <color_yellow>i2amroy</color>, <color_yellow>AtomicDryad</color>, <color_yellow>Ozone</color>
<color_white>Special thanks to (<color_cyan>0.8</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot
<color_yellow>yobbobanana</color> - For working as liason between translators and github
+87 -1
View File
@@ -11,7 +11,7 @@
<color_white>Особая благодарность:</color>
<color_yellow>Aivean</color> - За выдающуюся производительность.
<color_yellow>anothersimulacrum </color> - За приятную усталость.
<color_yellow>anothersimulacrum</color> - За приятную усталость.
<color_yellow>jbytheway</color> - За разбор проблем Python, сопоставление проблем и консолидацию требований к чертежам.
<color_yellow>BrettDong</color> - За переводы и многое другое.
<color_yellow>Qrox</color> - За показ места, вызывающего сообщения об ошибках.
@@ -25,3 +25,89 @@
<color_light_cyan>Cataclysm</color>: <color_light_blue>Dark Days Ahead</color> выпускается по лицензии <color_white>CC-BY-SA 3.0</color>:
<color_cyan>https://creativecommons.org/licenses/by-sa/3.0/</color>
******************************************************************************
<color_white>Основные разработчики (<color_cyan>0.E</color>):</color>
<color_yellow>mlangsdorf</color> - Машины, лодки, лагеря и гайды по моддингу.
<color_yellow>I-am-Erk</color> - Ultica, диалоги, NPC и хлам в шкафах.
<color_yellow>KorGgenT</color> - Колдоклизм и кишечные колики.
<color_white>Особая благодарность (<color_cyan>0.E</color>):</color>
<color_yellow>Narc</color> - За поддержку автоматической системы сборки Jenkins.
<color_yellow>Rivet-the-Zombie</color> - За PR в день (и как ей не лень?).
<color_yellow>BevapDin</color> - За обзоры и рефакторинг кода.
<color_yellow>BrettDong</color> - За переводы.
<color_yellow>curstwist</color> - За крышевание зданий, NPC и чейнжлоги.
<color_yellow>davidpwbrown</color> - За авто-перемещения и авто-езду. Ну и за коневодство тоже.
<color_yellow>jbytheway</color> - За работу над CI и умение остаивать свою точку зрения.
<color_yellow>Hymore246</color> - За переработку боевых искусств.
<color_yellow>Qrox</color> - За читабельную трассировку в Windows-билдах.
<color_yellow>ZhilkinSerg</color> - За тестирование и слияние изменений.
******************************************************************************
<color_white>Основные разработчики (<color_cyan>0.D</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>BevapDin</color>, <color_yellow>Coolthulu</color>, <color_yellow>i2amroy</color>
<color_white>Особая благодарность (<color_cyan>0.D</color>):</color>
<color_yellow>Narc</color> - за настройку Jenkins, автоматической системы сборки.
<color_yellow>Acidia</color> - за замечательный вклад в NPC, квесты и локации.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - за титанический труд по переводу.
<color_yellow>HuXTUS</color> - за огромное количество потрясающего контента.
******************************************************************************
<color_white>Основные разработчики (<color_cyan>0.C</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>, <color_yellow>Coolthulu</color>, <color_yellow>i2amroy</color>
<color_white>Особая благодарность (<color_cyan>0.C</color>):</color>
<color_yellow>Narc</color> - за настройку Jenkins, автоматической системы сборки.
<color_yellow>Acidia</color> - за замечательный вклад в NPC, квесты и локации.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - за титанический труд по переводу.
<color_yellow>HuXTUS</color> - за огромное количество потрясающего контента.
******************************************************************************
<color_white>Основные разработчики (<color_cyan>0.B</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>
<color_white>Особая благодарность (<color_cyan>0.B</color>):</color>
<color_yellow>Narc</color> - за настройку Jenkins, автоматической системы сборки.
<color_yellow>Acidia</color> - за замечательный вклад в NPC, квесты и локации.
<color_yellow>Wuzzy</color> and <color_yellow>VlasovVitaly</color> - за титанический труд по переводу.
<color_yellow>i2amroy</color> - For several large infrastructural overhauls.
<color_yellow>HuXTUS</color> - за огромное количество потрясающего контента.
******************************************************************************
<color_white>Основные разработчики (<color_cyan>0.A</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>i2amroy</color>, <color_yellow>Rivet-the-Zombie</color>, <color_yellow>KA101</color>, <color_yellow>BevapDin</color>
<color_white>Особая благодарность (<color_cyan>0.A</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it.
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot.
<color_yellow>BevapDin</color> - For tireless bugfixing efforts.
<color_yellow>dwarfkoala</color> - For a plethora of bug triage.
<color_yellow>Ill-kun</color> - For countless UI cleanups.
******************************************************************************
<color_white>Main Developers (<color_cyan>0.9</color>):</color>
<color_yellow>KevinGranade</color>, <color_yellow>GalenEvil</color>, <color_yellow>i2amroy</color>, <color_yellow>AtomicDryad</color>, <color_yellow>Ianestrachan</color>
<color_white>Special thanks to (<color_cyan>0.9</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot
<color_yellow>yobbobanana</color> - For working as liason between translators and github
<color_yellow>Angela 'Rivet' Graves</color>, Constant Creator of Cataclysmic Content
******************************************************************************
<color_white>Main Developers (<color_cyan>0.8</color>):</color>
<color_yellow>Kevingranade</color>, <color_yellow>GalenEvil</color>, <color_yellow>i2amroy</color>, <color_yellow>AtomicDryad</color>, <color_yellow>Ozone</color>
<color_white>Special thanks to (<color_cyan>0.8</color>):</color>
<color_yellow>TheDarklingWolf</color> - For creating Cataclysm:DDA as we know it
<color_yellow>Narc</color> - For setting up the automatic Jenkins build-bot
<color_yellow>yobbobanana</color> - For working as liason between translators and github
+28 -28
View File
@@ -6,7 +6,7 @@
"messages": [
"Cataclysm: Dark Days Ahead is a turn-based survival game set in a post-apocalyptic world. You have survived the original onslaught, but the future looks pretty grim.",
"You must prepare to face the many hardships to come, including dwindling supplies, hostile creatures, and harmful weather. Even among fellow survivors you must stay alert, since someone may be plotting behind your back to take your hard-earned loot.",
"Though one might think of Cataclysm: Dark Days Ahead as a roguelike, it vastly differs from the traditional roguelikes in several ways. Rather than exploring an underground dungeon, with a limited area on each level, you are exploring a truly infinite world, stretching in all four cardinal directions. In this survival game, you will have to find food; you also need to keep yourself hydrated and sleep periodically. It's based on the principle of realism, so expect all hardships you'd expect in life in a survival situation, and at least a dozen more from the eldritch and sci-fi nature of the Cataclysm itself.",
"Though one might think of Cataclysm: Dark Days Ahead as a roguelike, it differs from the traditional roguelikes in several crucial ways. Rather than exploring an underground dungeon, with a limited area on each level, you are exploring a truly infinite world, stretching in all four cardinal directions. In this survival game, you will have to find food, keep yourself hydrated, and also sleep periodically. It's based on the principle of realism, so expect all of the hardships you'd expect in a real-life survival situation, and at least a dozen more from the eldritch and sci-fi nature of the Cataclysm itself.",
"While Cataclysm: Dark Days Ahead has more tasks to keep track of than many other games, the modern setting of the game makes some tasks easier. Firearms, medications, and a wide variety of tools are all available to help you survive."
]
},
@@ -15,12 +15,12 @@
"order": 1,
"name": "<b|B>: Movement",
"messages": [
"Movement is performed using the numpad, or vikeys.",
"Movement is performed using the numpad, the arrow keys, or vikeys.",
"<HELP_DRAW_DIRECTIONS>",
"Each step will take 100 movement points (or more, depending on the terrain); you will then replenish a variable amount of movement points, depending on many factors (press <press_player_data> to see the exact amount).",
"To attempt to hit a monster with your weapon, simply move into it.",
"You may find doors, ('+'); these may be opened with <press_open> or closed with <press_close>. Some doors are locked. Locked doors, windows, and some other obstacles can be destroyed by smashing them (<press_smash>, then choose a direction). Smashing down obstacles is much easier with a good weapon or a strong character.",
"There may be times when you want to move more quickly by holding down a movement key. However, fast movement in this fashion may lead to the player getting into a dangerous situation or even killed before they have a chance to react. Pressing <press_safemode> will toggle \"Safe Mode\". While this is on, any movement will be ignored if new monsters enter the player's view."
"There may be times when you want to move more quickly by holding down a movement key. However, fast movement in this fashion may lead to the player getting into a dangerous situation or even killed before they have a chance to react. Pressing <press_safemode> will toggle \"Safe Mode.\" While this is on, any movement will be ignored if new monsters enter the player's view."
]
},
{
@@ -28,8 +28,8 @@
"order": 2,
"name": "<c|C>: Viewing",
"messages": [
"The player can often see more than can be displayed on the screen at a time. Pressing <press_look> enters \"look around mode\", which allows you to scroll around using the movement keys and view items on the map as well as monsters and their stance toward the character. Pressing <press_listitems> provides a list of nearby visible items, though items shut away in crates, cupboards, refrigerators and the like won't be displayed until you are close enough. Pressing Shift+vikeys (h,j,k,l,y,u,b,n) will scroll the view persistently, allowing you to keep an eye on things as you move around.",
"Places outside of your view but seen previously and still memorized can be visualized, but they will be covered by the \"fog of war\"."
"The player can often see more than can be displayed on the screen at a time. Pressing <press_look> enters \"look around mode,\" which allows you to scroll around using the movement keys and view items on the map as well as monsters and their stance toward the character. Pressing <press_listitems> provides a list of nearby visible items, though items shut away in crates, cupboards, refrigerators and the like won't be displayed until you are close enough. Pressing Shift+vikeys (h,j,k,l,y,u,b,n) will scroll the view persistently, allowing you to keep an eye on things as you move around.",
"Places outside of your view but seen previously and still memorized can be visualized, but they will be covered by the \"fog of war.\""
]
},
{
@@ -37,9 +37,9 @@
"order": 3,
"name": "<d|D>: Hunger, thirst, and sleep",
"messages": [
"As time passes, you will begin to feel hunger and thirst, and your stomach will remind you of that. When this happens, status information will appear in the sidebar. Don't get confused - depending on your condition it will display both how full your stomach is, as well as hunger intensity in relation to your nutrition status. Your body nutrition level is distinct from your current hunger; for example, you may feel full after a big meal, while still being malnourished. And you will still get hungry while being overweight. With regular meals, you may even never get hungry and yet become malnourished, if your caloric intake is too low. In other words, you need to track both your immediate hunger/fullness and the overall nutrition of your whole body.",
"Food takes some time to digest, and water travels faster through your digestive system than does solid food. Sudden overeating and overdrinking may make you feel excessively full, so split your meals. If you starved before, it will take some time to recover your body mass by building up stored calories through regular eating. Overeating for a prolonged period of time leads to obesity. Both sides of the spectrum are penalized. When hunger and thirst progress to severe levels, you will also suffer penalties. Thirst will kill you faster then hunger.",
"You can develop various vitamin deficiencies if you eat poorly. These deficiencies come in stages; for example, you won't go from perfectly good health into a full-blown scurvy in an instant. Any developing and ongoing deficiencies will be reported in the character sheet. Deficiencies will inflict various penalties, but luckily, they are always reversible, and multivitamin pills can help you to correct these deficiencies. You can also ingest too much of any particular vitamin, however, and that can create problems as well. Be sure to have a balanced diet, or at least not a completely atrocious one. You can, and should, examine food items (by pressing <press_examine>) to view their nutritional information.",
"As time passes, you will begin to feel hunger and thirst, and your stomach will remind you of that. When this happens, status information will appear in the sidebar. Don't get confused - depending on your condition, it will display both how full your stomach is, as well as hunger intensity in relation to your nutrition status. Your body nutrition level is distinct from your current hunger: for example, you may feel full after a big meal while still being malnourished, and you will still get hungry while being overweight. With regular meals, you may even never get hungry and yet become malnourished, if your caloric intake is too low. In other words, you need to track both your immediate hunger/fullness and the overall nutrition of your whole body.",
"Food takes some time to digest, and water travels faster through your digestive system than does solid food. Sudden overeating and overdrinking may make you feel excessively full, so split your meals. If you had been starved before, it will take some time to recover your body mass by building up stored calories through regular eating. Overeating for a prolonged period of time leads to obesity. Both sides of the spectrum are penalized. When hunger and thirst progress to severe levels, you will also suffer penalties. Thirst will kill you faster than hunger.",
"You can develop various vitamin deficiencies if you eat poorly. These deficiencies come in stages; for example, you won't go from perfectly good health into full-blown scurvy in an instant. Any developing and ongoing deficiencies will be reported in the character sheet. Deficiencies will inflict various penalties, but luckily, they are always reversible, and multivitamin pills can help you to correct these deficiencies. You can also ingest too much of any particular vitamin, however, and that can create problems as well. Be sure to have a balanced diet, or at least not a completely atrocious one. You can, and should, examine food items (by pressing <press_examine>) to view their nutritional information.",
"Eating and drinking poorly will affect your health. Fast foods, quick snacks and sweet drinks are high in calories, but are a poor choice for a sustainable food source, if you don't want your health to get worse. On the other hand, vegetables, herbal teas, and many other self-prepared meals are good for your health, and should be welcome additions to your diet.",
"Finding food in a city is usually easy; outside of a city, you may have to hunt or forage. After killing an animal, stand over the animal's corpse and butcher it into small chunks of meat by pressing <press_butcher>. You might also be able to forage for edible fruit or vegetables; to do this, find a promising plant and examine it. Likewise, you may have to drink water from a river or another natural source. To collect it, stand in shallow water and press <press_pickup>. You'll need a watertight container to store it. Be forewarned that most sources of water aren't trustworthy, and may yield disease-carrying water. To make sure it's healthy, purify the water by boiling it or using a water purifier before drinking.",
"Every dozen or so hours, you'll find yourself growing sleepy. If you do not sleep by pressing <press_sleep>, you'll start suffering stat and movement penalties. You may not always fall asleep right away. Sleeping indoors, especially on a bed, will help. If that's not enough, sleeping pills may be of use. While sleeping, you'll slowly replenish lost hit points. You'll also be vulnerable to attack, so try to find a safe place to sleep, or set traps for unwary intruders."
@@ -50,7 +50,7 @@
"order": 4,
"name": "<e|E>: Pain and stimulants",
"messages": [
"When you take damage from almost any source, you'll start to feel pain. Pain slows you down and reduces your stats, and finding a way to manage pain is an early imperative. The most common is drugs: aspirin, codeine, tramadol, oxycodone, and more are all great options. Be aware that while under the influence of many painkillers, the physiological side effects may slow you or reduce your stats.",
"When you take damage from almost any source, you'll start to feel pain. Pain slows you down and reduces your stats, and finding a way to manage pain is an early imperative. The most common is drugs: aspirin, codeine, tramadol, oxycodone, and more are all great options. Be aware that while under the influence of many painkillers, the physiological side effects may slow you down or reduce your stats.",
"Note that most painkillers take a little while to kick in. If you take some oxycodone and don't notice the effects right away, don't start taking more - you may overdose and die!",
"Pain will also disappear with time, so if drugs aren't available and you're in a lot of pain, it may be wise to find a safe spot and simply rest for an extended period of time.",
"Stimulants are another common class of drugs. Stimulants provide you with a temporary rush of energy, increasing your movement speed and many stats (most notably intelligence), making them useful study aids. There are two drawbacks to stimulants: they make it more difficult to sleep and, more importantly, most are highly addictive. Stimulants range from the caffeine rush of cola to the more intense high of Adderall and methamphetamine.",
@@ -65,10 +65,10 @@
"messages": [
"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. But 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 and 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 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.",
"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 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."
"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."
]
},
{
@@ -89,7 +89,7 @@
"There are lots of options for increasing morale: reading an entertaining book, eating delicious food, listening to music, and taking recreational drugs are but a few options. However, most morale-boosting activities can only elevate your mood to a certain level before they grow boring.",
"There are also lots of ways for your morale to decrease, beyond its natural decay toward its normal level. Eating disgusting food, reading a boring technical book, killing a friendly NPC, or going through drug withdrawal are some prominent examples.",
"Low morale will make you sluggish and unmotivated. If your morale drops very low, you won't be able to perform crafting at all. If you become sufficiently depressed, you will suffer stat penalties. Very high morale fills you with gusto and energy, and you will find yourself moving faster. At extremely high levels, you will receive stat bonuses.",
"Morale is also responsible for ensuring you can learn effectively, via a mechanic referred to as 'focus'. Your focus level is a measure of how effectively you can learn. The natural level is 100, which indicates normal learning potential. Higher or lower focus levels make it easier or harder to learn from practical experience.",
"Morale is also responsible for ensuring you can learn effectively, via a mechanic referred to as 'focus.' Your focus level is a measure of how effectively you can learn. The natural level is 100, which indicates normal learning potential. Higher or lower focus levels make it easier or harder to learn from practical experience.",
"Your focus level has a natural set point that it will trend toward. When your focus is much lower - or higher - than this set point, it will change faster than when it is near the set point. Having high morale will raise the set point, and having low morale will lower the set point. Pain is also factored into the set point calculation - it's harder to learn when you're in pain.",
"Your focus is also lowered by certain activities. Training your skills through real-world practice lowers your focus gradually, by an amount that depends on your current level of focus (higher focus means larger decreases, as well as improved learning). Training your skills by reading books decreases your focus rapidly, by giving a significant penalty to the set point of your focus.",
"You can disable a skill in the Player Info Menu (press <press_player_data>) if you don't want to practice it, and it will prevent focus drain while performing relevant actions, but you will not progress in that skill while it's disabled."
@@ -100,7 +100,7 @@
"order": 8,
"name": "<i|I>: Radioactivity and mutation",
"messages": [
"Though it is relatively rare, certain areas of the world may be contaminated with radiation. It will gradually accumulate in your body, weakening you more and more. While in radiation-free areas, your radiation level will slowly decrease; taking Prussian blue tablets will help speed this process. Get yourself a measuring device, as radiation is invisible and you may not know that you are under its influence until it results in radiation sickness.",
"Though it is relatively rare, certain areas of the world may be contaminated with radiation. It will gradually accumulate in your body, weakening you more and more. While in radiation-free areas, your radiation level will slowly decrease; taking Prussian blue tablets will help speed this process. Get yourself a measuring device, as radiation is invisible, and you may not know that you are under its influence until it results in radiation sickness.",
"If you become very irradiated, you may develop mutations. Most of the time, these mutations will be negative; however, many are beneficial, and others have both positive and negative effects. Your mutations may change your play style considerably. It is possible to find substances that will remove mutations, though these are extremely rare.",
"There are various mutagenic substances, and consuming (or injecting) them will grant mutations. However, the process taxes your body significantly, and can be addictive. With enough mutations and certain conditions being met, you will permanently transcend your humanity into a wholly different life-form."
]
@@ -112,9 +112,9 @@
"messages": [
"Bionics are biomechanical upgrades to your body. While many are simply 'built-in' versions of items you would otherwise have to carry, some bionics have unique effects that are otherwise unobtainable. Some bionics are constantly working, whereas others need to be toggled on and off as needed.",
"Most bionics require a source of power, and you will need an internal battery to store energy for them. Your current amount of energy is displayed in the sidebar right below your health. Replenishing energy can be done in a variety of ways, but all require the installation of a special bionic just for that purpose.",
"Installation of a bionic is only possible using a specialized medical apparatus, ideally operated by a trained professional. Using machinery to manipulate bionics requires high levels of Intelligence, first aid, computers, and electronics. Beware, though: a failure may cripple you! Many bionic modules are difficult to find, but may be purchased from certain wandering vagabonds for a very high price, or acquired by skillful dissection of corpses of deceased bionic users (including zombies). Bionic modules obtained this way may require extra preparation to become more safely usable.",
"Installation of a bionic is only possible using a specialized medical apparatus, ideally operated by a trained professional. Using machinery to manipulate bionics requires high levels of Intelligence, first aid, computers, and electronics. Beware, though: a failure may cripple you! Many bionic modules are difficult to find, but may be purchased from certain wandering vagabonds for a very high price, or acquired by skillful dissection of corpses of deceased bionic users (including zombies). Bionic modules obtained this way may require extra preparation to become safely usable.",
"Any bionic can be removed from your body, but this process may be even harder - and thus riskier - than the initial installation. Both installation and removal are non-trivial surgical procedures, and therefore require anesthesia.",
"For lone survivors, the standard choice for installing or uninstalling bionics is an Autodoc. Usually, you can find one in a hospital or clinic. All Autodoc procedures require an anesthetic kit. However, you can bypass this restriction if you find a way to completely negate pain. Don't even try without proper anesthesia - normal drugs won't help.",
"For lone survivors, the standard choice for installing or uninstalling bionics is an Autodoc. Usually, you can find one in a hospital or clinic. All Autodoc procedures require an anesthetic kit. Don't even try without proper anesthesia - normal drugs won't help. However, you can bypass this restriction if you find a way to completely negate pain.",
"Take note that bionic installation or removal require narcosis, immobilization of the patient, and only then the operation - which may take hours. So you have to make sure that you will be safe during this process."
]
},
@@ -133,8 +133,8 @@
"-> Electronics lets you make a wide variety of tools with intricate uses.",
"In addition to the primary crafting skills, other skills may be necessary to create certain items. Traps, Marksmanship, and First Aid are all required for certain items.",
"Crafting an item with high difficulty may fail and possibly waste some materials. You should gather and prepare spare material, just in case.",
"Crafting very large/heavy items or batches of items is best done at a workbench of some kind. You could use any ordinary table, or build your own out of metal to handle heavier loads. Using a workbench or other furniture for crafting is beneficial for the added comfort, thus making the process faster.",
"If for any reason the crafting process is interrupted, the progress is wrapped in a special item representing the craft in making. You may use it to resume crafting at any point.",
"Crafting very large/heavy items or batches of items is best done at a workbench of some kind. You could use any ordinary table, or build your own out of metal to handle heavier loads. Using a workbench or other furniture for crafting is more comfortable; therefore, crafting is faster.",
"If the crafting process is interrupted for any reason, the progress is wrapped in a special item representing the craft being made. You may use it to resume crafting at any point.",
"Batch crafting in most cases means saved time, and your companions can also help if they know the ropes."
]
},
@@ -157,8 +157,8 @@
"messages": [
"There is a wide variety of items available for your use. You may find them lying on the ground; if so, simply press <press_pickup> to pick up items on the same tile. Some items are found inside a container, which may be drawn as a { with a blue background. Pressing <press_examine>, then a direction key, will allow you to examine these containers and loot their contents.",
"Pressing <press_compare> opens a comparison menu, where you can see two items side-by-side with their attributes color-coded to indicate which is superior. You can also access the item comparison menu by pressing C after <press_listitems> to open the \"View Nearby Items\" menu and selecting an item.",
"Almost any item may be used as a melee weapon, though some are better than others. You can check the melee attributes of an item you're carrying by pressing <press_inventory> to enter your inventory, then pressing the letter of the item. There are 5 melee values: to-hit bonus (or penalty), moves per attack, and bash, cut, and pierce damage. The to-hit bonus increases the chance of an attack connecting with a monster and the chance of a successful attack becoming a critical hit. Moves per attack represents how many moves it takes to attack with the weapon, with 100 moves passing every second. Bash damage can stun a monster, preventing it from counter-attacking, but is governed by your strength. Cut damage is usually greater than bash damage, but many monsters have natural armor against it. Pierce damage usually penetrates armor better than cut damage, but does less damage overall, especially if you do not have a lot of skill in piercing weapons. It, too, may be reduced by a monster's natural armor. The typical damage per second values are for your survivor and account for moves per attack, encumbrance, missed strikes, weapon skill, critical hits, and target armor. The 'Best' value is against an unarmored target with no Dodge skill. The 'Vs. Agile' value is against an unarmored target with a high Dodge skill. The 'Vs. Armored' value is against a target with more than 15 Bash and 20 Cut resistance but no Dodge skill. These are typical values to let you assess the effectiveness of weapons; the amount of damage you actually inflict will vary depending on the situation.",
"To wield an item as a weapon, press <press_wield>, then the appropriate letter. Wielding the item you are currently wielding will unwield it, leaving your hands empty. A wielded weapon will not contribute to your volume carried, so holding a large item in your hands may be a good option for travel. When unwielding your weapon, it will go back in your inventory, or may be dropped on the ground if there is no space.",
"Almost any item may be used as a melee weapon, though some are better than others. You can check the melee attributes of an item you're carrying by pressing <press_inventory> to enter your inventory, then pressing the letter of the item. There are 5 melee values: to-hit bonus (or penalty), moves per attack, and bash, cut, and pierce damage. The to-hit bonus adjusts the chance of an attack connecting with a monster and the chance of a successful attack becoming a critical hit. Moves per attack represents how many moves it takes to attack with the weapon, with 100 moves equaling one second. Bash damage can stun a monster, preventing it from counter-attacking, but is governed by your strength. Cut damage is usually greater than bash damage, but many monsters have natural armor against it. Pierce damage usually penetrates armor better than cut damage, but does less damage overall, especially if you do not have a lot of skill in piercing weapons. It, too, may be reduced by a monster's natural armor. The typical damage per second values are for your survivor and account for moves per attack, encumbrance, missed strikes, weapon skill, critical hits, and target armor. The 'Best' value is against an unarmored target with no Dodge skill. The 'Vs. Agile' value is against an unarmored target with a high Dodge skill. The 'Vs. Armored' value is against a target with more than 15 Bash and 20 Cut resistance but no Dodge skill. These are typical values to let you assess the effectiveness of weapons; the amount of damage you actually inflict will vary depending on the situation.",
"To wield an item as a weapon, press <press_wield>, then the appropriate letter. Wielding the item you are currently wielding will unwield it, leaving your hands empty. A wielded weapon will not contribute to your volume carried, so holding a large item in your hands may be a good option for travel. When unwielding your weapon, you will be given a choice of what to do with it.",
"To wear a piece of clothing, press <press_wear>, then the appropriate letter. Armor reduces damage, and can help you resist things like smoke. To take off an item, press <press_take_off>, then the appropriate letter. Clothing and armor are worn in distinct layers, and provide different coverage, protection and warmth. Each piece has its own encumbrance, and wearing too much on any given layer can significantly hamper your movement and other abilities, especially during combat. You can view and sort worn items by pressing <press_sort_armor>.",
"Your clothing can sit in one of five layers on your body: next-to-skin, standard, waist, over, and belted. You can wear one item from each layer on a body part without incurring an encumbrance penalty for too many worn items. Any items beyond the first on each layer add the encumbrance of the additional article(s) of clothing to the body part's encumbrance. The layering penalty applies a minimum of 2 and a maximum of 10 encumbrance per article of clothing.",
"For example, on her torso, a character might wear a leather corset (next-to-skin), a leather touring suit (standard), a trenchcoat (over), and a survivor's runner pack (belted). Her encumbrance penalty is 0. If she put on a tank top it would conflict with the leather touring suit and add the minimum encumbrance penalty of 2.",
@@ -201,15 +201,15 @@
"order": 15,
"name": "<p|P>: Survival tips",
"messages": [
"THe hierarchy of needs for survival in most cases is as follows: shelter, fire, water, food. The rest is the process of trying to answer a question: What would you do in a survival situation?",
"The first thing to do, when you are out of immediate danger, is checking your starting location for useful items. Your initial storage is limited, and a backpack, trenchcoat, or other storage medium will let you carry a lot more. Finding a weapon is important, but not a first priority; frying pans, butcher knives, and more are common in houses, and hardware stores may have others, as well as useful tools. Initially, save any guns you find as a last resort: ammo is scarce, while zombies are plenty, and unwanted attention may be more you can handle.",
"The hierarchy of needs for survival in most cases is as follows: shelter, fire, water, food. The rest is the process of trying to answer a question: What would you do in a survival situation?",
"The first thing to do, when you are out of immediate danger, is to check your starting location for useful items. Your initial storage is limited, and a backpack, trenchcoat, or other storage medium will let you carry a lot more. Finding a weapon is important, but not a first priority; frying pans, butcher knives, and more are common in houses, and hardware stores may have others, as well as useful tools. Initially, save any guns you find as a last resort: ammo is scarce, while zombies are plenty, and unwanted attention may be more than you can handle.",
"It's also important to carry a few medications; painkillers are a must-have, and drugs such as cigarettes will make your life easier (but beware of addiction). Leave the city as soon as you have a good stockpile of equipment: while their population density makes cities important places to find food, ammunition, and many other goods, the high concentration of zombies makes them a deathtrap for the unprepared survivor.",
"Avoid combat whenever you can. Run if you have to; but control your stamina, as zombies, unlike yourself, are inexhaustible. Combat is always risky, and sometimes, one wrong step may be your last. Therefore, in most cases you gain nothing from combat unless you are equipped for it and killing your enemy will help you achieve something.",
"Avoid combat whenever you can. Run if you have to, but mind your stamina; zombies, unlike yourself, are inexhaustible. Combat is always risky, and sometimes, one wrong step may be your last. Therefore, in most cases you gain nothing from combat unless you are equipped for it and killing your enemy will help you achieve something.",
"Combat is much easier if you can fight just one monster at a time. You can sometimes kite singled-out zombies, drawing them to a place of your choosing. Use doorways as a choke point or stand behind a window and strike as the zombies slowly climb through. Be wary - in numbers, they will push through anyway. Never be afraid to just run if you can outpace your enemies. Irregular terrain, like forests, may help you lose monsters.",
"Using firearms is the easiest way to kill an enemy, but the sound will attract unwanted attention. Save the guns for emergencies, and melee when you can.",
"If you need to protect yourself from acid, look for clothing made of plastic, Kevlar, leather, or cloth, in decreasing order of effectiveness. So, while leather and Kevlar will protect you from active enemies, a hazmat suit and rubber boots will make you nigh immune to acid damage. Items made of glass, ceramics, diamond, or precious metals will be totally immune to acid.",
"When looting, try to fill your inventory as much as possible without being overloaded. You never know when you might need an item, most are good to sell, and you can easily drop unwanted items on the floor. But don't go looting empty-handed; you never know what might happen, so have your most crucial survival items with you.",
"Keep an eye on the weather. Wind and humidity will exacerbate dire conditions, so seek shelter if you're unable to withstand them. Staying dry is important, especially if temperatures are so low that they would cause frostbite. Use a towel to dry yourself if you are wet from the rain. If you're having trouble staying warm overnight, make a pile of clothing on the floor to sleep on. Finding a pillow and a blanket for your bed is always good for the quality of your sleep. If you can't find those, improvise; even a chair in a basement is better then a patch of wet ground in a field. Finding or making a shelter with a place to sleep is very important for your survival.",
"Keep an eye on the weather. Wind and humidity will exacerbate dire conditions, so seek shelter if you're unable to withstand them. Staying dry is important, especially if temperatures are so low that they might cause frostbite. Use a towel to dry yourself if you are wet from the rain. If you're having trouble staying warm overnight, make a pile of clothing on the floor to sleep on. Finding a pillow and a blanket for your bed is always good for the quality of your sleep. If you can't find those, improvise; even a chair in a basement is better then a patch of wet ground in a field. Finding or making a shelter with a place to sleep is very important for your survival.",
"Winter is harsh. Liquids and food may freeze, and you may need to defrost them using a cooking appliance. Placing them by a lit fire might also help. Basements are warmer in winter and cooler in summer, so they are frequently good places to store your excess food. Most food decays with time, and that process can be sped up or slowed down by the temperature. Frozen food will not rot. It you are able to bring a freezer or a fridge back to life, it will help you in the long run. If these are out of your reach, think about constructing a root cellar.",
"You may preserve food in many other ways, as well; for example, by using a smoking rack, or cooking it into a meal that has a longer shelf life."
]
@@ -221,7 +221,7 @@
"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. You default to cruise control, so 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.",
"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.",
@@ -236,7 +236,7 @@
"BOATS AND AMPHIBIOUS VEHICLES",
"You can use boat hull parts to create boats or amphibious vehicles that can move between water and land.",
"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 all of its underbody is covered in boat boards and it weighs less than 10 tons.",
"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!"
]
@@ -248,7 +248,7 @@
"messages": [
"~ Liquid\n%% Food\n! Medication\nThese are all consumed by using <press_eat>. They may provide a certain amount of nutrition, may quench your thirst, may be a stimulant or a depressant, and may provide (or reduce!) morale. There may also be more subtle effects.",
"/ Large weapon\n; Small weapon or tool\n, Tiny item\nThese are all generic items, useful only to be wielded as a weapon. However, some have special uses; they will show up under the TOOLS section in your inventory. Press <press_apply> to use these.",
") Container\nThese items may hold other items. Some are passable weapons. Many will be listed with their contents, e.g. \"plastic bottle > water\". Those containing comestibles may be eaten with <press_eat>; this may leave an empty container.",
") Container\nThese items may hold other items. Some are passable weapons. Many will be listed with their contents, e.g. \"plastic bottle > water.\" Those containing comestibles may be eaten with <press_eat>; this may leave an empty container.",
"[ Clothing\nThis may be worn with the <press_wear> key or removed with the <press_take_off> key. It may cover one or more body parts; you can wear multiple articles of clothing on any given body part, but this will encumber you severely. Each article of clothing may provide storage space, warmth, encumbrance, and resistance to bashing and/or cutting attacks. Some may protect against environmental effects.",
"( Firearm\nThis weapon may be loaded with ammunition with <press_reload>, unloaded with <press_unload>, and fired with <press_fire>. Some have automatic fire, which may be used with <press_select_fire_mode> at a penalty to accuracy. The color corresponds to the type; handguns are gray, shotguns are red, submachine guns are cyan, rifles are brown, assault rifles are blue, and heavy machine guns are light red. Each has a dispersion rating, a bonus to damage, a rate of fire, and a maximum load. Note that, while most firearms load fully in one action, shotguns must be loaded one shell at a time.",
"= Ammunition\nAmmunition is worthless without a gun to load it into. Generally, there are several variants for any particular caliber. Ammunition has damage, dispersion, and range ratings, as well as an armor-piercing value.",
@@ -308,7 +308,7 @@
"Q: What is Safe Mode, and why does it prevent me from moving?\nA: Safe Mode is a way to guarantee that you won't die by holding a movement key down. When a monster comes into view, your movement will be ignored until Safe Mode is turned off with the <press_safemode> key. This ensures that the sudden appearance of a monster won't catch you off guard.",
"Q: It seems like everything I eat makes me sick! What's wrong?\nA: Lots of the food found in towns is perishable and will only last a few days after the start of a new game. The electricity went out several days ago, so fruit, milk, and similar foods are the first to go bad. After the first couple of days, you should switch to canned food, jerky, and hunting. Also, you should make sure to cook any food and purify any water you come across, as it may contain parasites or otherwise be unsafe.",
"Q: How can I remove boards from boarded-up windows and doors?\nA: Use a hammer and choose the direction of the boarded-up window or door to remove the boards.",
"Q: The game just told me to quit, and other weird stuff is happening.\nA: You have the Schizophrenic trait, which might make the game seem buggy.",
"Q: The game just told me to quit, and other weird stuff is happening.\nA: You have the \"Kaluptic Psychosis\" trait, which might make the game seem buggy.",
"Q: How can I prevent monsters from attacking me while I sleep?\nA: Find a safe place to sleep; for example, in a cleared building far from the front door. Set traps if you have them, or build a fire to scare off wild animals.",
"Q: Why do I always sink when I try to swim?\nA: Your swimming ability is reduced greatly by the weight you are carrying, and is also adversely affected by most clothing you wear. Until you reach a high level of the swimming skill, you'll need to drop your equipment and remove your clothing to swim, making it a last-ditch escape plan. Diving gear may significantly help you in swimming and diving.",
"Q: How can I cure a fungal infection?\nA: The Blood Filter bionic and some antifungal chemicals can cure fungal infection. Antifungal chemicals to cure the fungal infection can either be found as random loot or made from other ingredients.",
+323 -15
View File
@@ -46,7 +46,78 @@
"bash_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
"cut_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
"bullet_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"ALBINO",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
"SCALES",
"THICK_SCALES",
"SLEEK_SCALES",
"FEATHERS",
"DOWN",
"LIGHTFUR",
"FUR",
"URSINE_FUR",
"LUPINE_FUR",
"FELINE_FUR",
"LYNX_FUR",
"CHITIN",
"CHITIN2",
"CHITIN3",
"CHITIN_FUR",
"CHITIN_FUR2",
"CHITIN_FUR3",
"CF_HAIR",
"SPINES",
"QUILLS",
"BARBS",
"PLANTSKIN",
"BARK",
"THORNS",
"LEAVES",
"LEAVES2",
"LEAVES3",
"SLIMY",
"VISCOUS",
"AMORPHOUS",
"BENDY1",
"BENDY2",
"BENDY3",
"WINGS_BIRD",
"WINGS_INSECT",
"LARGE",
"LARGE_OK",
"HUGE",
"HUGE_OK",
"SMALL",
"SMALL2",
"SMALL_OK",
"WINGS_STUB",
"WINGS_BAT",
"WINGS_BUTTERFLY",
"PALE",
"SPOTS",
"SUNBURN",
"SORES",
"CHLOROMORPH",
"ARM_FEATHERS",
"INSECT_ARMS",
"INSECT_ARMS_OK",
"ARACHNID_ARMS",
"ARACHNID_ARMS_OK",
"ARM_TENTACLES",
"ARM_TENTACLES_4",
"ARM_TENTACLES_8",
"CLAWS_TENTACLES",
"ACIDPROOF",
"TOXICFLESH",
"FRESHWATEROSMOSIS"
]
},
{
"id": "bio_armor_eyes",
@@ -58,7 +129,7 @@
"bash_protec": [ [ "eyes", 3 ] ],
"cut_protec": [ [ "eyes", 3 ] ],
"bullet_protec": [ [ "eyes", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [ "COMPOUND_EYES", "CEPH_VISION", "CEPH_EYES", "EYEBULGE" ],
"social_modifiers": { "intimidate": 10 }
},
{
@@ -70,7 +141,85 @@
"bash_protec": [ [ "head", 3 ] ],
"cut_protec": [ [ "head", 3 ] ],
"bullet_protec": [ [ "head", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"ALBINO",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
"SCALES",
"THICK_SCALES",
"SLEEK_SCALES",
"FEATHERS",
"DOWN",
"LIGHTFUR",
"FUR",
"URSINE_FUR",
"LUPINE_FUR",
"FELINE_FUR",
"LYNX_FUR",
"CHITIN",
"CHITIN2",
"CHITIN3",
"CHITIN_FUR",
"CHITIN_FUR2",
"CHITIN_FUR3",
"CF_HAIR",
"SPINES",
"QUILLS",
"BARBS",
"PLANTSKIN",
"BARK",
"THORNS",
"LEAVES",
"LEAVES2",
"LEAVES3",
"SLIMY",
"VISCOUS",
"AMORPHOUS",
"LARGE",
"LARGE_OK",
"HUGE",
"HUGE_OK",
"SMALL",
"SMALL2",
"SMALL_OK",
"PALE",
"SPOTS",
"SUNBURN",
"SORES",
"CHLOROMORPH",
"ACIDPROOF",
"TOXICFLESH",
"FRESHWATEROSMOSIS",
"BIOLUM0",
"BIOLUM0_active",
"BIOLUM1",
"BIOLUM1_active",
"BIOLUM2",
"BIOLUM2_active",
"GILLS",
"GILLS_CEPH",
"FLOWERS",
"ROSEBUDS",
"HORNS",
"HORNS_CURLED",
"HORNS_POINTED",
"ANTLERS",
"ANTENNAE",
"HEADBUMPS",
"HAIRROOTS",
"SNOUT",
"MINOTAUR",
"MUZZLE",
"MUZZLE_BEAR",
"MUZZLE_RAT",
"MUZZLE_LONG",
"PROBISCIS"
]
},
{
"id": "bio_armor_legs",
@@ -81,7 +230,76 @@
"bash_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
"cut_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
"bullet_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"ALBINO",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
"SCALES",
"THICK_SCALES",
"SLEEK_SCALES",
"FEATHERS",
"DOWN",
"LIGHTFUR",
"FUR",
"URSINE_FUR",
"LUPINE_FUR",
"FELINE_FUR",
"LYNX_FUR",
"CHITIN",
"CHITIN2",
"CHITIN3",
"CHITIN_FUR",
"CHITIN_FUR2",
"CHITIN_FUR3",
"CF_HAIR",
"SPINES",
"QUILLS",
"BARBS",
"PLANTSKIN",
"BARK",
"THORNS",
"LEAVES",
"LEAVES2",
"LEAVES3",
"SLIMY",
"VISCOUS",
"AMORPHOUS",
"BENDY1",
"BENDY2",
"BENDY3",
"LARGE",
"LARGE_OK",
"HUGE",
"HUGE_OK",
"SMALL",
"SMALL2",
"SMALL_OK",
"PALE",
"SPOTS",
"SUNBURN",
"SORES",
"CHLOROMORPH",
"ACIDPROOF",
"TOXICFLESH",
"FRESHWATEROSMOSIS",
"TAIL_STUB",
"TAIL_FIN",
"TAIL_LONG",
"TAIL_CATTLE",
"TAIL_RAT",
"TAIL_THICK",
"TAIL_RAPTOR",
"TAIL_FLUFFY",
"TAIL_STING",
"TAIL_CLUB",
"LEG_TENTACLES",
"LEG_TENT_BRACE"
]
},
{
"id": "bio_armor_torso",
@@ -92,7 +310,73 @@
"bash_protec": [ [ "torso", 3 ] ],
"cut_protec": [ [ "torso", 3 ] ],
"bullet_protec": [ [ "torso", 3 ] ],
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
"canceled_mutations": [ "VINES1", "VINES2", "VINES3" ],
"mutation_conflicts": [
"THICKSKIN",
"THINSKIN",
"ALBINO",
"SKIN_ROUGH",
"M_SKIN",
"M_SKIN2",
"M_SKIN3",
"SCALES",
"THICK_SCALES",
"SLEEK_SCALES",
"FEATHERS",
"DOWN",
"LIGHTFUR",
"FUR",
"URSINE_FUR",
"LUPINE_FUR",
"FELINE_FUR",
"LYNX_FUR",
"CHITIN",
"CHITIN2",
"CHITIN3",
"CHITIN_FUR",
"CHITIN_FUR2",
"CHITIN_FUR3",
"CF_HAIR",
"SPINES",
"QUILLS",
"BARBS",
"PLANTSKIN",
"BARK",
"THORNS",
"LEAVES",
"LEAVES2",
"LEAVES3",
"SLIMY",
"VISCOUS",
"AMORPHOUS",
"BENDY1",
"BENDY2",
"BENDY3",
"LARGE",
"LARGE_OK",
"HUGE",
"HUGE_OK",
"SMALL",
"SMALL2",
"SMALL_OK",
"PALE",
"SPOTS",
"SUNBURN",
"SORES",
"CHLOROMORPH",
"ACIDPROOF",
"TOXICFLESH",
"FRESHWATEROSMOSIS",
"INK_GLANDS",
"INSECT_ARMS",
"INSECT_ARMS_OK",
"ARACHNID_ARMS",
"ARACHNID_ARMS_OK",
"CLAWS_TENTACLES",
"SHELL",
"SHELL2"
]
},
{
"id": "bio_batteries",
@@ -258,7 +542,8 @@
"act_cost": "100 J",
"react_cost": "100 J",
"time": 1,
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"active_flags": [ "CLIMATE_CONTROL" ]
},
{
"id": "bio_cloak",
@@ -280,7 +565,7 @@
"act_cost": "30 kJ",
"react_cost": "30 kJ",
"time": 1,
"enchantments": [ "ENCH_INVISIBILITY" ],
"enchantments": [ { "condition": "ACTIVE", "ench_effects": [ { "effect": "invisibility", "intensity": 1 } ] } ],
"flags": [ "BIONIC_TOGGLED" ]
},
{
@@ -360,7 +645,8 @@
"name": { "str": "Enhanced Hearing" },
"description": "When this bionic is active, your hearing will be drastically improved, allowing you to hear ten times better than the average person. Additionally, high-intensity sounds will be automatically dampened before they can damage your hearing.",
"occupied_bodyparts": [ [ "head", 3 ] ],
"flags": [ "BIONIC_TOGGLED", "IMMUNE_HEARING_DAMAGE", "SUPER_HEARING" ],
"flags": [ "BIONIC_TOGGLED", "IMMUNE_HEARING_DAMAGE" ],
"active_flags": [ "SUPER_HEARING" ],
"included_bionics": [ "bio_earplugs" ]
},
{
@@ -479,7 +765,9 @@
"type": "bionic",
"name": { "str": "Fingerhack" },
"description": "One of your fingers has an electrohack surgically embedded in it; an all-purpose hacking unit used to override control panels and the like (but not computers). Skill in computers is important, and a failed use may damage your circuits.",
"occupied_bodyparts": [ [ "hand_r", 2 ] ]
"occupied_bodyparts": [ [ "hand_r", 2 ] ],
"fake_item": "electrohack",
"flags": [ "BIONIC_TOGGLED" ]
},
{
"id": "bio_flashbang",
@@ -581,6 +869,7 @@
[ "foot_r", 1 ]
],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
"active_flags": [ "HEATSINK" ],
"act_cost": "1 kJ",
"react_cost": "1 kJ",
"time": 1
@@ -661,7 +950,7 @@
"description": "The index fingers of both hands have powerful fire starters which extend from the tip.",
"occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ],
"fake_item": "fake_firestarter",
"act_cost": "3 kJ"
"act_cost": "5 kJ"
},
{
"id": "bio_lockpick",
@@ -735,7 +1024,13 @@
"description": "When active, this bionic eliminates all light within a 2 tile radius through destructive interference.",
"occupied_bodyparts": [ [ "torso", 16 ] ],
"flags": [ "BIONIC_TOGGLED" ],
"enchantments": [ "ENCH_SHADOW_CLOUD" ],
"enchantments": [
{
"condition": "ACTIVE",
"ench_effects": [ { "effect": "invisibility", "intensity": 1 } ],
"emitter": "emit_shadow_field"
}
],
"act_cost": "9 kJ",
"react_cost": "9 kJ",
"time": 1
@@ -896,7 +1191,17 @@
"name": { "str": "Recycler Unit" },
"description": "Your digestive system has been outfitted with a series of filters and processors, allowing you to reclaim waste liquid and, to a lesser degree, nutrients. The net effect is a greatly reduced need to eat and drink.",
"occupied_bodyparts": [ [ "torso", 15 ] ],
"flags": [ "BIONIC_NPC_USABLE" ]
"flags": [ "BIONIC_NPC_USABLE" ],
"enchantments": [
{
"condition": "ALWAYS",
"values": [
{ "value": "HUNGER", "multiply": -0.5 },
{ "value": "THIRST", "multiply": -0.5 },
{ "value": "METABOLISM", "multiply": -0.5 }
]
}
]
},
{
"id": "bio_remote",
@@ -1123,7 +1428,8 @@
"name": { "str": "Joint Servo" },
"description": "Your leg joints have been equipped with servomotors that provide power-assisted movement. They are optimized for running, but walking also requires less effort when this bionic is online. However, when it's offline it will hamper your movement, as you struggle against its moving parts.",
"occupied_bodyparts": [ [ "leg_l", 12 ], [ "leg_r", 12 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"mutation_conflicts": [ "LEG_TENTACLES", "LEG_TENT_BRACE" ]
},
{
"id": "bio_trip",
@@ -1159,7 +1465,8 @@
"description": "You will likely spend the rest of your days serving as a walking testament to why you don't opt for the Autodoc's 'Cyborg Identity Package'. A remodulator unit jammed down your throat has given you a creepy robot voice.",
"occupied_bodyparts": [ [ "torso", 2 ], [ "mouth", 1 ] ],
"flags": [ "BIONIC_FAULTY" ],
"social_modifiers": { "persuade": -20, "lie": 10, "intimidate": 20 }
"social_modifiers": { "persuade": -20, "lie": 10, "intimidate": 20 },
"canceled_mutations": [ "GROWL", "SNARL", "HISS" ]
},
{
"id": "bio_watch",
@@ -1222,6 +1529,7 @@
"name": { "str": "Soporific Induction" },
"description": "An electrode has been implanted into your brain's ventrolateral preoptic nucleus. It turns on whenever you're trying to fall asleep, creating an artificial but effective sensation of fatigue.",
"occupied_bodyparts": [ [ "head", 1 ] ],
"flags": [ "BIONIC_TOGGLED" ]
"flags": [ "BIONIC_TOGGLED" ],
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "SLEEPY", "add": 30 } ] } ]
}
]
+193 -5
View File
@@ -59,6 +59,18 @@
"pre_terrain": "t_pit",
"post_terrain": "t_pit_glass"
},
{
"type": "construction",
"id": "constr_pit_underground",
"group": "underground_pit",
"category": "DIG",
"qualities": [ [ { "id": "DIG", "level": 2 } ] ],
"required_skills": [ [ "survival", 3 ] ],
"time": "300 m",
"tools": [ [ [ "pickaxe", -1 ], [ "jackhammer", 140 ], [ "elec_jackhammer", 7000 ] ] ],
"pre_terrain": "t_rock_floor",
"post_terrain": "t_pit"
},
{
"type": "construction",
"id": "constr_chop_trunk",
@@ -644,6 +656,31 @@
"pre_terrain": "t_floor",
"post_terrain": "t_bars"
},
{
"type": "construction",
"id": "constr_wall_wattle_post",
"group": "build_woven_wattle_fence",
"//": "Step 1: narrow fence posts for a woven wattle wall",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 0 ], [ "survival", 1 ] ],
"time": "20 m",
"qualities": [ [ { "id": "CUT", "level": 1 } ], [ { "id": "HAMMER", "level": 1 } ], [ { "id": "DIG", "level": 1 } ] ],
"components": [ [ [ "stick", 4 ], [ "pointy_stick", 4 ] ] ],
"pre_flags": "DIGGABLE",
"post_terrain": "t_wattle_fence_posts"
},
{
"type": "construction",
"id": "constr_wall_wattle_woven",
"group": "build_woven_wattle_fence",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 2 ], [ "survival", 2 ] ],
"time": "50 m",
"qualities": [ [ { "id": "CUT", "level": 1 } ], [ { "id": "HAMMER", "level": 1 } ] ],
"components": [ [ [ "stick", 10 ] ] ],
"pre_terrain": "t_wattle_fence_posts",
"post_terrain": "t_wattle_fence"
},
{
"type": "construction",
"id": "constr_wall_wattle_half",
@@ -682,6 +719,25 @@
"pre_terrain": "t_wall_wattle_half",
"post_terrain": "t_wall_wattle"
},
{
"type": "construction",
"id": "constr_wall_wattle_from_fence",
"group": "build_wattle_and_daub_wall",
"//": "Upgrade a woven wattle fence to a full wall",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ], [ "survival", 3 ] ],
"time": "60 m",
"qualities": [ [ { "id": "CUT", "level": 1 } ], [ { "id": "HAMMER", "level": 1 } ] ],
"components": [
[ [ "2x4", 5 ], [ "stick", 10 ] ],
[ [ "material_quicklime", 8 ], [ "material_limestone", 8 ], [ "clay_lump", 8 ] ],
[ [ "pebble", 10 ], [ "material_sand", 10 ] ],
[ [ "straw_pile", 8 ], [ "cattail_stalk", 8 ], [ "dogbane", 8 ], [ "pine_bough", 8 ] ],
[ [ "water", 10 ], [ "water_clean", 10 ] ]
],
"pre_terrain": "t_wattle_fence",
"post_terrain": "t_wall_wattle"
},
{
"type": "construction",
"id": "constr_repair_wall_wattle",
@@ -843,6 +899,30 @@
"pre_terrain": "f_sandbag_half",
"post_terrain": "f_sandbag_wall"
},
{
"type": "construction",
"id": "constr_gravelbag_half",
"group": "build_gravelbag_wall",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "16 m",
"components": [ [ [ "gravelbag", 16 ] ] ],
"pre_note": "Can be deconstructed without tools.",
"pre_special": "check_empty",
"post_terrain": "f_gravelbag_half"
},
{
"type": "construction",
"id": "constr_gravelbag_wall",
"group": "build_gravelbag_wall",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 0 ] ],
"time": "20 m",
"components": [ [ [ "gravelbag", 20 ] ] ],
"pre_note": "Can be deconstructed without tools.",
"pre_terrain": "f_gravelbag_half",
"post_terrain": "f_gravelbag_wall"
},
{
"type": "construction",
"id": "constr_earthbag_half",
@@ -966,11 +1046,11 @@
"type": "construction",
"id": "constr_railroad_rubble",
"group": "make_gravel_floor",
"//": "Covers the floor with pebbles. Used for constructing railroads.",
"//": "Covers the floor with gravel. Used for constructing railroads.",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 1 ] ],
"time": "40 m",
"components": [ [ [ "pebble", 100 ] ] ],
"components": [ [ [ "material_gravel", 500 ] ] ],
"pre_special": "check_empty",
"post_terrain": "t_railroad_rubble"
},
@@ -2593,6 +2673,7 @@
"time": "60 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
"components": [ [ [ "2x4", 6 ] ], [ [ "nail", 20 ] ], [ [ "wood_panel", 3 ] ] ],
"pre_special": "check_nofloor_above",
"pre_terrain": "t_wood_stairs_up_broken",
"post_terrain": "t_wood_stairs_up",
"post_special": "done_wood_stairs"
@@ -2620,6 +2701,7 @@
"time": "360 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_W", "level": 2 } ] ],
"components": [ [ [ "wood_panel", 4 ] ], [ [ "nail", 30 ] ] ],
"pre_special": "check_nofloor_above",
"pre_terrain": "t_wood_stairs_up_half",
"post_terrain": "t_wood_stairs_up",
"post_special": "done_wood_stairs"
@@ -2668,7 +2750,6 @@
"tools": [ [ [ "con_mix", 125 ] ] ],
"qualities": [ [ { "id": "SMOOTH", "level": 1 } ] ],
"components": [ [ [ "concrete", 5 ] ], [ [ "water", 5 ] ] ],
"pre_terrain": "t_pit_shallow",
"pre_special": "check_ramp_low",
"post_terrain": "t_ramp_up_low",
"post_special": "done_ramp_low"
@@ -2685,7 +2766,6 @@
"tools": [ [ [ "con_mix", 125 ] ] ],
"qualities": [ [ { "id": "SMOOTH", "level": 1 } ] ],
"components": [ [ [ "concrete", 5 ] ], [ [ "water", 5 ] ] ],
"pre_terrain": "t_pit_shallow",
"pre_special": "check_ramp_high",
"post_terrain": "t_ramp_up_high",
"post_special": "done_ramp_high"
@@ -4272,8 +4352,116 @@
"required_skills": [ [ "survival", 0 ] ],
"time": "60 m",
"qualities": [ [ { "id": "DIG", "level": 1 } ] ],
"byproducts": [ { "item": "pebble", "count": [ 70, 100 ] } ],
"byproducts": [ { "item": "material_gravel", "count": [ 350, 500 ] } ],
"pre_terrain": "t_railroad_rubble",
"post_terrain": "t_dirt"
},
{
"type": "construction",
"id": "constr_mechanical_winch",
"group": "build_mechanical_winch",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 5 ], [ "mechanics", 6 ] ],
"time": "60 m",
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
"components": [ [ [ "chain", 16 ] ], [ [ "wheel_metal", 2 ] ], [ [ "pipe", 4 ] ] ],
"pre_note": "Must be adjacent to a reinforced concrete wall that is itself adjacent to a metal gate in order to open said gate.",
"pre_special": "check_empty",
"post_terrain": "t_gates_mech_control_lab"
},
{
"type": "construction",
"id": "constr_metal_gate",
"group": "build_metal_gate",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 4 ], [ "mechanics", 4 ] ],
"time": "120 m",
"tools": [ [ [ "oxy_torch", 10 ], [ "welder", 50 ], [ "welder_crude", 75 ], [ "toolset", 75 ] ] ],
"qualities": [ [ { "id": "SAW_M", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
"components": [
[ [ "steel_lump", 8 ], [ "steel_chunk", 24 ], [ "scrap", 72 ] ],
[ [ "sheet_metal", 16 ] ],
[ [ "frame", 4 ], [ "spike", 24 ] ]
],
"pre_note": "Must be between reinforced concrete walls to function, and at least one wall must have an adjacent mechanical winch.",
"pre_special": "check_empty",
"post_terrain": "t_door_metal_locked"
},
{
"type": "construction",
"id": "constr_exercise_machine",
"group": "build_exercise_machine",
"category": "FURN",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "180 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SCREW", "level": 1 } ] ],
"components": [ [ [ "pipe", 1 ] ], [ [ "steel_chunk", 1 ] ], [ [ "scrap", 6 ] ], [ [ "lead", 2000 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_exercise"
},
{
"type": "construction",
"id": "constr_ergometer_mechanical",
"group": "build_ergometer_mechanical",
"category": "FURN",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "240 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SCREW", "level": 1 } ], [ { "id": "WRENCH", "level": 1 } ] ],
"components": [
[ [ "foot_crank", 1 ] ],
[ [ "plastic_chunk", 10 ] ],
[ [ "scrap", 4 ] ],
[ [ "chain", 1 ] ],
[ [ "pipe", 5 ] ],
[ [ "saddle", 1 ] ],
[ [ "wheel_small", 1 ] ],
[ [ "nail", 8 ] ]
],
"pre_special": "check_empty",
"post_terrain": "f_ergometer_mechanical"
},
{
"type": "construction",
"id": "constr_treadmill_mechanical",
"group": "build_treadmill_mechanical",
"category": "FURN",
"required_skills": [ [ "fabrication", 4 ] ],
"time": "240 m",
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SCREW", "level": 1 } ], [ { "id": "WRENCH", "level": 1 } ] ],
"components": [ [ [ "plastic_chunk", 14 ] ], [ [ "scrap", 10 ] ], [ [ "pipe", 6 ] ], [ [ "nail", 8 ] ] ],
"pre_special": "check_empty",
"post_terrain": "f_treadmill_mechanical"
},
{
"type": "construction",
"id": "constr_glass_wall",
"group": "build_glass_wall",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "60 m",
"qualities": [ [ { "id": "HAMMER_SOFT", "level": 1 } ] ],
"components": [
[ [ "frame_wood", 1 ] ],
[ [ "chunk_rubber", 16 ] ],
[ [ "glass_sheet", 2 ] ],
[ [ "superglue", 2 ], [ "duct_tape", 10 ] ]
],
"pre_note": "Must be supported on at least two sides.",
"pre_special": "check_support",
"post_terrain": "t_wall_glass"
},
{
"type": "construction",
"id": "constr_glass_wall_door",
"group": "build_glass_door",
"category": "CONSTRUCT",
"required_skills": [ [ "fabrication", 3 ] ],
"time": "60 m",
"qualities": [ [ { "id": "HAMMER_SOFT", "level": 1 } ] ],
"components": [ [ [ "frame_wood", 1 ] ], [ [ "chunk_rubber", 16 ] ], [ [ "glass_sheet", 2 ] ], [ [ "rag", 8 ] ] ],
"pre_note": "Must be supported on at least two sides.",
"pre_special": "check_support",
"post_terrain": "t_door_glass_c"
}
]
+50
View File
@@ -249,6 +249,11 @@
"id": "build_dumpster",
"name": "Build Dumpster"
},
{
"type": "construction_group",
"id": "build_gravelbag_wall",
"name": "Build Gravelbag Wall"
},
{
"type": "construction_group",
"id": "build_earthbag_wall",
@@ -259,6 +264,11 @@
"id": "build_entertainment_center",
"name": "Build Entertainment Center"
},
{
"type": "construction_group",
"id": "build_exercise_machine",
"name": "Build Exercise Machine"
},
{
"type": "construction_group",
"id": "build_fence",
@@ -284,6 +294,21 @@
"id": "build_fire_ring",
"name": "Build Fire Ring"
},
{
"type": "construction_group",
"id": "build_treadmill_mechanical",
"name": "Build Gravity Treadmill"
},
{
"type": "construction_group",
"id": "build_glass_door",
"name": "Build Glass Door"
},
{
"type": "construction_group",
"id": "build_glass_wall",
"name": "Build Glass Wall"
},
{
"type": "construction_group",
"id": "build_high_end_of_a_concrete_ramp",
@@ -349,6 +374,16 @@
"id": "build_makeshift_door",
"name": "Build Makeshift Door"
},
{
"type": "construction_group",
"id": "build_mechanical_winch",
"name": "Build Mechanical Winch"
},
{
"type": "construction_group",
"id": "build_ergometer_mechanical",
"name": "Build Mechanical Ergometer"
},
{
"type": "construction_group",
"id": "build_metal_bars",
@@ -364,6 +399,11 @@
"id": "build_metal_door",
"name": "Build Metal Door"
},
{
"type": "construction_group",
"id": "build_metal_gate",
"name": "Build Metal Gate"
},
{
"type": "construction_group",
"id": "build_metal_grate_over_a_window",
@@ -764,6 +804,11 @@
"id": "build_workbench",
"name": "Build Workbench"
},
{
"type": "construction_group",
"id": "build_woven_wattle_fence",
"name": "Build Woven Wattle Fence"
},
{
"type": "construction_group",
"id": "carpet_floor_green",
@@ -819,6 +864,11 @@
"id": "dig_a_deep_pit",
"name": "Dig a Deep Pit"
},
{
"type": "construction_group",
"id": "underground_pit",
"name": "Dig a Deep Pit Underground"
},
{
"type": "construction_group",
"id": "dig_a_shallow_pit",
+91
View File
@@ -0,0 +1,91 @@
[
{
"type": "effect_on_condition",
"id": "thunder",
"recurrence_min": 1,
"recurrence_max": 1,
"condition": {
"and": [
{ "or": [ { "is_weather": "thunder" }, { "is_weather": "lightning" } ] },
{ "one_in_chance": 50 },
{ "u_is_height": 0 }
]
},
"deactivate_condition": { "not": { "or": [ { "is_weather": "thunder" }, { "is_weather": "lightning" } ] } },
"effect": [
{ "message": "You hear a distant rumble of thunder.", "sound": true },
{ "sound_effect": "thunder_far", "outdoor_event": true, "id": "environment" }
]
},
{
"type": "effect_on_condition",
"id": "lightning",
"recurrence_min": 1,
"recurrence_max": 1,
"condition": { "and": [ { "is_weather": "lightning" }, { "one_in_chance": 600 }, { "u_is_height": 0 } ] },
"deactivate_condition": { "not": { "is_weather": "lightning" } },
"effect": [
{ "message": "A flash of lightning illuminates your surroundings!" },
{ "sound_effect": "thunder_near", "id": "environment" },
"lightning"
]
},
{
"type": "effect_on_condition",
"id": "acid_drizzle",
"recurrence_min": 1,
"recurrence_max": 1,
"condition": { "and": [ { "is_weather": "acid_drizzle" }, "u_is_outside", { "not": { "u_has_pain": 30 } } ] },
"deactivate_condition": { "not": { "is_weather": "acid_drizzle" } },
"effect": [ { "message": "The acid rain stings, but is mostly harmless for now…" }, { "u_mod_pain": 1 } ]
},
{
"type": "effect_on_condition",
"id": "acid_rain",
"recurrence_min": 1,
"recurrence_max": 1,
"condition": {
"and": [
{ "is_weather": "acid_rain" },
"u_is_outside",
{ "not": { "u_has_pain": 100 } },
{
"not": { "or": [ { "u_has_wielded_with_flag": "RAIN_PROTECT" }, { "u_has_worn_with_flag": "RAINPROOF" } ] }
}
]
},
"deactivate_condition": { "not": { "is_weather": "acid_rain" } },
"effect": [ { "message": "The acid rain burns!" }, { "u_mod_pain": 3 } ]
},
{
"type": "effect_on_condition",
"id": "snow",
"recurrence_min": 6,
"recurrence_max": 6,
"condition": { "and": [ { "is_weather": "snowing" }, "u_is_outside" ] },
"deactivate_condition": { "not": { "is_weather": "snowing" } },
"effect": [ { "u_add_wet": 10 } ]
},
{
"type": "effect_on_condition",
"id": "snowstorm",
"recurrence_min": 6,
"recurrence_max": 6,
"condition": { "and": [ { "is_weather": "snowstorm" }, "u_is_outside" ] },
"deactivate_condition": { "not": { "is_weather": "snowstorm" } },
"effect": [ { "u_add_wet": 40 } ]
},
{
"type": "effect_on_condition",
"id": "bio_drain",
"recurrence_min": "30 minutes",
"recurrence_max": "1 hours 30 minutes",
"condition": { "and": [ { "u_has_bionics": "bio_drain" }, { "u_has_power": "24 kJ" } ] },
"deactivate_condition": { "not": { "u_has_bionics": "bio_drain" } },
"effect": [
{ "message": "Your batteries discharge slightly.", "type": "bad" },
{ "sound_effect": "elec_crackle_low", "id": "bionics", "volume": 100 },
{ "u_add_power": "-25kJ" }
]
}
]
+2 -2
View File
@@ -747,7 +747,7 @@
"id": "invisibility",
"name": [ "Invisible" ],
"desc": [ "You are invisible." ],
"flags": [ "EFFECT_INVISIBLE" ]
"flags": [ "INVISIBLE" ]
},
{
"type": "effect_type",
@@ -2433,7 +2433,7 @@
"type": "effect_type",
"id": "ignore_fall_damage",
"//": "Used for translocation via teleporter_list as a way to avoid fall damage by teleporting Z levels",
"flags": [ "EFFECT_FEATHER_FALL" ]
"flags": [ "FEATHER_FALL" ]
},
{
"type": "effect_type",
+8
View File
@@ -72,6 +72,14 @@
"intensity": 3,
"qty": 18
},
{
"id": "emit_tear_gas_blast",
"type": "emit",
"//": "Large blast of tear gas (example: tear gas canister)",
"field": "fd_tear_gas",
"intensity": 3,
"qty": 200
},
{
"id": "emit_toxic_blast",
"type": "emit",
-15
View File
@@ -1,15 +0,0 @@
[
{
"type": "enchantment",
"id": "ENCH_INVISIBILITY",
"condition": "ACTIVE",
"ench_effects": [ { "effect": "invisibility", "intensity": 1 } ]
},
{
"type": "enchantment",
"id": "ENCH_SHADOW_CLOUD",
"condition": "ACTIVE",
"ench_effects": [ { "effect": "invisibility", "intensity": 1 } ],
"emitter": "emit_shadow_field"
}
]
+30 -60
View File
@@ -10,11 +10,6 @@
"type": "json_flag",
"context": [ ]
},
{
"id": "EFFECT_INVISIBLE",
"context": [ ],
"type": "json_flag"
},
{
"id": "ALARMCLOCK",
"type": "json_flag",
@@ -81,11 +76,6 @@
"//": "Blinds the wearer while worn, and provides nominal protection vs flashbang flashes.",
"info": "This gear <bad>prevents</bad> you from <info>seeing</info> anything."
},
{
"id": "EFFECT_NIGHT_VISION",
"context": [ ],
"type": "json_flag"
},
{
"id": "BLOCK_WHILE_WORN",
"type": "json_flag",
@@ -152,6 +142,24 @@
"type": "json_flag",
"context": [ "GENERIC" ]
},
{
"id": "SCIENCE_CARD",
"type": "json_flag",
"context": [ "GENERIC" ],
"info": "You could probably use this to get into a secure science facility."
},
{
"id": "MILITARY_CARD",
"type": "json_flag",
"context": [ "GENERIC" ],
"info": "You could probably use this to get into a secure military facility."
},
{
"id": "INDUSTRIAL_CARD",
"type": "json_flag",
"context": [ "GENERIC" ],
"info": "You could probably use this to get into a secure industrial facility."
},
{
"id": "SKINNED",
"type": "json_flag",
@@ -250,6 +258,12 @@
"context": [ "ARMOR", "TOOL_ARMOR" ],
"info": "You can wear <info>only one</info>."
},
{
"id": "ONE_PER_LAYER",
"type": "json_flag",
"context": [ "ARMOR", "TOOL_ARMOR" ],
"info": "<info>Only one</info> item can be worn on this clothing layer."
},
{
"id": "FANCY",
"type": "json_flag",
@@ -1012,56 +1026,6 @@
"context": [ "mutation" ],
"//": "This mutation does not count toward thresholds at all."
},
{
"id": "EFFECT_FEATHER_FALL",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_BIO_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_BASH_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_CUT_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_BULLET_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_ACID_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_STAB_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_HEAT_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_COLD_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "EFFECT_ELECTRIC_IMMUNE",
"context": [ ],
"type": "json_flag"
},
{
"id": "HIDDEN_HALLU",
"type": "json_flag",
@@ -1880,6 +1844,12 @@
"type": "json_flag",
"context": [ "AMMO", "CONSUMABLE" ]
},
{
"id": "ACTIVATE_ON_PLACE",
"type": "json_flag",
"context": [ ],
"info": "This item will be activated when it is placed in mapgen."
},
{
"id": "ACT_IN_FIRE",
"type": "json_flag",
+12
View File
@@ -0,0 +1,12 @@
[
{
"type": "json_flag",
"id": "SONAR_DETECTABLE",
"context": [ ]
},
{
"type": "json_flag",
"id": "CONVECTS_TEMPERATURE",
"context": [ ]
}
]
@@ -389,7 +389,8 @@
{ "item": "cable", "charges": [ 1, 3 ] },
{ "item": "pilot_light", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_oven"
},
{
"type": "furniture",
@@ -546,7 +547,7 @@
"id": "f_satellite",
"name": "large satellite dish",
"looks_like": "t_radio_tower",
"description": "A large concave metal panel with simple electronics used to receive signals from sattelites. While the hundreds of expensive machines orbitting the planet will likely continue to function indefinately, their various purposes have all been lost.",
"description": "A large, concave metal panel with simple electronics used to receive signals from satellites. While the hundreds of expensive machines orbiting the planet will likely continue to function indefinitely, their various purposes have all been lost.",
"symbol": ")",
"color": "white_green",
"move_cost_mod": -1,
@@ -20,6 +20,60 @@
"items": [ { "item": "2x4", "count": [ 2, 6 ] }, { "item": "nail", "charges": [ 4, 8 ] }, { "item": "splinter", "count": 1 } ]
}
},
{
"type": "furniture",
"id": "f_gravelbag_half",
"name": "gravelbag barricade",
"symbol": "#",
"looks_like": "f_sandbag_half",
"bgcolor": "brown",
"description": "A low wall made of stacked gravelbags, uncommonly used to catch bullets and block flooding.",
"move_cost_mod": -1,
"coverage": 60,
"required_str": -1,
"flags": [
"CLIMB_SIMPLE",
"TRANSPARENT",
"MOUNTABLE",
"BLOCKSDOOR",
"SHORT",
"EASY_DECONSTRUCT",
"THIN_OBSTACLE",
"CLIMBABLE",
"PERMEABLE"
],
"examine_action": "chainfence",
"deconstruct": { "items": [ { "item": "gravelbag", "count": 16 } ] },
"bash": {
"str_min": 12,
"str_max": 60,
"sound": "rrrip!",
"sound_fail": "whump.",
"items": [ { "item": "bag_canvas", "count": [ 10, 16 ] }, { "item": "material_gravel", "charges": [ 40, 48 ] } ]
}
},
{
"type": "furniture",
"id": "f_gravelbag_wall",
"name": "gravelbag wall",
"symbol": "#",
"looks_like": "f_sandbag_wall",
"bgcolor": "brown",
"move_cost_mod": -1,
"coverage": 95,
"description": "A wall of stacked gravelbags, a bit taller than an average adult.",
"required_str": -1,
"flags": [ "NOITEM", "BLOCKSDOOR", "EASY_DECONSTRUCT", "MINEABLE", "BLOCK_WIND" ],
"deconstruct": { "items": [ { "item": "gravelbag", "count": 20 } ], "furn_set": "f_gravelbag_half" },
"bash": {
"str_min": 24,
"str_max": 80,
"sound": "rrrip!",
"sound_fail": "whump.",
"furn_set": "f_gravelbag_half",
"items": [ { "item": "bag_canvas", "count": [ 15, 20 ] }, { "item": "material_gravel", "charges": [ 50, 60 ] } ]
}
},
{
"type": "furniture",
"id": "f_earthbag_half",
@@ -186,6 +186,7 @@
{ "item": "plastic_chunk", "count": [ 0, 2 ] },
{ "item": "cu_pipe", "count": [ 1, 3 ] }
]
}
},
"crafting_pseudo_item": "fake_water_purifier"
}
]
@@ -123,7 +123,7 @@
"type": "furniture",
"id": "f_arcade_machine",
"name": "arcade machine",
"description": "A bulky upright arcade cabinet, brightly painted and slightyly worn with age. Useless for its intended purpose, it's bound to have valuable parts.",
"description": "A bulky upright arcade cabinet, brightly painted and slightly worn with age. Useless for its intended purpose, it's bound to have valuable parts.",
"symbol": "6",
"color": "red",
"move_cost_mod": -1,
@@ -211,7 +211,7 @@
"type": "furniture",
"id": "f_ergometer",
"name": "ergometer",
"description": "An exercise machine with a set of handles and plates meant to emulate rowing a boat. Without power it can't be operated, but it might have useful parts to be scavanged.",
"description": "An exercise machine with a set of handles and plates meant to emulate rowing a boat. Without power it can't be operated, but it might have useful parts to be scavenged.",
"symbol": "5",
"color": "dark_gray",
"move_cost_mod": 2,
@@ -123,7 +123,7 @@
"type": "furniture",
"id": "f_roof_turbine_vent",
"name": "roof turbine vent",
"description": "A rotary wind turbine that will catch the wind and pull out air from inside. It is most commonly used for improving air cicrulation, particularly in poorly-ventilated areas like attics.",
"description": "A rotary wind turbine that will catch the wind and pull out air from inside. It is most commonly used for improving air circulation, particularly in poorly-ventilated areas like attics.",
"symbol": "&",
"color": "light_gray",
"move_cost_mod": 2,
@@ -1128,7 +1128,7 @@
"type": "furniture",
"id": "f_foot_locker",
"name": "metal foot locker",
"description": "An metal stoarge box, capable of holding any number of things. The lid has has a small lock.",
"description": "A metal storage box, capable of holding any number of things. The lid has a small lock.",
"symbol": "O",
"color": "white",
"move_cost_mod": -1,
@@ -497,7 +497,8 @@
{ "item": "element", "count": [ 10, 25 ] },
{ "item": "scrap", "count": [ 12, 16 ] }
]
}
},
"crafting_pseudo_item": "fake_arc_furnace"
},
{
"type": "furniture",
@@ -534,7 +535,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_drill_press"
},
{
"type": "furniture",
@@ -572,7 +574,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_tablesaw"
},
{
"type": "furniture",
@@ -610,7 +613,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_mitresaw"
},
{
"type": "furniture",
@@ -647,7 +651,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_bandsaw"
},
{
"type": "furniture",
@@ -684,7 +689,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_router_table"
},
{
"type": "furniture",
@@ -721,7 +727,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_planer"
},
{
"type": "furniture",
@@ -758,7 +765,8 @@
{ "item": "plastic_chunk", "count": [ 4, 14 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_jointer"
},
{
"type": "furniture",
@@ -795,7 +803,8 @@
{ "item": "chain", "count": [ 0, 1 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_hydraulic_press"
},
{
"type": "furniture",
@@ -829,7 +838,8 @@
{ "item": "pipe", "count": [ 0, 4 ] },
{ "item": "motor_small", "count": 1 }
]
}
},
"crafting_pseudo_item": "fake_power_lathe"
},
{
"type": "furniture",
@@ -872,7 +882,8 @@
{ "item": "e_scrap", "count": [ 5, 10 ] },
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
]
}
},
"crafting_pseudo_item": "fake_air_compressor"
},
{
"type": "furniture",
@@ -578,7 +578,7 @@
"type": "terrain",
"id": "t_door_white_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_b",
"color": "brown",
@@ -614,7 +614,7 @@
"type": "terrain",
"id": "t_door_gray_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_b",
"color": "brown",
@@ -650,7 +650,7 @@
"type": "terrain",
"id": "t_door_red_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_b",
"color": "brown",
@@ -686,7 +686,7 @@
"type": "terrain",
"id": "t_door_green_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_b",
"color": "brown",
@@ -722,7 +722,7 @@
"type": "terrain",
"id": "t_door_white_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_door_frame",
"color": "brown",
@@ -747,7 +747,7 @@
"type": "terrain",
"id": "t_door_gray_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_door_frame",
"color": "brown",
@@ -772,7 +772,7 @@
"type": "terrain",
"id": "t_door_red_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_door_frame",
"color": "brown",
@@ -797,7 +797,7 @@
"type": "terrain",
"id": "t_door_green_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_door_frame",
"color": "brown",
@@ -1053,7 +1053,7 @@
"type": "terrain",
"id": "t_door_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_c",
"color": "brown",
@@ -1089,7 +1089,7 @@
"type": "terrain",
"id": "t_door_lab_b",
"name": "damaged wood door",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few two by fours.",
"description": "A trashed wooden door, that is more of an obstacle than a door. Also, you can see right through it. It could be boarded up with a few planks.",
"symbol": "&",
"looks_like": "t_door_b",
"color": "brown",
@@ -1274,7 +1274,7 @@
"type": "terrain",
"id": "t_rdoor_c",
"name": "closed reinforced wood door",
"description": "Just like other wooden doors, except this one has layers of nailed in two by fours and additional hinge for reinforcement. It might be barricaded, but still susceptible to fire.",
"description": "Just like other wooden doors, except this one has layers of nailed in planks and additional hinge for reinforcement. It might be barricaded, but still susceptible to fire.",
"symbol": "+",
"looks_like": "t_door_c",
"color": "red",
@@ -1347,7 +1347,7 @@
"type": "terrain",
"id": "t_rdoor_o",
"name": "open reinforced wood door",
"description": "Just like other wooden doors, except this one has layers of nailed in two by fours for reinforcement. It might be fortified, but still susceptible to fire. It's open so it's not stopping anything right now.",
"description": "Just like other wooden doors, except this one has layers of nailed in planks for reinforcement. It might be fortified, but still susceptible to fire. It's open so it's not stopping anything right now.",
"symbol": "'",
"looks_like": "t_door_o",
"color": "red",
@@ -1574,7 +1574,7 @@
"type": "terrain",
"id": "t_door_makeshift_c",
"name": "closed makeshift door",
"description": "A makeshift screen consisting of two by fours bound together with vertical rope hanging from the top of the doorway. Could be easily taken down and re-purposed.",
"description": "A makeshift screen consisting of planks bound together with vertical rope hanging from the top of the doorway. Could be easily taken down and re-purposed.",
"symbol": "+",
"looks_like": "t_door_c",
"color": "brown",
@@ -1636,7 +1636,7 @@
"type": "terrain",
"id": "t_door_makeshift_o",
"name": "open makeshift door",
"description": "A makeshift screen consisting of two by fours bound together with rope hanging from the top of the doorway. Could be easily taken down and re-purposed. The planks have been rolled up and attached to the top of the doorway, allowing free movement through.",
"description": "A makeshift screen consisting of planks bound together with rope hanging from the top of the doorway. Could be easily taken down and re-purposed. The planks have been rolled up and attached to the top of the doorway, allowing free movement through.",
"symbol": "'",
"looks_like": "t_door_o",
"color": "brown",
@@ -1665,7 +1665,7 @@
"type": "terrain",
"id": "t_door_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_floor",
"color": "brown",
@@ -1690,7 +1690,7 @@
"type": "terrain",
"id": "t_door_lab_frame",
"name": "empty door frame",
"description": "An empty door frame made from two by fours and nails. A variety of doors could be constructed here.",
"description": "An empty door frame made from planks and nails. A variety of doors could be constructed here.",
"symbol": ".",
"looks_like": "t_door_frame",
"color": "brown",
@@ -1859,7 +1859,7 @@
"type": "terrain",
"id": "t_rdoor_boarded",
"name": "boarded up reinforced door",
"description": "An additionally reinforced door of layered two by fours that has been boarded up with more wood to prevent it from opening. Still susceptible to fire.",
"description": "An additionally reinforced door of layered planks that has been boarded up with more wood to prevent it from opening. Still susceptible to fire.",
"symbol": "#",
"looks_like": "t_door_boarded",
"color": "brown",
@@ -1887,7 +1887,7 @@
"type": "terrain",
"id": "t_rdoor_boarded_damaged",
"name": "boarded up damaged reinforced door",
"description": "A battered and torn reinforced door with planks bursting from the joints. The boarded up two by fours are fragmented and in pieces, this doesn't look like an easy repair.",
"description": "A battered and torn reinforced door with planks bursting from the joints. The boarded up planks are fragmented and in pieces, this doesn't look like an easy repair.",
"symbol": "#",
"looks_like": "t_door_b",
"color": "brown",
@@ -128,6 +128,82 @@
]
}
},
{
"type": "terrain",
"id": "t_retractable_gate_l",
"name": "locked retractable gate",
"description": "A retractable security gate. The latch on this one is locked. With the right tools, you could cut the metal fence or disable the lock.",
"symbol": "+",
"color": "cyan",
"move_cost": 0,
"flags": [ "TRANSPARENT", "PERMEABLE", "LOCKED", "PICKABLE", "THIN_OBSTACLE" ],
"connects_to": "WALL",
"examine_action": "locked_object_pickable",
"bash": {
"str_min": 17,
"str_max": 175,
"str_min_blocked": 15,
"str_max_blocked": 175,
"sound": "metal screeching!",
"sound_fail": "clang!",
"ter_set": "t_null",
"items": [
{ "item": "wire", "count": [ 8, 20 ] },
{ "item": "chain", "count": [ 1, 2 ] },
{ "item": "scrap", "count": [ 0, 12 ] }
]
}
},
{
"type": "terrain",
"id": "t_retractable_gate_c",
"name": "closed retractable gate",
"description": "A retractable security gate with a latch system to stay closed.",
"symbol": "+",
"color": "cyan",
"move_cost": 0,
"flags": [ "TRANSPARENT", "DOOR", "PERMEABLE", "THIN_OBSTACLE" ],
"connects_to": "WALL",
"open": "t_retractable_gate_o",
"bash": {
"str_min": 17,
"str_max": 175,
"str_min_blocked": 20,
"str_max_blocked": 100,
"sound": "metal screeching!",
"sound_fail": "clang!",
"ter_set": "t_null",
"items": [
{ "item": "wire", "count": [ 6, 15 ] },
{ "item": "chain", "count": [ 1, 2 ] },
{ "item": "scrap", "count": [ 0, 12 ] }
]
}
},
{
"type": "terrain",
"id": "t_retractable_gate_o",
"name": "open retractable gate",
"description": "A retractable security gate with a latch system to stay closed. The latch is undone, so the gate has retracted up.",
"symbol": ".",
"color": "cyan",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
"connects_to": "WALL",
"close": "t_retractable_gate_c",
"bash": {
"str_min": 5,
"str_max": 150,
"sound": "metal screeching!",
"sound_fail": "clang!",
"ter_set": "t_null",
"items": [
{ "item": "wire", "count": [ 6, 15 ] },
{ "item": "pipe", "count": [ 6, 15 ] },
{ "item": "scrap", "count": [ 0, 12 ] }
]
}
},
{
"type": "terrain",
"id": "t_fencegate_c",
@@ -363,6 +439,60 @@
"items": [ { "item": "2x4", "count": [ 1, 3 ] }, { "item": "nail", "charges": [ 2, 6 ] }, { "item": "splinter", "count": 1 } ]
}
},
{
"type": "terrain",
"id": "t_wattle_fence",
"alias": [ "t_wattle_fence_h", "t_wattle_fence_v" ],
"name": "woven wattle fence",
"description": "A flimsy barrier made of woven sticks. Suitable for small animals.",
"symbol": "LINE_OXOX",
"color": "brown",
"looks_like": "t_fence",
"move_cost": 0,
"examine_action": "chainfence",
"flags": [
"TRANSPARENT",
"DIGGABLE",
"FLAMMABLE_ASH",
"THIN_OBSTACLE",
"SHORT",
"NOITEM",
"PERMEABLE",
"UNSTABLE",
"CLIMBABLE",
"AUTO_WALL_SYMBOL",
"BURROWABLE"
],
"connects_to": "WOODFENCE",
"deconstruct": { "ter_set": "t_fence_post", "items": [ { "item": "splinter", "count": 20 } ] },
"bash": {
"str_min": 4,
"str_max": 20,
"sound": "crack.",
"sound_fail": "wham.",
"ter_set": "t_null",
"items": [ { "item": "pointy_stick", "count": [ 0, 2 ] }, { "item": "splinter", "count": [ 5, 15 ] } ]
}
},
{
"type": "terrain",
"id": "t_wattle_fence_posts",
"name": "narrow fence posts",
"description": "A set of narrow wooden posts for a woven wattle fence.",
"symbol": "#",
"color": "brown",
"looks_like": "t_fence_post",
"move_cost": 2,
"flags": [ "TRANSPARENT", "THIN_OBSTACLE", "SHORT" ],
"bash": {
"str_min": 4,
"str_max": 20,
"sound": "crack.",
"sound_fail": "wham.",
"ter_set": "t_null",
"items": [ { "item": "stick", "count": [ 1, 4 ] } ]
}
},
{
"type": "terrain",
"id": "t_chainfence",
@@ -442,7 +572,6 @@
"looks_like": "t_chickenwire_fence",
"move_cost": 0,
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "AUTO_WALL_SYMBOL", "BURROWABLE", "AUTO_WALL_SYMBOL" ],
"examine_action": "chainfence",
"deconstruct": {
"ter_set": "t_floor",
"items": [ { "item": "screen_mesh", "count": 1 }, { "item": "nail", "charges": 10 }, { "item": "2x4", "charges": 4 } ]
@@ -650,6 +779,21 @@
{ "item": "nail", "charges": 12 },
{ "item": "hinge", "count": [ 1, 2 ] }
]
},
"bash": {
"str_min": 4,
"str_max": 20,
"str_min_blocked": 6,
"str_max_blocked": 30,
"sound": "crack.",
"sound_fail": "wham.",
"ter_set": "t_null",
"items": [
{ "item": "2x4", "count": [ 1, 4 ] },
{ "item": "nail", "charges": [ 2, 8 ] },
{ "item": "splinter", "count": [ 1, 2 ] },
{ "item": "hinge", "count": [ 1, 2 ] }
]
}
},
{
@@ -778,17 +922,14 @@
"examine_action": "chainfence",
"flags": [ "NOITEM", "CLIMBABLE", "PERMEABLE", "AUTO_WALL_SYMBOL", "FLAMMABLE_ASH", "THIN_OBSTACLE", "BURROWABLE" ],
"connects_to": "WOODFENCE",
"deconstruct": {
"ter_set": "t_fence_post",
"items": [ { "item": "2x4", "count": 10 }, { "item": "nail", "charges": 20 }, { "item": "hinge", "count": [ 1, 2 ] } ]
},
"deconstruct": { "ter_set": "t_fence_post", "items": [ { "item": "2x4", "count": 8 }, { "item": "nail", "charges": 20 } ] },
"bash": {
"str_min": 5,
"str_max": 12,
"sound": "whump!",
"sound_fail": "whack!",
"ter_set": "t_fence_post",
"items": [ { "item": "2x4", "count": [ 4, 10 ] } ]
"items": [ { "item": "2x4", "count": [ 4, 8 ] } ]
}
},
{
@@ -838,7 +979,7 @@
"color": "brown",
"looks_like": "t_fencegate_o",
"move_cost": 1,
"flags": [ "FLAMMABLE_ASH", "FLAT", "ROAD", "BURROWABLE" ],
"flags": [ "FLAMMABLE_ASH", "FLAT", "ROAD", "BURROWABLE", "TRANSPARENT" ],
"connects_to": "WOODFENCE",
"close": "t_privacy_fencegate_c",
"deconstruct": {
@@ -849,6 +990,21 @@
{ "item": "nail", "charges": 20 },
{ "item": "hinge", "count": [ 1, 2 ] }
]
},
"bash": {
"str_min": 4,
"str_max": 20,
"str_min_blocked": 6,
"str_max_blocked": 30,
"sound": "crack.",
"sound_fail": "wham.",
"ter_set": "t_null",
"items": [
{ "item": "2x4", "count": [ 4, 8 ] },
{ "item": "nail", "charges": [ 10, 20 ] },
{ "item": "splinter", "count": [ 4, 6 ] },
{ "item": "hinge", "count": [ 1, 2 ] }
]
}
},
{
@@ -46,6 +46,18 @@
]
}
},
{
"type": "terrain",
"id": "t_thconc_r",
"name": "concrete floor",
"description": "A bare and cold concrete floor with a streak of red paint, could still insulate from the outdoors but roof collapse is possible if supporting walls are broken down.",
"symbol": ".",
"color": "red",
"looks_like": "t_floor_red",
"move_cost": 2,
"roof": "t_flat_roof",
"copy-from": "t_thconc_floor"
},
{
"type": "terrain",
"id": "t_thconc_floor_olight",
@@ -865,7 +877,82 @@
"sound_fail": "slap!",
"sound_vol": 8,
"sound_fail_vol": 4,
"ter_set": "t_dirt"
"ter_set": "t_null"
}
},
{
"type": "terrain",
"id": "t_floor_paper_noroof",
"name": "paper floor",
"description": "Floor made of pulpy mass, covered in sticky wasp saliva.",
"symbol": ".",
"looks_like": "t_dirt",
"color": "white",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "INDOORS", "FLAT", "ROAD" ],
"bash": {
"str_min": 1,
"str_max": 6,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 8,
"sound_fail_vol": 4,
"ter_set": "t_open_air"
}
},
{
"type": "terrain",
"id": "t_floor_paper_hard",
"name": "hard paper floor",
"description": "Hardened cardboard floor made of chewed up trees and resin mixed with wasp saliva.",
"symbol": ".",
"looks_like": "t_floor_paper",
"color": "light_gray",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "INDOORS", "FLAT" ],
"bash": {
"str_min": 15,
"str_max": 150,
"str_min_supported": 30,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 10,
"sound_fail_vol": 6,
"ter_set": "t_open_air"
}
},
{
"type": "terrain",
"id": "t_floor_brood_wasp",
"name": "paper brood cap",
"description": "A thin paper floor, protecting the pupatig wasp larva until it's ready to emerge.",
"looks_like": "t_floor_paper",
"symbol": ".",
"color": "white",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "INDOORS", "NO_FLOOR" ],
"bash": {
"str_min": 1,
"str_max": 6,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 8,
"sound_fail_vol": 4,
"ter_set": "t_open_air"
}
},
{
"type": "terrain",
"id": "t_floor_brood_fake",
"name": "open air",
"description": "This is open air.",
"//": "Actually, this is a thin membrane of bullshit to keep wasp eggs levitating.",
"symbol": " ",
"looks_like": "t_open_air",
"color": "i_cyan",
"move_cost": 2,
"trap": "tr_ledge",
"flags": [ "TRANSPARENT" ],
"examine_action": "ledge"
}
]
@@ -377,7 +377,7 @@
"id": "t_lake_bed_concrete_yellow",
"//": "for eventual use with water z levels. Currently non-functional. Cement on the lake floor.",
"name": "submerged concrete",
"description": "You are standing at the bottom of a body of fresh water on a pad of concrete with yelllow paint. With a watertight container, you could gather fresh water from here. Not safe to drink as is.",
"description": "You are standing at the bottom of a body of fresh water on a pad of yellow-painted concrete. With a watertight container, you could gather fresh water from here. Not safe to drink as is.",
"symbol": "#",
"looks_like": "t_pavement_y",
"color": "yellow",
@@ -397,7 +397,7 @@
"type": "terrain",
"id": "t_water_hot",
"name": "hot spring water",
"description": "Scalding hot water, not particulary safe for swimming. With a watertight container, you could gather fresh water from here. Not safe to drink as is.",
"description": "Scalding hot water, not particularly safe for swimming. With a watertight container, you could gather fresh water from here. Not safe to drink as is.",
"symbol": "~",
"color": "light_blue",
"move_cost": 5,
@@ -3,14 +3,13 @@
"type": "terrain",
"id": "t_recycler",
"name": "metal compactor",
"description": "A hydraulic compactor that can accept items made of various metals, and press them into basic shapes, ready for further crafting.",
"description": "A hydraulic machine for squeezing scrap into more compact chunks. Useless now that there's no power.",
"looks_like": "f_machinery_heavy",
"symbol": "&",
"color": "green",
"move_cost": 0,
"max_volume": "2000 L",
"flags": [ "TRANSPARENT", "REDUCE_SCENT", "PERMEABLE" ],
"examine_action": "recycle_compactor",
"bash": {
"str_min": 20,
"str_max": 150,
@@ -204,6 +203,54 @@
]
}
},
{
"type": "terrain",
"id": "t_avgas_pump",
"name": "avgas pump",
"looks_like": "t_gas_pump",
"description": "This pump is filled with avgas. If this gas dispenser doesn't give up the goods for free, you may have to pay at a nearby terminal.",
"symbol": "&",
"color": "red",
"move_cost": 0,
"coverage": 65,
"flags": [ "TRANSPARENT", "FLAMMABLE", "NOITEM", "SEALED", "CONTAINER", "REDUCE_SCENT", "PERMEABLE", "LIQUIDCONT" ],
"examine_action": "gaspump",
"bash": {
"str_min": 8,
"str_max": 150,
"sound": "crunch!",
"sound_fail": "clang!",
"ter_set": "t_avgas_pump_smashed",
"items": [ { "item": "scrap", "count": 1 } ]
}
},
{
"type": "terrain",
"id": "t_avgas_pump_smashed",
"name": "smashed avgas pump",
"description": "You're not getting any avgas out of this pump any time soon. Some barbarian decided to take their frustration out on it.",
"symbol": "&",
"color": "light_green",
"looks_like": "t_gas_pump_smashed",
"move_cost": 0,
"coverage": 55,
"flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "PERMEABLE" ],
"bash": {
"str_min": 20,
"str_max": 150,
"explosive": 40,
"sound": "metal screeching!",
"sound_fail": "clang!",
"ter_set": "t_pavement",
"items": [
{ "item": "steel_lump", "prob": 50 },
{ "item": "steel_chunk", "count": [ 1, 4 ] },
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
{ "item": "pipe", "count": [ 4, 8 ] },
{ "item": "scrap", "count": [ 3, 7 ] }
]
}
},
{
"type": "terrain",
"id": "t_atm",
@@ -249,7 +249,14 @@
"color": "pink",
"move_cost": 0,
"flags": [ "NOITEM", "CONNECT_TO_WALL" ],
"examine_action": "cardreader",
"examine_action": {
"type": "cardreader",
"flags": [ "SCIENCE_CARD" ],
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
"query_msg": "Swipe your ID card?",
"success_msg": "You insert your ID card.\n<color_light_green>The nearby doors unlock.</color>",
"redundant_msg": "The nearby doors are already opened."
},
"bash": {
"str_min": 18,
"str_max": 180,
@@ -269,7 +276,14 @@
"color": "pink",
"move_cost": 0,
"flags": [ "NOITEM", "CONNECT_TO_WALL" ],
"examine_action": "cardreader",
"examine_action": {
"type": "cardreader",
"flags": [ "MILITARY_CARD" ],
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
"query_msg": "Swipe your ID card?",
"success_msg": "You insert your ID card.\n<color_light_green>The nearby doors unlock.</color>",
"redundant_msg": "The nearby doors are already opened."
},
"bash": {
"str_min": 18,
"str_max": 180,
@@ -290,7 +304,14 @@
"color": "pink",
"move_cost": 0,
"flags": [ "NOITEM", "CONNECT_TO_WALL" ],
"examine_action": "cardreader",
"examine_action": {
"type": "cardreader",
"flags": [ "INDUSTRIAL_CARD" ],
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
"query_msg": "Swipe your ID card?",
"success_msg": "You insert your ID card.\n<color_light_green>The nearby doors unlock.</color>",
"redundant_msg": "The nearby doors are already opened."
},
"bash": {
"str_min": 18,
"str_max": 180,
@@ -8,22 +8,23 @@
"color": "light_gray",
"move_cost": 2,
"bash": {
"str_min": 30,
"str_max": 40,
"str_min": 100,
"str_max": 200,
"ter_set": "t_null",
"sound": "crunch!",
"sound_fail": "whump!",
"items": [ { "item": "pebble", "count": [ 1, 3 ] }, { "item": "sharp_rock", "count": [ 0, 1 ] } ]
"items": [ { "item": "material_gravel", "count": [ 5, 15 ] }, { "item": "sharp_rock", "count": [ 0, 1 ] } ],
"bash_below": true
},
"deconstruct": {
"ter_set": "t_pit_shallow",
"items": [
{ "item": "pebble", "count": [ 75, 100 ] },
{ "item": "material_gravel", "count": [ 350, 500 ] },
{ "item": "sharp_rock", "count": [ 0, 2 ] },
{ "item": "rock", "count": [ 4, 12 ] }
]
},
"flags": [ "BASHABLE", "TRANSPARENT" ]
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT" ]
},
{
"id": "t_railroad_track",
@@ -354,5 +354,27 @@
"ter_set": "t_open_air",
"bash_below": true
}
},
{
"type": "terrain",
"id": "t_roof_paper_hard",
"name": "flat roof",
"description": "A flat surface made of hardened pulpy mass, covered in sticky wasp saliva.",
"symbol": ".",
"looks_like": "t_paper",
"color": "white",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "FLAT" ],
"bash": {
"str_min": 25,
"str_max": 150,
"str_min_supported": 40,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 15,
"sound_fail_vol": 10,
"ter_set": "t_open_air",
"bash_below": true
}
}
]
@@ -50,7 +50,7 @@
"type": "terrain",
"id": "t_pit_covered",
"name": "covered pit",
"description": "A deep pit with a two by four placed across it, looks sturdy enough to cross safely or the plank could be removed to turn it back into trap fall.",
"description": "A deep pit with a plank placed across it, looks sturdy enough to cross safely or the plank could be removed to turn it back into trap fall.",
"symbol": "#",
"color": "light_red",
"move_cost": 2,
@@ -75,7 +75,7 @@
"type": "terrain",
"id": "t_pit_spiked_covered",
"name": "covered spiked pit",
"description": "Menacing with sharp spears along the bottom, this pit has a plank across it to allow someone or something to cross safely. The two by four could be removed to revert it back into a trap.",
"description": "Menacing with sharp spears along the bottom, this pit has a plank across it to allow someone or something to cross safely. The plank could be removed to revert it back into a trap.",
"symbol": "#",
"color": "light_red",
"move_cost": 2,
@@ -100,7 +100,7 @@
"type": "terrain",
"id": "t_pit_glass_covered",
"name": "covered glass pit",
"description": "A two by four has been placed carefully to allow traversal over this ditch full of large glass shards. The wooden board could be removed so it couldn't be safely crossed.",
"description": "A plank has been placed carefully to allow traversal over this ditch full of large glass shards. The wooden board could be removed so it couldn't be safely crossed.",
"symbol": "#",
"color": "light_cyan",
"move_cost": 2,
@@ -40,7 +40,7 @@
"id": "t_wall_half",
"name": "half-built wall",
"looks_like": "t_wall",
"description": "An incomplete wall of refined wood, dotted with carefully placed nails to provide proper support. It requires some more two by fours and nails before it'd be considered a suitable wall.",
"description": "An incomplete wall of refined wood, dotted with carefully placed nails to provide proper support. It requires some more planks and nails before it'd be considered a suitable wall.",
"symbol": "#",
"color": "light_red",
"move_cost": 4,
@@ -649,7 +649,7 @@
"id": "t_wall_wood_chipped",
"name": "chipped wood wall",
"looks_like": "t_wall_wood",
"description": "A wall of aligned two by fours that's starting to crack and break open. Some cut wood and a number of nails could patch this up quick.",
"description": "A wall of aligned planks that's starting to crack and break open. Some cut wood and a number of nails could patch this up quick.",
"symbol": "LINE_OXOX",
"color": "light_red",
"move_cost": 0,
@@ -1160,7 +1160,44 @@
"sound_fail": "slap!",
"sound_vol": 8,
"sound_fail_vol": 4,
"ter_set": "t_null"
"ter_set": "t_floor_paper"
}
},
{
"type": "terrain",
"id": "t_paper_brood",
"copy-from": "t_paper",
"symbol": "#",
"color": "white",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT" ],
"bash": {
"str_min": 1,
"str_max": 6,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 8,
"sound_fail_vol": 4,
"ter_set": "t_floor_paper_noroof"
}
},
{
"type": "terrain",
"id": "t_paper_hard",
"name": "layered paper wall",
"description": "A thick wall of layered tree pulp and wasp saliva, hardened to withstand the elements. You could break through this, but it won't be easy.",
"symbol": "#",
"color": "dark_gray",
"move_cost": 0,
"coverage": 100,
"flags": [ "FLAMMABLE_HARD", "NOITEM", "MINEABLE", "WALL", "NO_SCENT" ],
"bash": {
"str_min": 30,
"str_max": 150,
"sound": "rrrrip!",
"sound_fail": "slap!",
"sound_vol": 20,
"sound_fail_vol": 10,
"ter_set": "t_floor_paper_hard"
}
},
{
@@ -1352,6 +1389,26 @@
"items": [ { "item": "rock", "count": [ 10, 22 ] } ]
}
},
{
"type": "terrain",
"id": "t_bollard",
"name": "bollard",
"looks_like": "t_fence_post",
"description": "A set of concrete and steel bollards designed to harden areas against vehicle ram attacks. It requires a few more steps to walk in between the bollards sticking up out of the ground.",
"symbol": "1",
"color": "light_gray",
"move_cost": 6,
"coverage": 20,
"flags": [ "TRANSPARENT", "WALL", "SHORT", "PERMEABLE" ],
"bash": {
"str_min": 350,
"str_max": 650,
"sound": "crash!",
"sound_fail": "whump!",
"ter_set": "t_sidewalk",
"items": [ { "item": "rock", "count": [ 6, 13 ] }, { "item": "steel_chunk", "count": [ 1, 3 ] } ]
}
},
{
"type": "terrain",
"id": "t_support_l",
@@ -1462,5 +1519,25 @@
"ter_set": "t_null",
"items": [ { "item": "rock", "count": [ 3, 8 ] }, { "item": "pebble", "count": [ 20, 38 ] } ]
}
},
{
"type": "terrain",
"id": "t_pillar",
"name": "pillar",
"looks_like": "t_column",
"description": "A concrete column that helps keep the mine's ceiling and walls from collapsing.",
"symbol": "1",
"color": "light_gray",
"move_cost": 0,
"coverage": 80,
"flags": [ "WALL", "PERMEABLE", "MINEABLE" ],
"bash": {
"str_min": 120,
"str_max": 200,
"sound": "crash!",
"sound_fail": "whump!",
"ter_set": "t_reb_cage",
"items": [ { "item": "rock", "count": [ 10, 22 ] } ]
}
}
]
@@ -255,7 +255,7 @@
"SMALL_PASSAGE",
"WINDOW"
],
"curtain_transform": "t_window_no_curtains",
"curtain_transform": "t_window_no_curtains_open",
"examine_action": "curtains",
"close": "t_window_domestic",
"deconstruct": {
@@ -334,7 +334,6 @@
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "FLAMMABLE", "ALARMED", "NOITEM", "BARRICADABLE_WINDOW", "CONNECT_TO_WALL", "BLOCK_WIND", "WINDOW" ],
"deconstruct": { "ter_set": "t_window_empty", "items": [ { "item": "glass_sheet", "count": 2 } ] },
"bash": {
"str_min": 3,
"str_max": 6,
@@ -357,10 +356,6 @@
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE", "NOITEM", "ALARMED", "WALL", "BARRICADABLE_WINDOW", "BLOCK_WIND", "REDUCE_SCENT", "WINDOW" ],
"deconstruct": {
"ter_set": "t_window_empty",
"items": [ { "item": "glass_sheet", "count": 2 }, { "item": "duct_tape", "charges": [ 15, 25 ] } ]
},
"bash": {
"str_min": 6,
"str_max": 12,
@@ -377,7 +372,7 @@
"id": "t_window_empty",
"name": "empty window",
"roof": "t_flat_roof",
"description": "An empty window frame consisting of two by fours and nails. You could install a sheet of glass, or even board it up for protection. You could also convert it into a wall if you took the time to construct it.",
"description": "An empty window frame consisting of planks and nails. You could install a sheet of glass, or even board it up for protection. You could also convert it into a wall if you took the time to construct it.",
"symbol": "0",
"color": "yellow",
"move_cost": 4,
@@ -432,7 +427,7 @@
"type": "terrain",
"id": "t_window_boarded",
"name": "boarded up window",
"description": "A glass window that has been covered with nailed down planks, blocking sunlight and visibility. It's not much stronger, but it could be further reinforced with strategically placed two by fours.",
"description": "A glass window that has been covered with nailed down planks, blocking sunlight and visibility. It's not much stronger, but it could be further reinforced with strategically placed planks.",
"symbol": "#",
"color": "brown",
"move_cost": 0,
@@ -459,7 +454,7 @@
"id": "t_window_boarded_noglass",
"name": "boarded up window",
"looks_like": "t_window_boarded",
"description": "An empty window frame that has been covered with nailed down planks, blocking sunlight and visibility. It's not much stronger, but it could be further reinforced with strategically placed two by fours.",
"description": "An empty window frame that has been covered with nailed down planks, blocking sunlight and visibility. It's not much stronger, but it could be further reinforced with strategically placed planks.",
"symbol": "#",
"color": "brown",
"move_cost": 0,
@@ -598,10 +593,6 @@
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "NOITEM", "CONNECT_TO_WALL", "THIN_OBSTACLE", "WINDOW" ],
"deconstruct": {
"ter_set": "t_window_no_curtains",
"items": [ { "item": "sheet_metal_small", "count": [ 4, 6 ] }, { "item": "rebar", "count": [ 6, 8 ] } ]
},
"bash": {
"str_min": 60,
"str_max": 250,
@@ -627,10 +618,6 @@
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "BLOCK_WIND", "ALARMED", "CONNECT_TO_WALL", "WINDOW" ],
"deconstruct": {
"ter_set": "t_window_alarm",
"items": [ { "item": "sheet_metal_small", "count": [ 4, 6 ] }, { "item": "rebar", "count": [ 6, 8 ] } ]
},
"bash": {
"str_min": 3,
"str_max": 6,
@@ -665,17 +652,6 @@
"curtain_transform": "t_window_bars",
"examine_action": "curtains",
"open": "t_window_bars_domestic",
"deconstruct": {
"ter_set": "t_window",
"items": [
{ "item": "stick", "count": 1 },
{ "item": "sheet", "count": 2 },
{ "item": "nail", "charges": [ 3, 4 ] },
{ "item": "string_36", "count": 1 },
{ "item": "sheet_metal_small", "count": [ 4, 6 ] },
{ "item": "rebar", "count": [ 6, 8 ] }
]
},
"bash": {
"str_min": 3,
"str_max": 6,
@@ -715,17 +691,6 @@
"curtain_transform": "t_window_bars",
"examine_action": "curtains",
"close": "t_window_bars_curtains",
"deconstruct": {
"ter_set": "t_window",
"items": [
{ "item": "stick", "count": 1 },
{ "item": "sheet", "count": 2 },
{ "item": "nail", "charges": [ 3, 4 ] },
{ "item": "string_36", "count": 1 },
{ "item": "sheet_metal_small", "count": [ 4, 6 ] },
{ "item": "rebar", "count": [ 6, 8 ] }
]
},
"bash": {
"str_min": 3,
"str_max": 6,
@@ -850,10 +815,6 @@
"REDUCE_SCENT",
"WINDOW"
],
"deconstruct": {
"ter_set": "t_window_reinforced",
"items": [ { "item": "pipe", "count": 12 }, { "item": "sheet_metal_small", "count": 40 } ]
},
"bash": {
"str_min": 50,
"str_max": 75,
@@ -882,17 +843,6 @@
"curtain_transform": "t_metal_grate_window",
"examine_action": "curtains",
"open": "t_metal_grate_window_with_curtain_open",
"deconstruct": {
"ter_set": "t_window_reinforced",
"items": [
{ "item": "pipe", "count": [ 10, 12 ] },
{ "item": "sheet_metal_small", "count": [ 30, 40 ] },
{ "item": "stick", "count": 1 },
{ "item": "sheet", "count": 2 },
{ "item": "nail", "charges": [ 3, 4 ] },
{ "item": "string_36", "count": 1 }
]
},
"bash": {
"str_min": 50,
"str_max": 75,
@@ -921,17 +871,6 @@
"curtain_transform": "t_metal_grate_window",
"examine_action": "curtains",
"close": "t_metal_grate_window_with_curtain",
"deconstruct": {
"ter_set": "t_window_reinforced",
"items": [
{ "item": "pipe", "count": [ 10, 12 ] },
{ "item": "sheet_metal_small", "count": [ 30, 40 ] },
{ "item": "stick", "count": 1 },
{ "item": "sheet", "count": 2 },
{ "item": "nail", "charges": [ 3, 4 ] },
{ "item": "string_36", "count": 1 }
]
},
"bash": {
"str_min": 50,
"str_max": 75,
@@ -958,10 +897,6 @@
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "NOITEM", "CONNECT_TO_WALL", "BARRICADABLE_WINDOW", "THIN_OBSTACLE", "WINDOW" ],
"deconstruct": {
"ter_set": "t_window_reinforced_noglass",
"items": [ { "item": "pipe", "count": [ 10, 12 ] }, { "item": "sheet_metal_small", "count": [ 30, 40 ] } ]
},
"bash": {
"str_min": 50,
"str_max": 75,
@@ -990,17 +925,6 @@
"curtain_transform": "t_metal_grate_window_noglass",
"examine_action": "curtains",
"open": "t_metal_grate_window_with_curtain_open_noglass",
"deconstruct": {
"ter_set": "t_window_reinforced_noglass",
"items": [
{ "item": "pipe", "count": [ 10, 12 ] },
{ "item": "sheet_metal_small", "count": [ 30, 40 ] },
{ "item": "stick", "count": 1 },
{ "item": "sheet", "count": 2 },
{ "item": "nail", "charges": [ 3, 4 ] },
{ "item": "string_36", "count": 1 }
]
},
"bash": {
"str_min": 50,
"str_max": 75,
@@ -1724,7 +1648,7 @@
"type": "terrain",
"id": "t_reinforced_double_pane_glass",
"name": "Reinforced double glazed glass window",
"description": "A reinfoced double glazed window inserted into a frame. The outer layer comprises a pane of reinforced glass for extra security.",
"description": "A reinforced, double-glazed window inserted into a frame. For extra security, the outer layer is reinforced glass.",
"looks_like": "t_window_no_curtains",
"symbol": "\"",
"color": "light_cyan",
@@ -2984,7 +2908,7 @@
"type": "terrain",
"id": "t_plastic_window_with_curtain",
"name": "Plastic window with a curtain",
"description": "A makeshift window with a closed curtain. comprising a sheet of translucent, rigid plastic secured in a wooden frame. There are sheets drawn across it to block the light. It'll do in a pinch.",
"description": "A makeshift window with a closed curtain. It's a sheet of translucent, rigid plastic secured in a wooden frame. There are sheets drawn across it to block the light. It'll do in a pinch.",
"looks_like": "t_curtains",
"symbol": "|",
"color": "light_blue",
@@ -3022,7 +2946,7 @@
"type": "terrain",
"id": "t_plastic_window_with_curtain_open_window_closed",
"name": "Plastic window with a curtain",
"description": "A makeshift window with a opened curtain. comprising a sheet of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"description": "A makeshift window with a opened curtain. It's a sheet of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"looks_like": "t_window_domestic",
"symbol": "|",
"color": "light_blue",
@@ -3069,8 +2993,8 @@
{
"type": "terrain",
"id": "t_plastic_window_with_curtain_open",
"name": "Plastic window With a curtain",
"description": "An opened makeshift window with a opened curtain. comprising a sheet of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"name": "Plastic window with open curtains",
"description": "An open makeshift window with open curtains. It's a sheet of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"looks_like": "t_window_open",
"symbol": "|",
"color": "light_blue",
@@ -3213,7 +3137,7 @@
"type": "terrain",
"id": "t_reinforced_plastic_window_with_curtain",
"name": "Reinforced plastic window with a curtain",
"description": "A makeshift window with a closed curtain. comprising three sheets of translucent, rigid plastic secured in a wooden frame. It'll do in a pinch.",
"description": "A makeshift reinforced window with a closed curtain. It's three sheets of translucent, rigid plastic secured in a wooden frame. There are sheets drawn across it to block the light. It'll do in a pinch.",
"looks_like": "t_curtains",
"symbol": "|",
"color": "light_blue",
@@ -3263,8 +3187,8 @@
{
"type": "terrain",
"id": "t_reinforced_plastic_window_with_curtain_open_window_closed",
"name": "Reinforced plastic window with a curtain",
"description": "A makeshift window with a opened curtain. comprising three sheets of translucent, rigid plastic secured in a wooden frame. It'll do in a pinch.",
"name": "Reinforced plastic window with an open curtain",
"description": "A makeshift reinforced window with a opened curtain. It's three sheets of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"looks_like": "t_window_domestic",
"symbol": "|",
"color": "light_blue",
@@ -3316,8 +3240,8 @@
{
"type": "terrain",
"id": "t_reinforced_plastic_window_with_curtain_open",
"name": "Reinforced plastic window With a curtain",
"description": "An open makeshift window with a opened curtain. comprising three sheets of translucent, rigid plastic secured in a wooden frame. It'll do in a pinch.",
"name": "Reinforced plastic window with an open curtain",
"description": "An open makeshift reinforced window with a opened curtain. It's three sheets of translucent, rigid plastic secured in a wooden frame, with sheets strung about it to block the light as required. It'll do in a pinch.",
"looks_like": "t_window_open",
"symbol": "|",
"color": "light_blue",
+51 -13
View File
@@ -998,14 +998,14 @@
"type": "harvest",
"message": "<arachnid_flying_harvest>",
"entries": [
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.3 },
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.003 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.2 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.015 },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.01 }
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.03 },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.1 }
]
},
{
@@ -1073,17 +1073,36 @@
{
"id": "arachnid_wasp",
"type": "harvest",
"message": "There's a faintly hairy, skin-like membrane, covered in blood vessels, beneath the chitin of this creature. Inside it is a bundle of bubble-like tissue sacs that appear to be floating, which doesn't fit with what you know about pre-Cataclysm wasps.",
"message": "<wasp_harvest>",
"entries": [
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.33 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.01 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.1 },
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.3 },
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.003 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.015 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.03 },
{ "drop": "wasp_sting", "base_num": [ 0, 1 ], "type": "bone" },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.1 },
{ "drop": "venom_wasp", "type": "offal", "mass_ratio": 0.005 }
{ "drop": "venom_wasp", "type": "offal", "base_num": [ 0, 3 ], "scale_num": [ 0, 2 ] }
]
},
{
"id": "arachnid_wasp_queen",
"type": "harvest",
"message": "<wasp_queen_harvest>",
"entries": [
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.2 },
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.003 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_hydrogen_sacs", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.03 },
{ "drop": "wasp_sting", "base_num": [ 0, 1 ], "type": "bone" },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.1 },
{ "drop": "egg_wasp", "type": "offal", "base_num": [ 10, 30 ], "scale_num": [ 5, 5 ] },
{ "drop": "venom_wasp", "type": "offal", "base_num": [ 5, 25 ], "scale_num": [ 5, 2 ] }
]
},
{
@@ -1294,6 +1313,25 @@
{ "drop": "bone_tainted", "type": "bone", "mass_ratio": 0.1 }
]
},
{
"id": "CBM_SCI_FERAL",
"type": "harvest",
"entries": [
{
"drop": "bionics_sci",
"type": "bionic_group",
"flags": [ "NO_STERILE", "NO_PACKED" ],
"faults": [ "fault_bionic_salvaged" ]
},
{ "drop": "human_flesh", "type": "flesh", "mass_ratio": 0.2 },
{ "drop": "hstomach", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
{ "drop": "human_fat", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "bone_human", "type": "bone", "mass_ratio": 0.12 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.001 },
{ "drop": "raw_hleather", "type": "skin", "mass_ratio": 0.01 }
]
},
{
"id": "CBM_TECH",
"type": "harvest",
@@ -3015,6 +3015,7 @@
{
"distribution": [
{ "item": "case_violin", "prob": 5 },
{ "item": "bookstrap", "prob": 5 },
{ "item": "quiver", "prob": 20 },
{ "item": "quiver_large", "prob": 15 },
{ "item": "solarpack", "prob": 5 },
@@ -100,6 +100,7 @@
[ "slingpack", 19 ],
[ "travelpack", 10 ],
[ "petpack", 1 ],
[ "bookstrap", 1 ],
[ "pockknife", 14 ],
[ "roller_shoes_off", 10 ],
[ "knife_swissarmy", 10 ],
+12 -12
View File
@@ -41,7 +41,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -57,7 +57,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -73,7 +73,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -88,7 +88,7 @@
{ "item": "coin_quarter", "prob": 50, "count": [ 2, 5 ] },
{ "item": "coin_nickel", "prob": 0, "count": [ 1, 6 ] },
{ "group": "discount_cards", "prob": 10 },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 40 ]
]
},
@@ -103,7 +103,7 @@
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
{ "item": "money_twenty", "prob": 100, "count": [ 5, 10 ] },
{ "group": "discount_cards", "prob": 60, "count": [ 2, 5 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 5 ]
]
},
@@ -120,7 +120,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -137,7 +137,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -154,7 +154,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
{ "item": "labmap", "prob": 20 },
[ "scorecard", 20 ]
]
@@ -172,7 +172,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
{ "item": "labmap", "prob": 20 },
[ "scorecard", 20 ]
]
@@ -190,7 +190,7 @@
{ "item": "money_ten", "prob": 100, "count": [ 5, 10 ] },
{ "item": "money_twenty", "prob": 100, "count": [ 5, 10 ] },
{ "group": "discount_cards", "prob": 60, "count": [ 2, 5 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
{ "item": "labmap", "prob": 20 },
[ "scorecard", 5 ]
]
@@ -208,7 +208,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -225,7 +225,7 @@
{ "item": "coin_quarter", "prob": 10, "count": [ 1, 2 ] },
{ "item": "coin_nickel", "prob": 10, "count": [ 1, 2 ] },
{ "group": "discount_cards", "prob": 40, "count": [ 1, 3 ] },
{ "item": "condom", "prob": 1 },
{ "item": "condom", "prob": 10 },
[ "scorecard", 20 ]
]
},
@@ -152,6 +152,7 @@
{ "item": "aspirin", "prob": 85, "charges": [ 1, 20 ] },
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
{ "item": "pills_sleep", "prob": 15, "charges": [ 1, 10 ] },
{ "item": "melatonin_tablet", "prob": 10, "charges": [ 1, 30 ] },
{ "item": "iodine", "prob": 5, "charges": [ 1, 10 ] },
{ "item": "prussian_blue", "prob": 5, "charges": [ 1, 10 ] },
{ "item": "dayquil", "prob": 70, "charges": [ 1, 5 ] },
@@ -199,6 +200,24 @@
[ "syringe", 8 ]
]
},
{
"type": "item_group",
"id": "mobile_meth_lab",
"subtype": "collection",
"entries": [
{
"distribution": [
{ "item": "adderall", "count": [ 0, 2 ], "charges": [ 1, 10 ] },
{ "item": "energy_drink", "count": [ 0, 2 ] },
{ "item": "caffeine", "count": [ 0, 2 ], "charges": [ 1, 10 ] }
]
},
{ "item": "dayquil", "count": [ 0, 2 ], "charges": [ 1, 5 ] },
{ "item": "aspirin", "count": [ 0, 5 ], "charges": [ 1, 20 ] },
{ "item": "cola", "count": [ 0, 2 ] },
{ "item": "meth", "count": [ 0, 2 ], "charges": [ 1, 6 ] }
]
},
{
"type": "item_group",
"id": "meth_ingredients",
+13 -2
View File
@@ -39,6 +39,7 @@
{ "item": "dry_meat", "prob": 10 },
{ "item": "dry_fish", "prob": 10 },
{ "item": "dry_veggy", "prob": 10 },
{ "item": "dry_corn", "prob": 1 },
{ "item": "dry_fruit", "prob": 10 },
{ "item": "oatmeal", "prob": 40 },
{ "item": "fruit_leather", "prob": 15 },
@@ -46,7 +47,10 @@
{ "item": "dry_beans", "prob": 40 },
{ "item": "dry_lentils", "prob": 30 },
{ "item": "dry_rice", "prob": 40 },
{ "item": "freeze_dried_meal", "prob": 10 }
{ "item": "freeze_dried_meal", "prob": 10 },
{ "item": "gelatin_powder", "prob": 40 },
{ "item": "chem_agar", "prob": 15 },
{ "item": "gelatin_dessert_powder", "prob": 40 }
]
},
{
@@ -131,6 +135,7 @@
{ "item": "apple_canned", "prob": 1 },
{ "item": "can_cheese", "prob": 1 },
{ "item": "fish_canned", "prob": 1 },
{ "item": "brown_bread", "prob": 1 },
{ "item": "can_spam", "prob": 1 },
{ "item": "can_sardine", "prob": 1 },
{ "item": "ravioli", "prob": 1 },
@@ -186,6 +191,7 @@
{ "item": "can_chowder", "prob": 35 },
{ "item": "can_herring", "prob": 30 },
{ "item": "can_chicken", "prob": 40 },
{ "item": "brown_bread", "prob": 20 },
{ "item": "broth", "prob": 15 },
{ "item": "crackers", "prob": 10 },
{ "item": "oyster_crackers", "prob": 10 },
@@ -216,6 +222,7 @@
{ "item": "dry_meat", "prob": 10 },
{ "item": "dry_fish", "prob": 10 },
{ "item": "dry_veggy", "prob": 10 },
{ "item": "dry_corn", "prob": 1 },
{ "item": "dry_fruit", "prob": 10 },
{ "item": "oatmeal", "prob": 40 },
{ "item": "toastem", "prob": 30 },
@@ -426,6 +433,7 @@
{ "item": "candy", "prob": 70 },
{ "item": "candy2", "prob": 70 },
{ "item": "candy3", "prob": 70 },
{ "item": "candy4", "prob": 70 },
{ "item": "cow_candy", "prob": 20 },
{ "item": "maltballs", "prob": 60 },
{ "item": "mintpatties", "prob": 60 },
@@ -553,7 +561,8 @@
{ "item": "pie", "prob": 20 },
{ "item": "pie_veggy", "prob": 18 },
{ "item": "pie_meat", "prob": 18 },
{ "item": "pie_maple", "prob": 9 }
{ "item": "pie_maple", "prob": 9 },
{ "item": "gelatin_dessert_processed", "prob": 40 }
]
},
{
@@ -770,6 +779,8 @@
{ "item": "hamburger", "count": [ 0, 3 ] },
{ "item": "sloppyjoe", "count": [ 0, 3 ] },
{ "item": "fries", "count": [ 0, 3 ] },
{ "item": "hotdogs_cooked", "count": [ 0, 3 ] },
{ "item": "corndogs_cooked", "count": [ 0, 3 ] },
{ "item": "bacon", "count": [ 0, 3 ] }
]
},
@@ -1218,6 +1218,26 @@
[ "tool_anfo_charge", 2 ]
]
},
{
"type": "item_group",
"id": "mine_materials",
"subtype": "collection",
"entries": [
{ "item": "coal_lump", "prob": 20, "count": [ 1, 10 ] },
{ "item": "rock", "prob": 40, "count": [ 1, 10 ] },
{ "item": "rock_large", "prob": 10, "count": [ 1, 10 ] },
{ "item": "rock_flaking", "prob": 20, "count": [ 1, 10 ] },
{ "item": "material_shrd_limestone", "prob": 40, "count": [ 1, 10 ] },
{ "item": "material_limestone", "prob": 40, "count": [ 1, 10 ] },
{ "item": "material_niter", "prob": 5, "count": [ 1, 10 ] },
{ "item": "material_sand", "prob": 50, "charges": 500, "container-item": "bag_canvas" },
{ "item": "material_soil", "prob": 50, "charges": 500, "container-item": "bag_canvas" },
{ "item": "chunk_sulfur", "prob": 5, "count": [ 1, 10 ] },
{ "item": "material_rocksalt", "prob": 5, "count": [ 1, 10 ] },
{ "item": "material_rhodonite", "prob": 5, "count": [ 1, 10 ] },
{ "item": "material_zincite", "prob": 5, "count": [ 1, 10 ] }
]
},
{
"type": "item_group",
"id": "mine_equipment",
@@ -1514,7 +1534,8 @@
{ "item": "chain", "prob": 10 },
{ "item": "glass_shiv", "prob": 30 },
{ "item": "bottle_glass", "prob": 5 },
{ "item": "knuckle_brass", "prob": 10 },
{ "item": "knuckle_brass", "prob": 7 },
{ "item": "knuckle_steel_forged", "prob": 3 },
{ "item": "switchblade", "prob": 4 },
{ "item": "throwing_knife", "prob": 5 },
{ "item": "tazer", "prob": 1, "charges": [ 0, 100 ] },
@@ -8,6 +8,7 @@
"entries": [
{ "item": "aspirin", "prob": 85, "charges": [ 1, 10 ] },
{ "item": "caffeine", "prob": 25, "charges": [ 1, 10 ] },
{ "item": "melatonin_tablet", "prob": 5, "charges": [ 1, 30 ] },
{ "group": "tobacco_products", "prob": 161 },
{ "item": "sponge", "prob": 10 },
{ "group": "ammo_pocket_batteries_full", "prob": 50 },
@@ -226,7 +227,8 @@
[ "multi_cooker", 1 ],
[ "pastaextruder", 8 ],
{ "item": "can_sealer", "prob": 5, "charges": [ 0, 500 ] },
[ "knuckle_brass", 15 ],
[ "knuckle_brass", 10 ],
[ "knuckle_steel_forged", 5 ],
[ "platinum_small", 10 ],
{ "item": "foodperson_mask", "prob": 1, "charges": [ 0, 500 ] },
[ "gold_small", 10 ],
@@ -629,6 +631,7 @@
"items": [
{ "group": "mags_surplus", "prob": 400 },
[ "freeze_dried_meal", 20 ],
[ "chocolate_military", 20 ],
[ "knife_combat", 14 ],
[ "knife_rm42", 1 ],
[ "kukri", 2 ],
@@ -8,7 +8,8 @@
[ "daypack", 20 ],
[ "energy_drink", 55 ],
[ "energy_drink_atomic", 8 ],
[ "knuckle_brass", 30 ],
[ "knuckle_brass", 20 ],
[ "knuckle_steel_forged", 10 ],
[ "sports_drink", 35 ],
[ "colamdew", 60 ],
[ "purple_drink", 15 ],
@@ -85,6 +85,7 @@
[ "aspirin", 45 ],
[ "caffeine", 50 ],
[ "pills_sleep", 45 ],
[ "melatonin_tablet", 30 ],
[ "disinfectant", 15 ],
[ "vaccine_shot", 10 ],
[ "protein_powder", 40 ],
@@ -71,12 +71,21 @@
"id": "map_extra_drugdeal",
"entries": [
{ "group": "drugdealer", "prob": 75 },
{
"distribution": [
{ "item": "weed", "container-item": "bag_zipper", "charges-min": 20, "charges-max": 30, "prob": 10 },
{ "item": "coke", "container-item": "bag_zipper", "charges-min": 10, "charges-max": 20, "prob": 40 },
{ "item": "meth", "container-item": "bag_zipper", "charges-min": 8, "charges-max": 14, "prob": 30 },
{ "item": "heroin", "container-item": "bag_zipper", "charges-min": 6, "charges-max": 12, "prob": 20 }
],
"prob": 50
},
{ "item": "pants_cargo", "damage-min": 1, "damage-max": 4 },
{ "group": "lab_shoes", "damage-min": 1, "damage-max": 4, "prob": 50 },
{ "group": "shirts", "damage-min": 1, "damage-max": 4, "prob": 50 },
{ "group": "jackets", "damage-min": 1, "damage-max": 4, "prob": 30 },
{ "group": "underwear", "damage-min": 1, "damage-max": 3 },
{ "item": "corpse", "damage": 3 }
{ "item": "corpse", "damage": 4 }
]
},
{
@@ -217,9 +217,9 @@
{ "item": "savage_111f", "prob": 10 },
{ "item": "ak47", "prob": 16 },
{ "item": "ak74", "prob": 4 },
{ "item": "m4a1", "prob": 7 },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 7 },
{ "item": "m16a4", "prob": 6 },
{ "item": "h&k416a5", "prob": 3 },
{ "item": "nato_assault_rifle", "variant": "h&k416a5", "prob": 3 },
{ "item": "m1014", "prob": 1 },
{ "item": "steyr_aug", "prob": 6 },
{ "item": "v29", "prob": 1 },
@@ -290,6 +290,85 @@
{ "item": "beekeeping_gloves", "prob": 5 }
]
},
{
"type": "item_group",
"id": "bug_parts",
"//": "Bug butchery remains",
"subtype": "distribution",
"entries": [
{ "item": "chitin_piece", "prob": 70 },
{ "item": "acidchitin_piece", "prob": 30 },
{ "item": "endochitin", "prob": 70 },
{ "item": "mutant_bug_hydrogen_sacs", "prob": 30 },
{ "item": "mutant_bug_lungs", "prob": 10 },
{ "item": "mutant_bug_organs", "prob": 10 },
{ "item": "sinew", "prob": 10 },
{ "item": "bee_sting", "prob": 10 }
]
},
{
"type": "item_group",
"id": "vertebrate_parts",
"//": "Normal/mutated animal remains",
"subtype": "distribution",
"entries": [
{ "item": "bone", "prob": 80 },
{ "item": "feather", "prob": 80 },
{ "item": "raw_leather", "prob": 30 },
{ "item": "raw_fur", "prob": 30 },
{ "item": "wool_staple", "prob": 30 },
{ "item": "sinew", "prob": 5 },
{ "item": "brain", "prob": 5 },
{ "item": "lung", "prob": 5 },
{ "item": "liver", "prob": 5 },
{ "item": "sweetbread", "prob": 5 },
{ "item": "stomach", "prob": 5 },
{ "item": "stomach_large", "prob": 5 },
{ "item": "kidney", "prob": 5 },
{ "item": "jabberwock_heart", "prob": 1 }
]
},
{
"type": "item_group",
"id": "human_parts",
"//": "(demi)human remains",
"subtype": "distribution",
"entries": [
{ "item": "bone_human", "prob": 80 },
{ "item": "raw_hleather", "prob": 30 },
{ "item": "raw_demihumanleather", "prob": 5 },
{ "item": "raw_hfur", "prob": 1 },
{ "item": "sinew", "prob": 5 },
{ "item": "hstomach", "prob": 5 },
{ "item": "demihuman_stomach", "prob": 1 },
{ "item": "hstomach_large", "prob": 5 },
{ "item": "demihuman_stomach_large", "prob": 1 }
]
},
{
"type": "item_group",
"id": "wasp_lair",
"//": "Damaged generic/military/science drops, nothing fancy",
"subtype": "distribution",
"ammo": 10,
"entries": [
{ "group": "allclothes", "damage": [ 2, 4 ], "prob": 150 },
{ "group": "clothing_outdoor_set", "damage": [ 2, 4 ], "prob": 10 },
{ "group": "clothing_hunting", "damage": [ 2, 4 ], "prob": 10 },
{ "group": "clothing_work_set", "damage": [ 2, 4 ], "prob": 10 },
{ "group": "everyday_gear", "damage": [ 2, 4 ], "prob": 50 },
{ "group": "gear_homeless", "damage": [ 2, 4 ], "prob": 30 },
{ "group": "child_items", "damage": [ 2, 4 ], "prob": 30 },
{ "group": "traveler", "damage": [ 2, 4 ], "prob": 10 },
{ "group": "default_zombie_clothes", "damage": [ 2, 4 ], "prob": 30 },
{ "group": "default_zombie_items_bags", "damage": [ 2, 4 ], "prob": 30 },
{ "group": "default_zombie_items_pockets", "damage": [ 2, 4 ], "prob": 30 },
{ "group": "mon_zombie_scientist_death_drops", "damage": [ 2, 4 ], "prob": 5 },
{ "group": "mon_zombie_labsecurity_death_drops", "damage": [ 2, 4 ], "prob": 5 },
{ "group": "mon_zombie_kevlar_death_drops", "damage": [ 2, 4 ], "prob": 15 },
{ "group": "mon_zombie_military_pilot_death_drops", "damage": [ 2, 4 ], "prob": 5 }
]
},
{
"type": "item_group",
"id": "radio",
+7 -1
View File
@@ -649,7 +649,13 @@
{ "item": "eyedrops", "prob": 15 },
{ "item": "pepto", "prob": 70, "charges-min": 1, "container-item": "bottle_plastic_small" },
{ "item": "inhaler", "prob": 25, "charges-min": 10, "charges-max": 100 },
{ "item": "pills_sleep", "prob": 10, "charges": [ 1, 10 ] },
{
"distribution": [
{ "item": "pills_sleep", "prob": 60, "charges": [ 1, 10 ] },
{ "item": "melatonin_tablet", "prob": 40, "charges": [ 1, 30 ] }
],
"prob": 10
},
{
"distribution": [ { "item": "nyquil", "prob": 60, "charges-min": 1 }, { "item": "dayquil", "prob": 20, "charges-min": 1 } ],
"prob": 50
+7
View File
@@ -39,6 +39,8 @@
{ "item": "yoghurt", "prob": 80 },
{ "item": "butter", "prob": 80 },
{ "item": "pudding", "prob": 30 },
{ "item": "gelatin_dessert_processed", "prob": 20 },
{ "item": "egg_bird_unfert", "prob": 85, "count-min": 1, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 85, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "bacon", "prob": 25 },
{
@@ -520,6 +522,8 @@
{ "item": "onion_rings", "charges-min": 1, "prob": 10 },
{ "item": "pizza_veggy", "charges-min": 1, "prob": 20 },
{ "item": "nachosv", "charges-min": 1, "prob": 20 },
{ "item": "gelatin_dessert_vegan", "prob": 30 },
{ "item": "gelatin_dessert_vegan_fruit", "prob": 30 },
{
"distribution": [
{
@@ -623,6 +627,8 @@
{ "item": "yoghurt", "prob": 20 },
{ "item": "butter", "prob": 20 },
{ "item": "pudding", "prob": 20 },
{ "item": "gelatin_dessert_processed", "prob": 10 },
{ "item": "egg_bird_unfert", "prob": 20, "count-min": 1, "count-max": 12 },
{ "item": "egg_bird_unfert", "prob": 20, "charges-min": 1, "charges-max": 12, "container-item": "carton_egg" },
{ "item": "bacon", "prob": 25 },
{
@@ -880,6 +886,7 @@
{ "item": "yoghurt", "count": [ 1, 3 ], "prob": 75 },
{ "item": "butter", "prob": 50 },
{ "item": "pudding", "prob": 30 },
{ "item": "gelatin_dessert_processed", "prob": 10 },
{ "item": "veggy_salad", "charges-min": 1, "prob": 19 },
{ "item": "blt", "charges-min": 1, "prob": 13 },
{ "item": "protein_shake", "charges-min": 1, "prob": 6 },
+80
View File
@@ -0,0 +1,80 @@
[
{
"id": "SUS_hunting_archery",
"type": "item_group",
"//": "items found in an archery space",
"subtype": "collection",
"entries": [
{ "item": "compbow", "prob": 50 },
{ "item": "compbow_high", "prob": 20 },
{ "item": "compbow_low", "prob": 40 },
{ "item": "recurbow", "prob": 30 },
{ "item": "reflexrecurvebow", "prob": 10 }
]
},
{
"id": "SUS_hunting_rifle",
"type": "item_group",
"//": "items found in a rifle hunting space",
"subtype": "collection",
"entries": [
{ "item": "ar15", "prob": 150, "charges-min": 0, "charges-max": 30 },
{ "item": "marlin_9a", "prob": 20, "charges-min": 0, "charges-max": 19 },
{ "item": "remington700_270", "prob": 10, "charges-min": 0, "charges-max": 4 },
{ "item": "remington_700", "prob": 40, "charges-min": 0, "charges-max": 4 },
{ "item": "ruger_1022", "prob": 70, "charges-min": 0, "charges-max": 10 },
{ "item": "ruger_mini", "prob": 10, "charges-min": 0, "charges-max": 5 },
{ "item": "win70", "prob": 20, "charges-min": 0, "charges-max": 3 },
{ "item": "colt_lightning", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "henry_big_boy", "prob": 2, "charges-min": 0, "charges-max": 10 },
{ "item": "weatherby_5", "prob": 2, "charges-min": 0, "charges-max": 3 }
]
},
{
"id": "hunting_lodge_weapons",
"type": "item_group",
"//": "items found in a shotgun hunting space",
"subtype": "distribution",
"entries": [
{ "group": "guns_shotgun_common", "prob": 30 },
{ "group": "SUS_hunting_rifle", "prob": 20 },
{ "group": "SUS_hunting_archery", "prob": 15 }
]
},
{
"id": "cannibal_weapons",
"type": "item_group",
"//": "items found in a most dangerous game space",
"subtype": "distribution",
"entries": [
{ "group": "guns_shotgun_common", "prob": 30 },
{ "group": "SUS_hunting_rifle", "prob": 20 },
{ "group": "guns_smg_rare", "prob": 15 }
]
},
{
"id": "lodge_archery_ammo",
"type": "item_group",
"//": "archery ammo",
"subtype": "collection",
"entries": [
{ "item": "arrow_metal", "prob": 20 },
{ "item": "arrow_metal_bodkin", "prob": 20 },
{ "item": "arrow_metal_target", "prob": 30 },
{ "item": "arrow_cf", "prob": 10 }
]
},
{
"id": "cannibal_food",
"type": "item_group",
"subtype": "collection",
"entries": [
{ "item": "machete", "prob": 20 },
{ "group": "preserved_food", "custom-flags": [ "CANNIBALISM" ], "prob": 30 },
{ "group": "preserved_food", "prob": 20 },
{ "group": "dry_goods", "prob": 30 },
{ "group": "dry_goods", "custom-flags": [ "CANNIBALISM" ], "prob": 60 },
{ "group": "pantry", "prob": 10 }
]
}
]
@@ -123,6 +123,13 @@
[ "offset_sights", 6 ]
]
},
{
"type": "item_group",
"id": "m38dmr_mods",
"//": "Default mods for the m38dmr variant of the NATO assault rifle",
"subtype": "collection",
"entries": [ { "item": "suppressor" }, { "item": "rifle_scope" }, { "item": "bipod" } ]
},
{
"type": "item_group",
"id": "sights_shotgun_readied",
@@ -137,6 +144,13 @@
"//": "For shotguns that haven't been 'made ready', e.g sitting in a store or garage.",
"entries": [ { "group": "sights_shotgun", "prob": 20 }, { "group": "EMPTY_GROUP", "prob": 80 } ]
},
{
"type": "item_group",
"id": "mk23_mods",
"//": "Default mods for the mk23 variant of the USP .45 pistol",
"subtype": "collection",
"entries": [ { "item": "suppressor" }, { "item": "laser_sight" } ]
},
{
"type": "item_group",
"id": "sights_launcher",
@@ -145,9 +145,16 @@
"items": [
{ "item": "m17", "prob": 100, "charges-min": 0, "charges-max": 17 },
{ "item": "glock_18c", "prob": 70, "charges-min": 0, "charges-max": 17 },
{ "item": "mk23", "prob": 10, "charges-min": 0, "charges-max": 12 },
{
"item": "usp_45",
"variant": "mk23",
"contents-group": "mk23_mods",
"prob": 10,
"charges-min": 0,
"charges-max": 12
},
{ "item": "usp_45", "prob": 15, "charges-min": 0, "charges-max": 12 },
{ "item": "m1911_MEU", "prob": 5, "charges-min": 0, "charges-max": 7 },
{ "item": "m1911", "variant": "m1911_MEU", "prob": 5, "charges-min": 0, "charges-max": 7 },
{ "item": "glock_19", "prob": 20, "charges-min": 0, "charges-max": 15 },
{ "item": "needlepistol", "prob": 45, "charges-min": 0, "charges-max": 50 },
{ "item": "rm103a_pistol", "prob": 35, "charges-min": 0, "charges-max": 10 }
@@ -350,7 +357,7 @@
"id": "guns_rifle_rare",
"//": "Less common rifles including those only used by police/paramilitary forces.",
"items": [
{ "item": "acr", "prob": 25, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "acr", "prob": 25, "charges-min": 0, "charges-max": 30 },
{ "item": "colt_lightning", "prob": 15, "charges-min": 0, "charges-max": 10 },
{ "item": "fn_fal", "prob": 40, "charges-min": 0, "charges-max": 20 },
{ "item": "fs2000", "prob": 6, "charges-min": 0, "charges-max": 30 },
@@ -360,7 +367,7 @@
{ "item": "henry_big_boy", "prob": 10, "charges-min": 0, "charges-max": 10 },
{ "item": "m14ebr", "prob": 15, "charges-min": 0, "charges-max": 20 },
{ "item": "M24", "prob": 15, "charges-min": 0, "charges-max": 5 },
{ "item": "m4a1", "prob": 45, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 45, "charges-min": 0, "charges-max": 30 },
{ "item": "m1903", "prob": 15, "charges-min": 0, "charges-max": 5 },
{ "item": "m1918", "prob": 30, "charges-min": 0, "charges-max": 20 },
{ "item": "mosin44_ebr", "prob": 10, "charges-min": 0, "charges-max": 5 },
@@ -379,7 +386,7 @@
"id": "guns_rifle_rare_display",
"//": "Less common rifles found exclusively in gun stores.",
"items": [
{ "item": "acr", "prob": 25, "charges-min": 0, "charges-max": 0 },
{ "item": "nato_assault_rifle", "variant": "acr", "prob": 25, "charges-min": 0, "charges-max": 0 },
{ "item": "colt_lightning", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "fn_fal", "prob": 40, "charges-min": 0, "charges-max": 0 },
{ "item": "m249_semi", "prob": 5, "charges-min": 0, "charges-max": 0 },
@@ -388,7 +395,7 @@
{ "item": "henry_big_boy", "prob": 10, "charges-min": 0, "charges-max": 0 },
{ "item": "m14ebr", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "M24", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "m4a1", "prob": 45, "charges-min": 0, "charges-max": 0 },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 45, "charges-min": 0, "charges-max": 0 },
{ "item": "m1903", "prob": 15, "charges-min": 0, "charges-max": 0 },
{ "item": "m1918", "prob": 30, "charges-min": 0, "charges-max": 0 },
{ "item": "mosin44_ebr", "prob": 10, "charges-min": 0, "charges-max": 0 },
@@ -407,7 +414,7 @@
"id": "guns_rifle_milspec",
"//": "Military specification rifles only ever found at military sites.",
"items": [
{ "item": "h&k416a5", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "h&k416a5", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "m107a1", "prob": 30, "charges-min": 0, "charges-max": 10 },
{ "item": "m134", "prob": 10, "charges-min": 0, "charges-max": 100 },
{ "item": "m14ebr", "prob": 10, "charges-min": 0, "charges-max": 20 },
@@ -415,7 +422,7 @@
{ "item": "m2010", "prob": 20, "charges-min": 0, "charges-max": 5 },
{ "item": "m240", "prob": 15, "charges-min": 0, "charges-max": 100 },
{ "item": "m249", "prob": 25, "charges-min": 0, "charges-max": 10 },
{ "item": "m27iar", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "m27iar", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "m60", "prob": 15, "charges-min": 0, "charges-max": 100 },
{ "item": "rm11b_sniper_rifle", "prob": 15, "charges-min": 0, "charges-max": 10 },
{ "item": "rm298", "prob": 10, "charges-min": 0, "charges-max": 100 },
@@ -423,7 +430,7 @@
{ "item": "rm614_lmg", "prob": 10, "charges-min": 0, "charges-max": 100 },
{ "item": "rm88_battle_rifle", "prob": 25, "charges-min": 0, "charges-max": 50 },
{ "item": "sig552", "prob": 100, "charges-min": 0, "charges-max": 30 },
{ "item": "scar_l", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "scar_l", "prob": 50, "charges-min": 0, "charges-max": 30 },
{ "item": "scar_h", "prob": 50, "charges-min": 0, "charges-max": 20 },
{ "item": "m110a1", "prob": 50, "charges-min": 0, "charges-max": 20 },
{ "item": "acr_300blk", "prob": 15, "charges-min": 0, "charges-max": 30 }
@@ -785,7 +792,7 @@
{ "item": "hk_mp5k", "prob": 10, "charges-min": 0, "charges-max": 30 },
{ "item": "hk_mp5sd", "prob": 5, "charges-min": 0, "charges-max": 30 },
{ "item": "m1014", "prob": 10, "charges-min": 0, "charges-max": 8 },
{ "item": "m4a1", "prob": 35, "charges-min": 0, "charges-max": 30 },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 35, "charges-min": 0, "charges-max": 30 },
{ "item": "as50", "prob": 5, "charges-min": 0, "charges-max": 10 },
{ "item": "hk417_13", "prob": 30, "charges-min": 0, "charges-max": 20 }
]
@@ -143,6 +143,7 @@
{ "item": "multitool", "prob": 12 },
{ "item": "throwing_knife", "prob": 7 },
{ "item": "slingpack", "prob": 18 },
{ "item": "armrig", "prob": 3 },
{ "item": "manual_cutting", "prob": 12 },
{ "item": "manual_launcher", "prob": 1 },
{ "item": "recipe_bullets", "prob": 8 },
@@ -207,6 +208,7 @@
[ "backpack_hiking", 12 ],
[ "bigback", 3 ],
[ "travelpack", 6 ],
[ "armrig", 3 ],
[ "cowboy_hat", 4 ],
[ "10gal_hat", 4 ],
{ "item": "bb", "prob": 8, "charges": [ 1, 500 ] },
@@ -194,7 +194,8 @@
{ "item": "coin_quarter", "prob": 1 },
{ "item": "bronze_medal", "prob": 1 },
{ "item": "silver_medal", "prob": 1 },
{ "item": "gold_medal", "prob": 1 }
{ "item": "gold_medal", "prob": 1 },
{ "item": "bookstrap", "prob": 5 }
]
},
{
+5 -1
View File
@@ -777,7 +777,11 @@
"id": "newspaper",
"type": "item_group",
"subtype": "distribution",
"entries": [ { "group": "newspaper_recent", "prob": 80 }, { "group": "newspaper_old", "prob": 20 } ]
"entries": [
{ "group": "newspaper_recent", "prob": 79 },
{ "group": "newspaper_old", "prob": 20 },
{ "item": "valentine_card", "prob": 1 }
]
},
{
"id": "newspaper_recent",
@@ -262,6 +262,7 @@
[ "eyedrops", 10 ],
[ "holy_symbol", 5 ],
[ "pills_sleep", 5 ],
{ "item": "melatonin_tablet", "prob": 3, "charges": [ 1, 30 ] },
{ "item": "nyquil", "prob": 5, "charges": [ 1, 5 ] },
{ "group": "mansion_guns", "prob": 3 },
{ "group": "harddrugs", "prob": 1 },
@@ -564,6 +565,7 @@
{ "item": "noodles_fast", "prob": 30 },
{ "item": "ravioli", "prob": 25 },
{ "item": "sauce_red", "prob": 20 },
{ "item": "gelatin_dessert_powder", "prob": 20 },
{ "item": "sauce_pesto", "prob": 15 },
{ "item": "bread", "prob": 14 },
{ "item": "cornbread", "prob": 7 },
@@ -579,6 +581,7 @@
{ "item": "can_cheese", "prob": 8 },
{ "item": "yoghurt", "prob": 8 },
{ "item": "pudding", "prob": 10 },
{ "item": "gelatin_dessert_processed", "prob": 10 },
{ "item": "veggy_pickled", "prob": 8, "charges": 2, "container-item": "jar_glass_sealed" },
{ "item": "sauerkraut", "prob": 5, "charges": 4, "container-item": "jar_glass_sealed" },
{ "item": "meat_pickled", "prob": 4, "charges": 2, "container-item": "jar_glass_sealed" },
+1 -1
View File
@@ -35,7 +35,7 @@
{ "item": "remington_870" },
{ "item": "browning_blr" },
{ "item": "ak47" },
{ "item": "m4a1" },
{ "item": "nato_assault_rifle", "variant": "m4a1" },
{ "item": "savage_111f" },
{ "item": "hk_g3" },
{ "item": "hk_g80" },
+6 -2
View File
@@ -74,7 +74,11 @@
"id": "corner_weapon",
"type": "item_group",
"subtype": "distribution",
"entries": [ { "item": "tazer", "prob": 70, "charges": [ 0, 500 ] }, { "item": "knuckle_brass", "prob": 70 } ]
"entries": [
{ "item": "tazer", "prob": 70, "charges": [ 0, 500 ] },
{ "item": "knuckle_brass", "prob": 50 },
{ "item": "knuckle_steel_forged", "prob": 20 }
]
},
{
"id": "displays",
@@ -661,7 +665,7 @@
"subtype": "distribution",
"entries": [
{ "item": "bread", "prob": 65 },
{ "item": "brown_bread", "prob": 50 },
{ "item": "brown_bread", "prob": 50, "container-item": "bag_plastic" },
{ "item": "cake2", "prob": 10 },
{ "item": "cake3", "prob": 10 },
{ "item": "cornbread", "prob": 35 },
+22 -15
View File
@@ -4,9 +4,15 @@
"id": "military_standard_assault_rifles",
"subtype": "distribution",
"entries": [
{ "item": "m4a1", "prob": 88, "charges": [ 0, 30 ] },
{ "item": "m27iar", "prob": 10, "charges": [ 0, 30 ] },
{ "item": "m38dmr", "prob": 1, "charges": [ 0, 30 ] },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 88, "charges": [ 0, 30 ] },
{ "item": "nato_assault_rifle", "variant": "m27iar", "prob": 10, "charges": [ 0, 30 ] },
{
"item": "nato_assault_rifle",
"variant": "m38dmr",
"contents-group": "m38dmr_mods",
"prob": 1,
"charges": [ 0, 30 ]
},
{ "item": "m16a4", "prob": 2, "charges": [ 0, 30 ] }
]
},
@@ -38,7 +44,7 @@
{ "item": "m17", "prob": 65, "charges": [ 0, 17 ] },
{ "item": "m18", "prob": 30, "charges": [ 0, 17 ] },
{ "item": "glock_19", "prob": 3, "charges": [ 0, 15 ] },
{ "item": "m1911_MEU", "prob": 2, "charges": [ 0, 7 ] }
{ "item": "m1911", "variant": "m1911_MEU", "prob": 2, "charges": [ 0, 7 ] }
]
},
{
@@ -120,7 +126,8 @@
{ "item": "small_repairkit", "prob": 10 },
{ "item": "50_incendiary", "prob": 2 },
{ "item": "water_clean", "prob": 90 },
{ "item": "knuckle_brass", "prob": 15 },
{ "item": "knuckle_brass", "prob": 10 },
{ "item": "knuckle_steel_forged", "prob": 5 },
{ "item": "battery_ups", "prob": 10 },
{ "item": "bandages", "prob": 30 },
{ "item": "adhesive_bandages", "prob": 20 },
@@ -174,23 +181,23 @@
{ "item": "20x66_flechette", "prob": 3 },
{ "item": "m9", "prob": 6 },
{ "item": "usp_45", "prob": 6 },
{ "item": "m4a1", "prob": 7 },
{ "item": "m4_cqbr", "prob": 1 },
{ "item": "nato_assault_rifle", "variant": "m4a1", "prob": 7 },
{ "item": "nato_assault_rifle", "variant": "m4_cqbr", "prob": 1 },
{ "item": "m231pfw", "prob": 1 },
{ "item": "m16a4", "prob": 5 },
{ "item": "m16a3", "prob": 1 },
{ "item": "nato_assault_rifle", "variant": "m16a3", "prob": 1 },
{ "item": "colt_ro635", "prob": 1 },
{ "item": "p226_9mm", "prob": 1 },
{ "item": "sp2022", "prob": 1 },
{ "item": "h&k416a5", "prob": 7 },
{ "item": "nato_assault_rifle", "variant": "h&k416a5", "prob": 7 },
{ "item": "m1014", "prob": 2 },
{ "item": "scar_l", "prob": 6 },
{ "item": "nato_assault_rifle", "variant": "scar_l", "prob": 6 },
{ "item": "scar_h", "prob": 5 },
{ "item": "sig_mcx_rattler_sbr", "prob": 1 },
{ "item": "m249", "prob": 1 },
{ "item": "m240", "prob": 1 },
{ "item": "m27iar", "prob": 1 },
{ "item": "m38dmr", "prob": 1 },
{ "item": "nato_assault_rifle", "variant": "m27iar", "prob": 1 },
{ "item": "nato_assault_rifle", "variant": "m38dmr", "contents-group": "m38dmr_mods", "prob": 1 },
{ "item": "plasma_gun", "prob": 1 },
{ "item": "m320", "prob": 5 },
{ "item": "m320_mod", "prob": 10 },
@@ -376,8 +383,8 @@
{ "item": "rm451_flamethrower", "prob": 10, "charges": [ 0, 2000 ] },
{ "item": "m249", "prob": 30, "charges": [ 0, 30 ] },
{ "item": "m240", "prob": 20, "charges": [ 0, 200 ] },
{ "item": "m27iar", "prob": 30, "charges": [ 0, 30 ] },
{ "item": "m38dmr", "prob": 3, "charges": [ 0, 30 ] },
{ "item": "nato_assault_rifle", "variant": "m27iar", "prob": 30, "charges": [ 0, 30 ] },
{ "item": "nato_assault_rifle", "variant": "m38dmr", "contents-group": "m38dmr_mods", "charges": [ 0, 30 ] },
{ "item": "m2browning", "prob": 15, "charges": [ 0, 100 ] },
{ "item": "mark19", "prob": 15, "charges": [ 0, 50 ] },
{ "item": "556", "prob": 30, "charges": [ 1, 30 ] },
@@ -471,7 +478,7 @@
"subtype": "distribution",
"entries": [
{ "group": "MRE", "prob": 1035 },
{ "item": "chocolate", "prob": 50 },
{ "item": "chocolate", "prob": 20 },
{ "item": "neccowafers", "prob": 30 },
{ "item": "can_beans", "prob": 40 },
{ "item": "pork_beans", "prob": 40 },
+1
View File
@@ -44,6 +44,7 @@
"id": "stash_drugs",
"items": [
{ "item": "pills_sleep", "prob": 15, "charges": [ 1, 10 ] },
{ "item": "melatonin_tablet", "prob": 5, "charges": [ 1, 30 ] },
{ "item": "oxycodone", "prob": 4, "charges": [ 1, 10 ] },
{ "item": "morphine", "prob": 4, "charges": [ 1, 4 ] },
{ "item": "xanax", "prob": 10, "charges": [ 1, 10 ] },
+1
View File
@@ -74,6 +74,7 @@
{ "item": "coal_lump", "prob": 20, "count": [ 1, 10 ] },
{ "item": "material_cement", "prob": 100, "charges": 500, "container-item": "bag_canvas" },
{ "item": "material_sand", "prob": 100, "charges": 500, "container-item": "bag_canvas" },
{ "item": "material_gravel", "prob": 100, "charges": 500, "container-item": "bag_canvas" },
[ "material_shrd_limestone", 70 ],
[ "fertilizer_commercial", 100 ],
[ "material_quicklime", 70 ],
+3 -4
View File
@@ -382,16 +382,15 @@
{
"type": "AMMO",
"id": "pebble",
"price": 100,
"price_postapoc": 10,
"name": { "str": "pebble" },
"symbol": "=",
"color": "light_gray",
"description": "A handful of pebbles, useful as ammunition for slingshots.",
"description": "A small rock, useful as ammunition for slingshots.",
"material": [ "stone" ],
"volume": "250 ml",
"weight": "5 g",
"weight": "66 g",
"ammo_type": "pebble",
"flags": [ "TRADER_AVOID" ],
"damage": { "damage_type": "bullet", "amount": 2 },
"range": 10,
"dispersion": 14,
+2 -2
View File
@@ -3,7 +3,7 @@
"id": "10mm_fmj",
"type": "AMMO",
"name": { "str_sp": "10mm Auto FMJ" },
"description": "A jacketed 10mm Auto round. The 10mm Auto cartridge is a rather powerful handgun round and the progenitor to the more popular .40 S&W.",
"description": "Jacketed 10mm Auto ammunition with 180gr bullets. The 10mm Auto cartridge is a rather powerful handgun round and the progenitor to the more popular .40 S&W.",
"weight": "9 g",
"volume": "117 ml",
"price": 400,
@@ -17,7 +17,7 @@
"ammo_type": "10mm",
"casing": "10mm_casing",
"range": 14,
"damage": { "damage_type": "bullet", "amount": 31, "armor_penetration": 4 },
"damage": { "damage_type": "bullet", "amount": 28, "armor_penetration": 4 },
"dispersion": 50,
"recoil": 750,
"effects": [ "COOKOFF" ]
+28
View File
@@ -179,5 +179,33 @@
"name": { "str_sp": "40x46mm-M199 flechette, black powder" },
"description": "An improvised 40x46mm flechette load containing 10 steel darts, loaded into a M199 canister. Due to the limitations of weapons built to fire 40x46mm grenades, it's much less powerful than most people would expect.",
"casing": "40x46mm_m199_casing"
},
{
"id": "40x46mm_hornets_nest_22lr",
"copy-from": "40x46mm_grenade",
"type": "AMMO",
"name": { "str_sp": "40x46mm .22 LR hornet's nest" },
"proportional": { "dispersion": 1.8 },
"description": "A set of ten .22 LR bullets compressed into a 40mm adapter. Fires all ten rounds simultaneously.",
"weight": "114 g",
"price": 1500,
"price_postapoc": 2400,
"material": [ "aluminum", "brass", "lead", "powder" ],
"damage": { "damage_type": "bullet", "amount": 100 },
"casing": "40x46mm_m212_casing"
},
{
"id": "40x46mm_hornets_nest_410",
"copy-from": "40x46mm_grenade",
"type": "AMMO",
"name": { "str_sp": "40x46mm .410 hornet's nest" },
"proportional": { "dispersion": 1.4 },
"description": "A set of four .410 shells compressed into a 40mm adapter. Fires all four rounds at once.",
"weight": "245 g",
"price": 710,
"price_postapoc": 3240,
"material": [ "aluminum", "brass", "lead", "powder" ],
"damage": { "damage_type": "bullet", "amount": 120 },
"casing": "40x46mm_m212_casing"
}
]
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "ARMOR",
"category": "armor",
"name": { "str": "pair of 2-by-arm guards", "str_pl": "pairs of 2-by-arm guards" },
"description": "A pair of improvised arm guards made from broken pieces of a two by four that are tied to your arms with rags and string. They offer good protection, but are really uncomfortable to wear.",
"description": "A pair of improvised arm guards made from broken pieces of a plank that are tied to your arms with rags and string. They offer good protection, but are really uncomfortable to wear.",
"weight": "300 g",
"volume": "1500 ml",
"price": 500,
+1 -1
View File
@@ -42,7 +42,7 @@
"moves": 20
}
],
"flags": [ "WATER_FRIENDLY", "WAIST", "OVERSIZE", "FANCY" ]
"flags": [ "WATER_FRIENDLY", "WAIST", "OVERSIZE" ]
},
{
"id": "bandolier_rifle",
+3 -2
View File
@@ -27,10 +27,11 @@
}
],
"use_action": { "type": "holster", "holster_prompt": "Attach what to belt loop?", "holster_msg": "You clip your %s to your %s" },
"flags": [ "FANCY", "WAIST", "NO_QUICKDRAW", "WATER_FRIENDLY" ]
"flags": [ "WAIST", "NO_QUICKDRAW", "WATER_FRIENDLY" ]
},
{
"abstract": "judo_belt_abstract",
"repairs_like": "scarf",
"type": "ARMOR",
"name": { "str": "judo belt template" },
"description": "This is a template for judo belts. If found in a game, it is a bug.",
@@ -113,7 +114,7 @@
"price": 9000,
"price_postapoc": 250,
"bashing": 5,
"material": [ "leather" ],
"material": [ "leather", "steel" ],
"symbol": "[",
"color": "brown",
"covers": [ "torso" ],
+27 -4
View File
@@ -274,6 +274,30 @@
"proportional": { "weight": 1.15, "volume": 1.15 },
"flags": [ "VARSIZE", "WATERPROOF", "OVERSIZE" ]
},
{
"id": "boots_wsurvivor_nofur",
"type": "ARMOR",
"name": { "str": "pair of faux fur winter survivor boots", "str_pl": "pairs of faux fur winter survivor boots" },
"description": "A pair of customized, Kevlar armored faux fur boots, modified to provide maximum protection from harm and the elements, even when knee-deep in the dead. While not quite as warm as real fur it's pretty good.",
"copy-from": "boots_wsurvivor",
"material": [ "kevlar", "faux_fur" ],
"symbol": "[",
"warmth": 50,
"looks_like": "boots_fur",
"color": "pink"
},
{
"id": "xl_boots_wsurvivor_nofur",
"type": "ARMOR",
"name": { "str": "pair of XL faux fur winter survivor boots", "str_pl": "pairs of XL faux fur winter survivor boots" },
"copy-from": "boots_wsurvivor",
"material": [ "kevlar", "faux_fur" ],
"description": "A pair of customized and oversized, Kevlar armored faux fur boots, modified to provide maximum protection from harm and the elements, even when knee-deep in the dead. While not quite as warm as real fur it's pretty good.",
"color": "pink",
"warmth": 50,
"proportional": { "weight": 1.3, "volume": 1.3 },
"flags": [ "VARSIZE", "WATERPROOF", "OVERSIZE", "STURDY" ]
},
{
"id": "boots_h20survivor",
"type": "ARMOR",
@@ -743,8 +767,7 @@
"encumbrance": 60,
"warmth": 20,
"material_thickness": 2.5,
"environmental_protection": 2,
"flags": [ "FANCY" ]
"environmental_protection": 2
},
{
"id": "dance_shoes",
@@ -956,7 +979,7 @@
"coverage": 30,
"encumbrance": 50,
"material_thickness": 1.5,
"flags": [ "VARSIZE", "SUPER_FANCY" ]
"flags": [ "VARSIZE", "FANCY" ]
},
{
"id": "knee_high_boots",
@@ -1259,7 +1282,7 @@
"warmth": 20,
"material_thickness": 2,
"environmental_protection": 2,
"flags": [ "VARSIZE", "WATERPROOF", "FANCY" ]
"flags": [ "VARSIZE", "WATERPROOF" ]
},
{
"id": "wetsuit_booties",
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -40,7 +40,7 @@
"coverage": 50,
"encumbrance": 30,
"material_thickness": 1,
"flags": [ "WATER_FRIENDLY", "SKINTIGHT", "FANCY" ]
"flags": [ "WATER_FRIENDLY", "SKINTIGHT" ]
},
{
"id": "fancy_sunglasses",
@@ -176,7 +176,7 @@
"coverage": 20,
"material_thickness": 1,
"environmental_protection": 1,
"flags": [ "SUPER_FANCY", "FIX_NEARSIGHT", "FRAGILE" ]
"flags": [ "FANCY", "FIX_NEARSIGHT", "FRAGILE" ]
},
{
"id": "glasses_reading",
+23
View File
@@ -346,6 +346,29 @@
"proportional": { "weight": 1.6, "volume": 1.6 },
"flags": [ "WATERPROOF" ]
},
{
"id": "gloves_wsurvivor_nofur",
"type": "ARMOR",
"name": { "str": "pair of faux fur winter survivor gloves", "str_pl": "pairs of faux fur winter survivor gloves" },
"description": "A pair of customized, Kevlar armored faux fur gloves, modified to be easy to wear while providing maximum protection under extreme conditions. While not quite as warm as real fur it's pretty good.",
"copy-from": "gloves_wsurvivor",
"material": [ "kevlar_layered", "faux_fur" ],
"symbol": "[",
"looks_like": "gloves_winter",
"color": "pink",
"warmth": 60
},
{
"id": "xl_gloves_wsurvivor_nofur",
"type": "ARMOR",
"name": { "str": "pair of XL faux fur winter survivor gloves", "str_pl": "pairs of XL faux fur winter survivor gloves" },
"copy-from": "gloves_wsurvivor_nofur",
"material": [ "kevlar_layered", "faux_fur" ],
"description": "A pair of customized and oversized Kevlar armored faux fur gloves, modified to be easy to wear while providing maximum protection under extreme conditions. While not quite as warm as real fur it's pretty good.",
"color": "pink",
"proportional": { "weight": 1.5, "volume": 1.5 },
"flags": [ "VARSIZE", "WATERPROOF", "STURDY", "OVERSIZE" ]
},
{
"id": "gloves_hsurvivor",
"type": "ARMOR",
+5 -6
View File
@@ -19,7 +19,7 @@
"warmth": 8,
"material_thickness": 0.3,
"environmental_protection": 2,
"flags": [ "FANCY", "VARSIZE", "SUN_GLASSES" ]
"flags": [ "VARSIZE", "SUN_GLASSES" ]
},
{
"id": "bandana_head",
@@ -64,7 +64,7 @@
"coverage": 40,
"warmth": 10,
"material_thickness": 0.3,
"flags": [ "VARSIZE", "WATER_FRIENDLY", "FANCY" ]
"flags": [ "VARSIZE", "WATER_FRIENDLY" ]
},
{
"id": "beret_wool",
@@ -83,7 +83,7 @@
"coverage": 40,
"warmth": 15,
"material_thickness": 0.3,
"flags": [ "VARSIZE", "WATERPROOF", "FANCY" ]
"flags": [ "VARSIZE", "WATERPROOF" ]
},
{
"id": "bowhat",
@@ -298,7 +298,6 @@
"description": "A stylish hat made of faux fur. Like real fur, but without the suffering, if the tag is to be believed. Very warm.",
"material": [ "faux_fur", "cotton" ],
"covers": [ "head" ],
"flags": [ "FANCY" ],
"warmth": 60
},
{
@@ -447,7 +446,7 @@
"warmth": 2,
"material_thickness": 0.2,
"environmental_protection": 4,
"flags": [ "FANCY", "OUTER", "SUN_GLASSES" ]
"flags": [ "OUTER", "SUN_GLASSES" ]
},
{
"id": "kippah",
@@ -509,7 +508,7 @@
"encumbrance": 10,
"warmth": 10,
"material_thickness": 0.05,
"flags": [ "VARSIZE", "FANCY" ]
"flags": [ "VARSIZE" ]
},
{
"id": "porkpie",
+3 -3
View File
@@ -146,7 +146,7 @@
"warmth": 15,
"material_thickness": 6,
"environmental_protection": 6,
"flags": [ "VARSIZE", "WATERPROOF", "FANCY", "STURDY" ]
"flags": [ "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_ball",
@@ -441,7 +441,7 @@
"id": "helmet_skull",
"type": "ARMOR",
"name": { "str": "large wolf skull" },
"description": "The top part of an unusually large wolf skull equiped with leather straps to secure it on your head. Every inch of it has been carved with a maze of fine intertwined symbols that make your eyes water.",
"description": "The top part of an unusually large wolf skull equipped with leather straps to secure it on your head. Every inch of it has been carved with a maze of fine intertwined symbols that make your eyes water.",
"weight": "1 kg",
"volume": "3 L",
"price": 1400,
@@ -743,7 +743,7 @@
"encumbrance": 20,
"warmth": 15,
"material_thickness": 3,
"flags": [ "FANCY", "STAB" ]
"flags": [ "STAB" ]
},
{
"id": "helmet_corinthian",
+2 -2
View File
@@ -24,7 +24,7 @@
"min_item_volume": "1500 ml",
"max_contains_volume": "9 L",
"max_contains_weight": "10 kg",
"max_item_length": "60 cm",
"max_item_length": "133 cm",
"moves": 150
}
],
@@ -333,7 +333,7 @@
{
"pocket_type": "CONTAINER",
"holster": true,
"min_item_volume": "1250 ml",
"min_item_volume": "1000 ml",
"max_contains_volume": "8 L",
"max_contains_weight": "8200 g",
"max_item_length": "120 cm",
+24
View File
@@ -118,6 +118,30 @@
"proportional": { "weight": 1.25, "volume": 1.3, "price": 1.25 },
"flags": [ "VARSIZE", "STURDY", "OVERSIZE", "HELMET_COMPAT", "OUTER", "WATERPROOF" ]
},
{
"id": "hood_wsurvivor_nofur",
"type": "ARMOR",
"name": { "str": "winter faux fur survivor hood" },
"description": "A customized armored faux fur and Kevlar hood, warm and durable. If not quite as warm as real fur.",
"copy-from": "hood_wsurvivor",
"material": [ "kevlar_layered", "faux_fur" ],
"symbol": "[",
"warmth": 65,
"looks_like": "hood_survivor",
"color": "pink"
},
{
"id": "xl_hood_wsurvivor_nofur",
"type": "ARMOR",
"copy-from": "hood_wsurvivor",
"material": [ "kevlar_layered", "faux_fur" ],
"color": "pink",
"warmth": 65,
"name": { "str": "XL faux fur winter survivor hood" },
"description": "A customized and oversized armored faux fur and Kevlar hood, warm and durable. If not quite as warm as real fur.",
"proportional": { "weight": 1.25, "volume": 1.3, "price": 1.25 },
"flags": [ "VARSIZE", "STURDY", "OVERSIZE", "HELMET_COMPAT", "OUTER", "WATERPROOF" ]
},
{
"id": "hood_rain",
"type": "ARMOR",
+17 -33
View File
@@ -9,7 +9,6 @@
"volume": "10 ml",
"price": 100,
"price_postapoc": 10,
"flags": [ "FANCY" ],
"material": [ "wood" ],
"symbol": "[",
"color": "brown",
@@ -40,7 +39,6 @@
"price": 100,
"price_postapoc": 10,
"material": [ "wood" ],
"flags": [ "FANCY" ],
"symbol": "u",
"color": "brown",
"use_action": [ "MEDITATE" ]
@@ -55,7 +53,6 @@
"volume": "10 ml",
"price": 100,
"price_postapoc": 10,
"flags": [ "FANCY" ],
"material": [ "wood", "plastic" ],
"symbol": "[",
"color": "red"
@@ -72,8 +69,7 @@
"material": [ "iron" ],
"symbol": "[",
"looks_like": "copper_locket",
"color": "brown",
"flags": [ "FANCY" ]
"color": "brown"
},
{
"id": "diamond_dental_grill",
@@ -92,7 +88,7 @@
"color": "yellow",
"covers": [ "mouth" ],
"encumbrance": 10,
"flags": [ "SUPER_FANCY", "SKINTIGHT" ]
"flags": [ "SKINTIGHT" ]
},
{
"id": "garnet_dental_grill",
@@ -111,7 +107,7 @@
"color": "red",
"covers": [ "mouth" ],
"encumbrance": 10,
"flags": [ "FANCY", "SKINTIGHT" ]
"flags": [ "SKINTIGHT" ]
},
{
"id": "amethyst_dental_grill",
@@ -195,8 +191,7 @@
"price_postapoc": 10,
"material": [ "plastic" ],
"symbol": "[",
"color": "pink",
"flags": [ "FANCY" ]
"color": "pink"
},
{
"id": "blue_topaz_dental_grill",
@@ -253,8 +248,7 @@
"material": [ "silver" ],
"symbol": "[",
"looks_like": "tieclip",
"color": "light_gray",
"flags": [ "FANCY" ]
"color": "light_gray"
},
{
"id": "copper_bracelet",
@@ -806,7 +800,7 @@
"symbol": "[",
"color": "yellow",
"covers": [ "mouth" ],
"flags": [ "FANCY", "SKINTIGHT" ]
"flags": [ "SKINTIGHT" ]
},
{
"id": "gold_ear",
@@ -863,8 +857,7 @@
"price_postapoc": 25,
"material": [ "gold" ],
"symbol": "[",
"color": "yellow",
"flags": [ "SUPER_FANCY" ]
"color": "yellow"
},
{
"id": "gold_necklace",
@@ -1001,8 +994,7 @@
"material": [ "bone", "silver" ],
"symbol": "[",
"color": "white",
"use_action": [ "MEDITATE" ],
"flags": [ "FANCY" ]
"use_action": [ "MEDITATE" ]
},
{
"id": "holy_symbol",
@@ -1016,8 +1008,7 @@
"material": [ "gold" ],
"symbol": ",",
"color": "yellow",
"use_action": [ "MEDITATE" ],
"flags": [ "FANCY" ]
"use_action": [ "MEDITATE" ]
},
{
"id": "holy_symbol_wood",
@@ -1109,7 +1100,7 @@
"symbol": "[",
"color": "white",
"covers": [ "mouth" ],
"flags": [ "SUPER_FANCY", "SKINTIGHT" ]
"flags": [ "SKINTIGHT" ]
},
{
"id": "platinum_ear",
@@ -1294,8 +1285,7 @@
"price_postapoc": 10,
"material": [ "silver" ],
"symbol": "[",
"color": "light_gray",
"flags": [ "FANCY" ]
"color": "light_gray"
},
{
"id": "silver_ring",
@@ -1322,8 +1312,7 @@
"price_postapoc": 25,
"material": [ "leather" ],
"symbol": "-",
"color": "dark_gray",
"flags": [ "FANCY" ]
"color": "dark_gray"
},
{
"id": "wristwatch",
@@ -1447,8 +1436,7 @@
"price_postapoc": 10,
"material": [ "fur", "plastic" ],
"symbol": "^",
"color": "brown",
"flags": [ "FANCY" ]
"color": "brown"
},
{
"id": "faux_fur_cat_ears",
@@ -1471,8 +1459,7 @@
"bashing": 4,
"material": [ "fur", "plastic" ],
"symbol": "s",
"color": "brown",
"flags": [ "FANCY" ]
"color": "brown"
},
{
"id": "faux_fur_cat_tail",
@@ -1494,8 +1481,7 @@
"price_postapoc": 10,
"material": [ "fur" ],
"symbol": "-",
"color": "brown",
"flags": [ "FANCY" ]
"color": "brown"
},
{
"id": "faux_fur_collar",
@@ -1517,8 +1503,7 @@
"price_postapoc": 10,
"material": [ "leather", "plastic" ],
"symbol": "^",
"color": "dark_gray",
"flags": [ "FANCY" ]
"color": "dark_gray"
},
{
"id": "leather_cat_tail",
@@ -1532,8 +1517,7 @@
"bashing": 4,
"material": [ "leather", "plastic" ],
"symbol": "s",
"color": "dark_gray",
"flags": [ "FANCY" ]
"color": "dark_gray"
},
{
"id": "diamond_gold_earring",

Some files were not shown because too many files have changed in this diff Show More