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.
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.
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.
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.
* 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
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.
* 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.
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.
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.
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.
* 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
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.
* 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.
* 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.
* 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>
* 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.
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.
* 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>
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.
Previously this check triggered false warnings on expressions in
different elements of an initializer list expression. Prevent that, and
add some test cases.
* 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
* 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.
* 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.
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.
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.
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.
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.
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).
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.
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).
* 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.
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.
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.
* 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
* 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
* 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>
* 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.
* 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>
* 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>
* 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
* 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.
* 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>
* 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
* 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.
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.
* 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.
(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.
* 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
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.
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)
* 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>
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.
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.
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.
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
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>
* 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
* 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>
* 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>
* 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>
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.
* 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
* 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>
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.
* 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
#### 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.
* 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>
* 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.
* 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>
* 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.
* 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
* 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>
* 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.
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.
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
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.
* Add script and documentation for generating a json diff for releases, and add the 0.E to 0.F diff
* Apply suggestions from code review
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
We were unable to drop/haul items on the doors tiles.
( Because of NOITEM flag )
Credits to Saicchi for the fixe.
We were unable to deploy furniture on any floor tile.
( Because move cost was > 3 )
* Add script to check printf format string in translation
* Coloured output and highlighted diagnostic message
* Add GitHub Action workflow to check printf format string in translations
// 33% tiny
1 in 3 cities were being set to size of 1, which was dispropriate and not taking in consideration city scaling
Changed it to set the number 1/3 instead of straight to 1
in line with the other lines (2/3 3/2, etc)
One integer formatted as part of the iteminfo tests can appear in
different formats depending on localization. This caused a CI test
failure. Allow either format to avoid that failure.
When investigating a savegame corruption issue, it transpired that digit
separators were being inserted into the integer coordinates of point and
tripoint objects when converted to string. This caused non-UTF-8
characters to appear in a log message, which corrupted the savegame.
Luckily, it only affected saves where the player had travelled more than
1000 submaps from the origin, so it hasn't been a huge issue.
Fix this and add tests to point_test.cpp.
* allows dogs to counterattack bileworms
* changes lurker base faction, makes sure gators can retaliate
* lurkers in turn counterattack gators
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
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.
* Update overmap.cpp
// Ideally we should have at least two exit points for roads, on different sides
if( roads_out.size() < 2 ) { <- Made this 3 (also changed if( roads_out.size() < 2 ) { to 3 also.
The roadgen does make at least 2 road connections at the edges, but it seems to always stop there. Making it 3, tells it to not stop there. This makes world gen roads more guaranteed to link with other overmap cities, especially with large city spacing worldgen, making extended roadtrips possible. Roads leading out of cities also increase.
* Make UNMOUNT_ON_DAMAGE drop damaged items
Vehicle parts with the UNMOUNT_ON_DAMAGE flag drop their base item when destroyed.
But the base item was in pristine condition.
Issue is flagged "exploit" on github.
This commit make the destroyed vehicle parts drop damaged items.
Damage = max item damage -1.
Cheeses all around the world are made (safely) with raw milk. I considered making a new class that was milk_standard_raw, but without UHT, because UHT treatment actually makes it much harder to develop a curd, but this was easier, and it is still _possible_ to make a curd with UHT milk, just harder.
* Fix wheat cereals
Reduce charges, weight and volume in line with other cereals, reduce vitamins that don't appear in those grains, remove nutrient override
* Fix wheat cereals recipe
Reduce time: it's rougher than flour, less time needed
charges: keep ingredients' mass and Calories
add food processor version
* Move last_updated field up to Creature class
Everyone would benefit from it one way or another
* Do not do character body updates more than once per turn
* Update hooded hard hat recipe
The recipe for the hooded hard hat takes two hours and requires plastic working proficiency, which makes no sense since it's just putting some cloth inside the hat. Presumably, someone misread the components list and assumed that you were actually making a plastic hard hat from scratch instead of using a pre-made one. I removed the proficiency requirement and shortened the craft time to 30 seconds to more accurately reflect the actual process of putting some rags inside a helmet.
* Bump duration to 5 minutes.
Co-authored-by: Kevin Granade <kevin.granade@gmail.com>
* added sees check and debugmsg
(cherry picked from commit 752f0c444b)
* Update src/monster.cpp
Co-authored-by: anothersimulacrum <anothersimulacrum@gmail.com>
(cherry picked from commit da7c76072f)
* excempt stairs&ramps from vision check
(cherry picked from commit 152980e928)
* monster::melee_attack returns false for zlvl violations
(cherry picked from commit cc7b3b7a5d)
* Require daytime for sees in monster_attack test.
Make sure there should be enough light for things to be visible;
weather might also need checking.
(cherry picked from commit 6d253c9f75)
* Set time to daytime.
It wasn't previously (see results of REQUIRE).
(cherry picked from commit 321404f26c)
* Move forward by 2 hours.
It gets set to daytime, but isn't?
(cherry picked from commit 592d0c1f43)
* See if can get info on hour of day.
(cherry picked from commit ea65b7e9bc)
* Try again on checking hour of day.
(cherry picked from commit 874bccf2f4)
* Blasted parenthesis.
In case you're wondering why I don't seem to be compiling locally
before sending things - even with everything else already present
as an object file, the version+ar+compiling the test+putting together
the test executable still takes something like 5-10 minutes...
(cherry picked from commit 23e1394c23)
* Template problem
I'm still learning my way around C++ where it differs from C.
(cherry picked from commit 1282f44ae3)
* Set weather, update sight limits
If this doesn't work, I'll try the steps in vision_test.cpp.
(cherry picked from commit 2062bbc71d)
* Wipe visibility, map caches in monster_attack
This is in case something is left over in one of these caches that's
causing problems.
(cherry picked from commit ce394e20c0)
* Set WEATHER_NULL for weather_override in tests
This sets weather_override to WEATHER_NULL in two places, namely after
(if no exceptions occur!) the monster_attack test and before the
weather realism test. The former should be replaced by
scoped_weather_override (#48227) after that's been merged.
(cherry picked from commit dcacb3d11e)
* Use scoped_weather_override in monster_attack test
Simply doing get_weather().weather_override = WEATHER_NULL at the end
is not sufficient, since it will not be run in the event of an
exception, such as from Catch2.
(cherry picked from commit 49d5f2473b)
* Wrong syntax for scoped_weather_override.
As mentioned before, I'm still learning regarding C++ differences
from C.
(cherry picked from commit c90ae42aa5)
* Start on unifying sees requirement with testing
This is a unification of most of #47993 with most of #48202, in an
attempt to remove problems (seen in #42845, which this hopefully
will fix) with players unable to see monsters on different z-levels
(and, as it turns out, the other way around) but they are still able
to attack the player. This is additionally complicated by that,
when fov_3d is enabled, the player can see the monsters and vice-versa,
and they should be able to attack each other (when at an appropriate
distance).
* Use is_adjacent with fov_3d for melee attacks
This changes the melee_attack code in melee.cpp for
Character::melee_attack to consider non-adjacent anything across
z-levels when fov_3d is false. (It is possible that an actual sees
check will be needed, but let's see how this does - no pun intended.)
reach_attack may be a problem still.
Co-authored-by: Jamuro-g <toenli.e@gmail.com>
Co-authored-by: Jamuro-g <76928284+Jamuro-g@users.noreply.github.com>
Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
When parsing a save game with avatar activity levels, `[ 0.000000, 1 ]`
was being incorrectly parsed by this one-liner, which apparently
evaluates `ja.next_int()` before evaluating `ja.next_float()` on some
environments, while it was the other way around on other environments.
Explicitly getting the floating-point activity level into a variable
allows ensuring these parsing operations occur in the correct order,
avoiding the bug leading to the "Integers cannot have a decimal point"
error when loading a fresh saved game.
Cone-shaped AoE spells have some gaps and extra boxes when done at a
diagonal in particular; see #46792 and #48320. This tries to
fix at least the former problem, using an adapted version of @Aivean's
suggestion (in #46792).
Changed Oxygen Tank to the standard M15 Size
-3750ml Volume
-Weight Slightly increased to 2721g
Longest side is now corrected from the default, no more oxygen tanks in your pockets!
Changed Emergency Oxygen to standard M4 Size
-Volume changed to 1100mL
-Weight decreased a fair bit down to 800g
Longest side is now corrected from the default
It is possible for an earlier test to set weather_override, which could
interfere with weather_test.cpp's weather generation test. This patch
prevents this. (It was previously part of #48245.)
* Move hardcoded UI strings to res/values/strings.xml
* Add Traditional Chinese translation of Android UI
* Add Russian translation of Android UI
* Add Spanish (Spain) translation of Android UI
* Add Spanish (Argentina) translation of Android UI
* Add Japanese translation of Android UI
* Triage Flake8 E265
Decide not to enable Flake8 E265 because it prevents us keeping
commented-out debug print messages.
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
The names of some files and one directory (JSON Mapping Guides) in or
below the doc directory were named such that they were very annoying
to work with on the command line, due to having spaces. Correct names
and one document's link - this was only one found using fgrep -ri over
the entire repository.
Original fix by olanti-p.
See https://github.com/cataclysmbnteam/Cataclysm-BN/pull/355
From the PR comments:
What I [olanti-p] believe happens is:
1. The pitch-shifted chunk is created from the original sound, and
queued to play via Mix_PlayChannel()
2. Mix_RegisterEffect() successfully registers hook for de-allocating
the chunk once it's done playing
3. Mix_SetPosition() fails for some reason with Unsupported audio
channels error
4. play_variant_sound() reacts to this failure by instantly
de-allocating the chunk it just allocated
5. SDL tries to play the sound, and dereferences a dangling pointer
6. Since we don't have debug symbols in SDL, backtrace looks all kinds
of weird.
Solution:
* Don't deallocate the chunk if failed to set sound position
* If failed to register the de-allocator, halt playback before de-allocating
This check would not check properly in the event that two functions
changed the same global variable in the same translation unit. Now we
verify that each function has its own restoration code.
The albino trait adds a telescoping umbrella to starting equipment, but
many professions had no space for it. Make it wearable on your wrist,
and able to be clipped to a belt. This should mean that any character
can have it in their starting inventory without difficulty.
The error message in migrate_items_to_storage indicates that the
Character's profession is probably the issue, but doesn't actually say
what the profession is. Expand the message to provide the profession id
and item id.
Run clang-tidy and fix or suppress all the issues it found. This
includes a few of the type of issue intended to be found, and one issue
in the check code itself.
We want to ensure that any test that alters the value of a global
variable restores it to its original state. We even have a helper class
to ensure that happens, even in the case of exceptions.
This is a first draft of a clang-tidy check intended to verify that
tests follow this rule.
* Remove different behavior for debug_mode in Creature::sees()
Creature::sees(), if its parameter was a creature, was ignoring
a false fov_3d combined with different z-levels if debug_mode was
true. This is not true for Creature::sees() for a specific tripoint,
which is inconsistent, and having debug mode result in significantly
different in-game behavior is undesirable.
* Remove debug_mode check from monster attack test
This PR removes the relevance of `debug` to `sees`. Thus, capturing
its value is no longer needed.
Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
* Use <= instead of < in one field test
The radioactive field test is repeatedly failing due to the test being
for less-than instead of less-than-or-equal (300 vs 300 turns). Due to
test logs not being searchable on either Github or Travis, I am not
able to locate some past cases I have seen, but I can locate
https://travis-ci.org/github/CleverRaven/Cataclysm-DDA/jobs/763202025
and
https://github.com/CleverRaven/Cataclysm-DDA/pull/48119/checks?check_run_id=2143797637.
(I am grateful to wapcaplet for the PR enabling actually seeing what
the numbers were.)
* Remove 2 unneeded changes.
I had been thinking of making all of the less-than turns into
less-than-or-equal turns, but decided against it. Some edits were left
over; this commit removes them.
Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
Similar guns that have fired a different number of bullets can still be
stacked together in the inventory, unless:
- One gun has never been fired (has no `faults`), while the other has
- OR the fouling is different enough to have different `dirt_symbol`s
The pattern of backtrace on FreeBSD and OpenBSD are almost the same, the
only difference is that on FreeBSD the offset is heximal but on OpenBSD
the offset is decimal. So I write 0?x?[a-f0-9]* in the reguluar
expression to accommodate both formats.
Now that map extras can be built in or update_mapgen, the debug
menu is less useful because it doesn't allow selecting the update
mapgen options.
Rewrite the logic to use a vector of strings that are the map extra
names/generator_ids, so it is now possible to use the debug menu to
spawn any valid update_mapgen.
ephemeral_storyteller and mlangsdorf are reviving the original
Dark Skies Above total conversion alien invasion mod.
Adjust the DESIGN.md and modinfo.json to reflect the new status,
and add a TODO.md to keep us on track and focused on small,
achievable goals.
Delete the bionics professions from the scenario overrides.
* 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.
* Added calories to coffee syrup (made with sugar), removed nutrient_override from coffee, added nutrient_override to coffee powder and set kcal to 2, to keep existing behaviour when making coffee from powder.
* Also removed nutrient_override from atomic coffee.
* Adjust coffee syrup recipe and portions to match calories with ingredients.
Given that dancing helps with dodge in the game, and zombies (such as the tough zombie and resort bouncer zombies) can have dodge, resort dancer zombies should have dodge.
Glass jars and their recipes were removed, but the recipes weren't
obsoleted.
The four winds shotgun changed during experimental, but also did not
receive an obsolete entry.
Normally combat skills don't have a way to recieve massive all-at-once
chunks of practice, which is probably why this went undiscovered.
However, learning spellcraft from studying spells can provide large
chunks of experience all at once in combat skills, triggering the UB
fixed here.
Using CHECK with a time_duration yields unhelpful messages like:
CHECK( fields_test_duration() < time_limit )
{?} < {?}
Converting the compared values to an integer number of turns allows the
messages (for both success and failure) to be more intelligible, like:
CHECK( fields_test_turns() < time_limit_turns )
113 < 3600 (0xe10)
map "has_nearby_table" was not working properly for vehicles,
this caused Rigid Table Manners trait not working as described
closes#45240, resolves#47949, resolves#45440
Fixes#47900.
Currently, rubber gloves are 3 mm thick, which is almost 8x the
thickness of "extra-thick" rubber gloves (see the issue), and results
in them having bash resistance of 15. Adjust to be more realistic;
see the issue for more on the exact numbers chosen.
* Fix crash in disassembling everything.
Prevents iterator invalidation issues by collecting the stable item
locations to a temporary vector, instead of using the raw references to
the items on the map.
Harvest data from the previously loaded world was not reset, leading to
a bunch of errors from unrelated mods in a different world.
Add a harvest_list::reset() method to clear the previously loaded
harvest list, and call it from unload_data().
Fix#47932
Makes flesh pouch from Magiclysm spell flesh pouch drop its content on the ground when the duration runs out, instead of letting all stored items be deleted. Also fixes hide bag deleting items when it rots away, in the same manner.
* fix multi-cooker
* prevent multi-cooker from being deleted by iuse
* added move cost to cookers meal pocket
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
* Get random number of rebars instead of pipes after cutting up metal with hacksaw and oxytorch
Also allowed cutting metal from windows with bars and closed and open curtains.
* Added ability to cut metal from windows with metal grating
Vehicles having an empty fuel tank or other tank were getting a debug
message from contents.legacy_front() since they did not check for
emptiness first.
Add vehicle_part::contains_liquid() to check for emptiness before
calling only_item(), and use that function in act_vehicle_siphon().
Fix#47803
The spell info was displaying red "Not Enough Energy" text for spells
that had enough energy, due to `can_cast` not having enough components.
Instead, use `has_enough_energy` to check for sufficient energy.
Fix#47755
See https://github.com/CleverRaven/Cataclysm-DDA/issues/44978 for
context.
When farm_json in faction_camp.cpp calls generate(), it rotates to match
the actual map it is supposed to correspond to. However, in doing this
it shifts NPCs (e.g. from (62,67,0) to (9,4,0)), when it not actually
having an effect on the map. This can cause NPCs to vanish when the
description strings for faction camp missions are generated, as they
generate the tinymap.
As a quick fix for 0.F, skip the rotation. In the future, we should be
looking at replacing the insane faction camp farming thing with a zone
based system.
3110160 fixes compile error when localization is disabled as our own
ngettext macro defined in translations.h collides with ngettext function
declared in <libintl.h>, by including <locale>, which then includes
<libintl.h> on some systems, before our macro definition overrides ngettext.
This commit adds IWYU keep pragma to prevent <locale> being pruned by
IWYU.
'Swimmer zombie' used to refer to the evolved version, but now they refer
to an unevolved variant. Add a note to their description about how they
can't swim very well to clear up confusion/add a small amount of flavor.
Could be considered a followup to #46783.
* added Graviton Polarization to the Gravity Mage
* fixed damage
* fixed json style
* added second smaller damage explosion in center
* added a space to description because it made the first test fail
The "toolbox", "toolbox_workshop", and "survivor_belt" tools are all
obsolete, replaced by their container-ified versions. They can no longer
serve the `cutting_wire_standard` requirement on their own.
This effectively prevents the obsolete tool names from appearing in the
crafting menu for recipes needing wire-cutting.
* added param `alive_only` to `field::find_field` methods. By default "removed" fields are not returned
* all field-related methods in `map` treat fields with zero intensity as non-existing
Specifying a terrain that rotates without a direction is a relatively
simple error to make, but also way harder to debug than it should be.
Let's fix that.
Convert invalid_terrains to use str_ids, because having it do the extra
conversion to an invalid int id did nothing but trigger another error
message.
Remove auto for readability.
Add a check for if the terrain with a direction suffix is valid, and
then specify if the terrain is invalid because it lacks a rotation or
because it simply is invalid.
Several of the actions in `iexamine` and `iuse` were incorrectly
subtracting the number of "turns" instead of the number of "moves",
making several actions roughly 100 times faster than intended.
When using `mod_moves` or subtracting from `u.moves`, convert time
durations to *moves* instead of *turns*.
* NATIVE=osx is now automatically set on Mac
* BREWGETTEXT=1 is no longer needed because Makefile automatically
probes for gettext from two possible Homebrew installation locations
The name "skeleton" has been misleading players for a long time into
thinking this zombie is just a literal animated skeleton made of nothing
but bones.
Change its name to agree with its description, and to be consistent with
its evolved forms "skeletal brute", "skeletal juggernaut" etc.
* Added roof to boat shed and chapel
* Made outer walls higher on the second floor
* Added guaranteed spawn of pliers and hammer as a little help in making the lockpicks
Also added a set of electronic tools to the lockers in the reactor room.
* Replaced wood benches with metal ones
* Replaced locked door to the mess hall with boarded up door
Also added a destroyed table in the mess hall to explain how they managed to board the door.
Also removed one of the dumpsters to help players find out that there is a door to the mess hall behind them.
* Go straight to the mission offer instead of mission list
* Filled up the northwestern guard tower with bookcases to prevent player from spawning in there
* Changed the location of secret slope down to the eastern wing
* Restrict seweranha to sewers, and sewer snakes to murky water so they don't fight with each other
Also increased their chance to spawn.
* Lint
This fixes#41628 and #47488, where liquids are listed in wield menu,
but in fact the player can never wield any liquid. The UI display here
was confusing.
Before #46906, character templates were saved with stored_calories equal
to total kilocalories (55,000 being the "healthy" baseline).
Now, stored_calories is in units of small-c calories, being 55,000,000
for the healthy baseline. This led to a bug #46995 where new characters
created from older-version templates would spawn with too few calories,
by a factor of 1,000.
Detect this when templates are loaded, and multiply stored_calories if
its value appears to be way too small.
libexecinfo and libintl are located in /usr/local on FreeBSD and
OpenBSD, and possibly on other BSD systems I haven't tested as well.
Makefile currently doesn't add /usr/local/include and /usr/local/lib to
header and library search paths, so users will have to manually specify
by prepending
CPLUS_INCLUDE_PATH=/usr/local/include LIBRARY_PATH=/usr/local/lib
before gmake command to compile.
GNU gettext documentation [1] says that environment variable
"LANGUAGE" will be ignored if the locale is set to "C". I tested
on Ubuntu Linux and OpenBSD that when environment variable "LANG"
is unset or set to "C", in-game UI will be all in English although
a non-English language has been selected in options menu and
translations are compiled and present in lang/mo.
This fix adds a check in the UNIX code path in set_language(). When
"LANG" environment variable is unset or "C", we manually set "LANG"
to the language user selected in game.
[1] https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable
This fixes execution error of lang/update_pot.sh, and lang/compile_mo.sh
which invokes the former one, on systems without bash, eg. a fresh
FreeBSD or OpenBSD install.
By using portable single bracket instead of double brackets in the if
statement, lang/update_pot.sh can run on shells other than bash and
shells that does not support double brackets.
I tested this on OpenBSD 6.8 with ksh and FreeBSD 12.2 with tcsh.
Add butchering quality to cutting items which were missing it. Items are "pair of scissors", "x-acto knife", "shears", "scalpel", "boxcutter knife", "simple knife spear", and "knife spear".
* Removed "validate-pr" target from Makefile
* Removed the section in COMPILING.md that mentions this script
* Removed the script itself
This script is no longer used anymore, but is still part of "make all".
It causes "make all" to fail on my OpenBSD setup because this script
requires bash. Therefore I delete it for good.
* changing terflag "FUNGUS" to bitflag
* replacing some terflags by (existing) bitflags in `monster::move_to`
* fast path for fire check in `monster::process_triggers`
The list of available sidebar panels in "labels" layout was too long,
spilling onto the border of the panel configuration window.
Make the window taller, and use a const popup_height so the vertical
separator heights can derive from this height instead of using hardcoded
magic numbers.
* New freezeing touch spell
This new spell is a upgraded version of the chilling touch spell it not only deals more damage but will also slow down your foes.
* Update kelvinist.json
* Update effects.json
* Update spell_scrolls.json
* Update kelvinist.json
* Update kelvinist.json
* ran lint tool
* Update kelvinist.json
* Update kelvinist.json
Fixes#45326.
chitin_piece was already listed, so this is consistent with that change.
This is because acidchitin_piece used to be an item with charges, but is
no longer.
* Explicit unit of duration in magic doc
* Lower mana cost and increase duration gain per level for Magic light
* Magic light is bright as a candle
* magic lamp is as bright as a flashlight
* Increase duration gain per level for magic lamp
Grouped up all the insect eggs as a cooking requirement group with id: eggs_insect
component weights are based on the difference between eggs requirement for the powder_eggs recipe
changed powder eggs recipe to use the new component group
* Change _ctype.h and __locale to cctype and clocale
* Change _wctype.h to cwctype in game.cpp
* Change __functional_base to functional
* Remove libcxx internal headers
* Remove UNIX system headers
* Fix clang-tidy error with -nostdinc++
* Removed extraneous conditions from item::is_gunmod_compatible()
Realistically speaking, you should not be required to clear your weapon to attach, say, a shoulder strap or an ACOG.
You should, however, be required to do so to modify the magazine well or install internal components.
Removing these conditions makes the game match this reality.
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Set stored kcal to healthy kcal for testing
Randomizing test orders reveals that one type of problematic
interference is due to variable stored calories from prior activity.
(cherry picked from commit 306bfb4cbd817d4db60e92807025549050a576ff)
* Match (some) weary testing to kcal resetting
Previous weary testing was distored by variable incoming kcal
stored, with the current default test order giving more kcal
than the expected 55,000.
* Update numbers to match consensus test results
At least currently, two different sources (Github General build g++-7
and Appveyor) are giving the same numbers for the 24-hour digging
weary test. This updates the target test numbers to match these,
with a bit of wiggle room in the direction of the earlier results
(partially since Travis hasn't given any results yet).
* Clear_avatar before initial debug_weary_info
Variable initial heights and weights is making having debug_weary_info
before do_activity not useful. This adds a clear_avatar before them;
unless do_activity is modified to take a flag as to whether to clear
the avatar itself, this is likely temporary.
* Change the last target for the vehicle weary test
See comments in #46941 - most specifically issuecomment-770297143.
Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
* Replace all fuel that spawns in mil bases with jp8
* Update mapgen.cpp to allow jp8 fuel in pumps
* Fix jp8 missing pump_terrain
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
* Added autodoc installation data item with 'bionic installation' quality of 3
* Added installation data spawn to 'elecsto_stor' item group
* Added installation item spawn to electronic store, two types of hospital, private doctor's office, and zombie scientist drop list
* Increased available lines in the header of bionic installation menu from 2 to 3
* Made second line of hint fold
* Mark affected CBM's failure chance with an asterisk
* Apply 10 level of skills for calculation of success when using installation data
* Show hint about found installation data only if autodoc actually found it
* Created lots of AIDs for lots of 1-3 levels of difficulty
* Created item group with AIDs
* Replaced old autodoc software spawn with AIDs spawn
* Tweaked some things in mapgen palette
* Added "prisoner" variants for three zombie types
* Added a new "get_lost" talk tag
* Added a new "prisoners" faction
* Added new NPC class, NPC types with this new class, and a whole lot of talking
* Added a new island prison layout and the required stuff for it
* Added a new start location in a new prison
* Added a case when player already has the id card at the time when he meets the leader of prisoners
* Added a small church with a named zombie
Co-authored-by: LaVeyanFiend <51099123+LaVeyanFiend@users.noreply.github.com>
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
Co-authored-by: matskuman5 <selinmatias5@gmail.com>
* Change how item_groups spawn
* Apply spawn rate to vehicle items
* Unbreak high spawn rates
* Fix some item spawns with rate > 1
* Fix place_items for 3d
* Update and confirm compilation workflows for various environments:
-Ubuntu 20.04, native and cross-compilation
-Windows, compilation using MSYS2, Cygwin, and Visual Studio
* Include warning message about whitespace
* Use existing code of activating bio_magnet bionics to create a real projectile instead of magically teleporting pulled weapon to technician's location
* Allowed pulling items made of hard steel and budget steel by Electromagnet CBM
* Resolves an issue where containers for spawned liquids would only be partially full if charges were not specified.
* Resolves astyle issue.
* Modifies the change to strictly apply to liquids only.
* Makes UHT milk appear opened in fridges.
Until #46701, it was safe to assume that every overmap had labs. Now
that is no longer true.
The lab subway code assumed that there always existed a lab to connect
the central lab to. This could cause access into an empty vector when
no labs existed, as seen in Travis CI.
Moreover, it turns out that the code causing this invalid access didn't
actually do anything (it used to, but changes in #30540 meant that it no
longer had any effect, and the connection between central and other labs
was achieved by other means.
So, I just removed the offending code.
Some of our compilers insist on override with final, and others insist
that the two must not be used together, so we can't easily use this
keyword. Since this function should never actually be called, I'm not
going to worry about it for now.
requirement_watcher::is_satisfied was recomputing the statistic value
every time, even though it already had a value cached in a member
variable! Use that one instead.
When setting up a watcher for an event_statistic, it needs to compute
the current value. But there's a good chance that whoever set up the
watcher also cares about the current stat value, so the watcher can now
return that new value and remove the need to compute it twice.
Rename the negated boolean variable `no_fire` to `have_fire` and
un-negate its usage.
Make `have_fire` default true, so `player_activity::do_turn` will check
for the presence of fire at least once.
* Do not require repetition of the SUMMARY word
* Change pr-validator regexp
* Split summary regex into two lines
* Another edit to pr-validator.yml regex
* Using \s in JS regexp
* shorten the PR template
To reduce amount of scrolling required to fill it
* None category
Further reduce amount of scrolling required
* Update CONTRIBUTING.md
* Newlines where necessary
for filling in without hitting enter
less _unnecessary_ spaces and newlines
* Unification of PR template newlines for filling in
To match the Summary section
* GitHub capitalization
After accepting this mission, there was no way to tell what the name of
the desired book was. Only one specific book will do; include that book
title in the name of the mission.
* compose.py: do not include fillers with --use-all
make "bg" optional
warn about IDs encountered multiple times
* Elevate severity of duplicate IDs
* Do not warn about duplicates on fillers
* Do not warn about skipping images in filler sheets
* change obsolete-fillers error message
* Move obsolete_fillers to Tileset
* Elevate severity of duplicate sprite names
* Change severity of --obsolete-fillers to warning
* Try catching the UnicodeDecodeError
* Tool and quality introduction.
Create the tire iron in added Wheel Fastening quality to all items that also have the Wrenching quality.
* Added tire iron to proper itemgroup
* Item pool additions
* Blazemod updating
With more precision now, we can drop rng based rounding!
Adjust the two places where this occurs, then adjust all tests to fit.
The weariness tests actually pass with margins of 0, but margin of 5 is
more safe for extenuating circumstances (e.g. unordered tests).
Having more precision enables removing rng from metabolism, without
losing detail (the rng was introduced through roll_remainder).
Calorie precision is only available privately - nothing outside of the
metabolism needs that level of precision.
calorie precision is only used internally, all external methods should
be dealing with kcal.
Having calorie precision just enables removing rng-based rounding from
metabolism functions, without losing detail.
There was a very minor change in the Calories of some crafted items, as
is caught in the tests.
* Fix the case where the name of an item is not a dict
* Produce warnings to stderr for suspicious items
Items whose names are not dicts now produce a warning
to stderr when they are encountered.
* Make pyflake less grumpy
* Files for wolf summon
* Delete recipe_books.json
* Delete spellbooks.json
* Delete itemgroups.json
* druid.json file for wolf summon
* spell scroll for wolf summon
* spellbook table for wolf summon
* Update data/mods/Magiclysm/Spells/druid.json
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Update data/mods/Magiclysm/Spells/druid.json
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Update data/mods/Magiclysm/Spells/druid.json
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Update data/mods/Magiclysm/Spells/druid.json
changed the word wolfs to wolves
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
* Update data/mods/Magiclysm/Spells/druid.json
Made damage_increment 0.08
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
* Update data/mods/Magiclysm/items/spell_scrolls.json
Changed wolfs to wolves
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
* Update druid.json
Changed base cost and base casting time.
* Update data/mods/Magiclysm/Spells/druid.json
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Update data/mods/Magiclysm/items/spell_scrolls.json
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
* Update spellbooks.json
After some testing seems the spell needed to go up in tier i feel tier 2 is a good fit.
* Update druid.json
Changed difficulty to 6 to make spell a little harder to cast
Co-authored-by: Binrui Dong <brett.browning.dong@gmail.com>
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
* Add new languages in options_manager::get_lang_options()
* Adjust options UI to accommodate longer languages list
* Updated locales in options_manager::update_global_locale()
Reference: https://docs.moodle.org/dev/Table_of_locales
Add weariness and activity level display to the stat panel (in all
layouts except the classic one), and a separate weariness panel showing
distance from weariness transition as well as the malus to the current
activity level.
I should rewrite this code to be more generic and reduce duplication.
The basic info is included in the stats panel because it is fairly vital
to know, but the transition and extent of the malus are more reasonable
to not know if you want more space in the sidebar panels.
The names and contextualization for the data could probably use some
work.
This tracks the highest activity level of the Character for the current
turn and the last turn.
Add hack for cases (such as diagonal moves with circular distances)
to keep the last activity taken in the cache and not clear it.
All of this commit will become obsolete when we have turn-granularity
activity tracking.
This is a little spotty, but it work wells enough.
* Added the un-mutated swimmer zombie.
* added the base swimmer to monstergroups, linting
* added classic category to basic swimmer zombie
For Dark Days Of The Dead.
Also, this guy shouldn't swim well.
Now you can have
- Whitelist this category + those few items from other categories
- Blacklist this category, except these few items; allow everything else
in addition to what was possible before
* Fix pluralization of ammo.
A number of the ammo entries had incorrect pluralization, such as
"##mm FMJ" being pluralized as "##mm FMJs" (when FMJ is essentially
acting as an adjective) or "buckshot" to "buckshots" when each round
has multiple pieces of buckshot.
Based off of #46628 by @BrettDong. Hopefully will, as intended in that
PR, reduce translator workload at least a bit.
Co-authored-by: actual-nh <actual-nh@users.noreply.github.com>
Co-authored-by: ToxiClay <ToxiClay@users.noreply.github.com>
* Prevent debug message when modifying overmap note with color tags
* Fix overmap UI not redrawing correctly after slight resizing
* Replace std::bind with lambda to satisfy clang-tidy
* Add various blood and give it to creatures
* Droop blood without prompt if you're not actually bleeding the animal
* Show "no blood", "no skin" and "no organs" when they have been removed
Co-authored-by: actual-nh <74678550+actual-nh@users.noreply.github.com>
This splits the difference between basing the calculation on the actual time to complete the craft
and the nominal time to complete the craft without factoring in proficiency bonuses and helpers and batching.
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:
@@ -165,16 +181,27 @@ If you are also looking for suggestions then add a [CR] before the title text
It is not required to solve or reference an open issue to file a PR, however, if you do so, you need to explain the problem your PR is solving in full detail.
### All PRs should have a "Summary" line
### All PRs should have a "Summary" section with one line
Summary is a one-line description of your change that will be extracted and added to [the project changelog](../data/changelog.txt).
The format is: ```SUMMARY: Category "description"```
The format is:
```
#### Summary
Category "description"
```
The categories to choose from are: Features, Content, Interface, Mods, Balance, Bugfixes, Performance, Infrastructure, Build, I18N.
Example: ```SUMMARY: Content "Adds new mutation category 'Mouse'"```
Example:
```
#### Summary
Content "Adds new mutation category 'Mouse'"
```
Or, if you want it treated as a minor tweak that doesn't appear in the changelog:
```SUMMARY: None```
```
#### Summary
None
```
See [the Changelog Guidelines](../doc/CHANGELOG_GUIDELINES.md) for explanations of the categories.
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request.
Leave the headings unless they don't apply to your PR, and remove the comment blocks (surrounded with <!–– and ––>) when you are done.
NOTE: Please grant permission for repository maintainers to edit your PR. It is EXTREMELY common for PRs to be held up due to trivial changes being requested and the author being unavailable to make them.
-->
NOTE: Please grant permission for repository maintainers to edit your PR. It is EXTREMELY common for PRs to be held up due to trivial changes being requested and the author being unavailable to make them. -->
#### Summary
<!-- This section should consist of exactly one line, formatted like this:
SUMMARY: [Category] "[Briefly describe the change in these quotation marks]"
Do not enter the square brackets []. Category must be one of these:
- Features
- Content
- Interface
- Mods
- Balance
- Bugfixes
- Performance
- Infrastructure
- Build
- I18N
Category "Brief description"
<!-- This section should consist of exactly one line, edit the one above.
Category must be one of these: Features, Content, Interface, Mods, Balance, Bugfixes, Performance, Infrastructure, Build, I18N. Or replace the whole line with just the word None for no changelog entry.
<!-- With a few sentences, describe your reasons for making this change. If it relates to an existing issue, you can link it with a # followed by the Github issue number, like #1234. If your pull request *fully* resolves an issue, include the word "Fix" or "Fixes" before the issue number, like: Fixes #1234.
If there is no related issue, explain here what issue, feature, or other concern you are addressing. If this is a bugfix, include steps to reproduce the original bug, so your fix can be verified.
-->
<!-- With a few sentences, describe your reasons for making this change. If it relates to an existing issue, you can link it with a # followed by the GitHub issue number, like #1234. If your pull request *fully* resolves an issue, include the word "Fix" or "Fixes" before the issue number, like: Fixes #1234.
If there is no related issue, explain here what issue, feature, or other concern you are addressing. If this is a bugfix, include steps to reproduce the original bug, so your fix can be verified. -->
#### Describe the solution
<!-- How does the feature work, or how does this fix a bug? The easier you make your solution to understand, the faster it can get merged. -->
<!-- How does the feature work, or how does this fix a bug? The easier you make your solution to understand, the faster it can get merged. -->
#### Describe alternatives you've considered
@@ -47,8 +26,8 @@ If there is no related issue, explain here what issue, feature, or other concern
#### Testing
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. -->
<!-- Describe what steps you took to test that this PR resolved the bug or added the feature, and what tests you performed to make sure it didn't cause any regressions. Also include testing suggestions for reviewers and maintainers. -->
#### Additional context
<!-- Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature or bugfix here. -->
<!-- Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature or bugfix here. -->
@@ -10,6 +10,8 @@ PLF List and PLF Colony (src/list.h, src/colony.h) are licensed under the zLib l
getpost (tools/json_tools/format/getpost.h) is licensed under the MIT license, see file for text of license.
libintl-lite is licensed under Boost Software License 1.0. Visit https://www.boost.org/users/license.html to read the license.
libbacktrace is licensed under a BSD license (https://github.com/ianlancetaylor/libbacktrace/blob/master/LICENSE). The full license text is as follows:
# Copyright (C) 2012-2016 Free Software Foundation, Inc.
[ -e "$(SRC_DIR)/version.h"]&&OLDVERSION=$$(grep VERSION $(SRC_DIR)/version.h|cut -d '"' -f2);\
if["x$$VERSION_STRING" !="x$$OLDVERSION"];thenprintf'// NOLINT(cata-header-guard)\n#define VERSION "%s"\n'"$$VERSION_STRING"| tee $(SRC_DIR)/version.h ;fi\
// Bugfix from j-jorge's branch of libintl-lite: https://github.com/j-jorge/libintl-lite/commit/40e5a41e9b19e3252d348e0548f85e66fa44a79e
// However, libintl-lite does not seem to support plural form strings + translations properly, so I've had to modify the fix further.
// Plural strings are stored as "<singular>NUL<plural>NUL<plural>..." for as many plurals are in the language, eg. Russian has 4, French has 2, Japanese has 1.
// So we only compare the first singular string as per gettext MO files spec here: https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
// We do this via c_str() which clamps at the first NUL character.
// Later on once we have a match, we will dig out the proper plural translation from this megastring.
// First let's get the translated megastring that contains all the plural translations separated by NUL chars
constchar*translatedStr=gettext(origStr);
// Now determine correct plural form to use. This data is described in .PO files "Plural-Forms" metadata.
constchar*language=getenv("LANGUAGE");
// Bail out if we don't have data, or the result of gettext is the exact same pointer to the source string (so we don't have a translated megastring to look at)
// Two extra signatures required as per: http://blog.stuff-o-matic.com/post/2013/09/07/Porting-a-C-game-to-Android,-the-case-of-Andy-s-Super-Great-Park
PreferenceManager.getDefaultSharedPreferences(getApplicationContext()).edit().putBoolean("Trap Back button",SplashScreen.this.mSettingsValues[2]).commit();
<stringname="helpTitle">Hilfe & Steuerung</string>
<stringname="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>
<stringname="installTitle">Instalando información de juego…</string>
<stringname="upgradeTitle">Actualizando información de juego…</string>
<stringname="helpTitle">Ayuda y Controles</string>
<stringname="helpMessage">\"Deslizar\" para moverse (si tenés apretado aparece el joystick virtual). \"Click\" para confirmar la selección en el menú o Pausar un turno en el juego (mantené apretado para Pausar varios turnos). \"Doble click\" para cancelar o volver en el menú (funciona como la tecla Escape). \"Pellizcar\" para hacer zoom (en el juego). Usá el botón físico \"Volver\" para activar el teclado virtual (mantené apretado para los atajos de teclado).</string>
<stringname="softwareRendering">Render por software</string>
<stringname="installTitle">Instalando los datos del juego...</string>
<stringname="upgradeTitle">Actualizando los datos del juego...</string>
<stringname="helpTitle">Ayuda & Controles</string>
<stringname="helpMessage">\"Deslizar\" para el movimiento direccional (mantenlo presionado para el joystick virtual). \"Toque\" para confirmar la selección en el menú o Pausar un turno en-juego (mantenlo presionado para varios turnos en-juego). \"Toque doble\" para cancelar o ir hacia atrás en los menús (funciona como la tecla Escape). \"Pellizcar\" para zoom dentro/fuera (en-juego). Usa el botón \"Atrás\" físico para mostrar/ocultar el teclado virtual (mantenlo pulsado para alternar los atajos de teclado).</string>
<stringname="softwareRendering">Render por software</string>
<stringname="trapBackButton">Capturar Botón de atrás</string>
<stringname="settings">Opciones</string>
<stringname="startGame">Comenzar el juego</string>
<stringname="showHelp">Mostrar ayuda</string>
<stringname="crashAlert">El juego no finalizó correctamente la última vez</string>
<stringname="crashMessage">El informe de fallos que se encuentra en ./config/crash.log puede ayudar a los desarrolladores a solucionar los errores del programa. </string>
<stringname="installTitle">Sto installando i dati di gioco...</string>
<stringname="upgradeTitle">Sto aggiornando i dati di gioco...</string>
<stringname="helpTitle">Aiuto & Controlli</string>
<stringname="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>
<stringname="trapBackButton">Blocca il tasto Indietro</string>
<stringname="settings">Impostazioni</string>
<stringname="startGame">Avvia gioco</string>
<stringname="showHelp">Mostra aiuto</string>
<stringname="crashAlert">Il gioco non è stato chiuso correttamente l\'ultima volta</string>
<stringname="crashMessage">Il crash report localizzato in ./config/crash.log può aiutare gli sviluppatori a comprendere gli errori di programmazione.</string>
<stringname="installTitle">Instalowanie danych gry...</string>
<stringname="upgradeTitle">Aktualizowanie danych gry...</string>
<stringname="helpTitle">Pomoc & sterowanie</string>
<stringname="helpMessage">"Przesuń" by sterować w boku (przytrzymaj do wirtualnego joysticka). "Stuknij" by potwierdzić wybór w menu albo spauzować jedną turę w grze (trzymaj by spauzować kilka tur w grze). "Stuknij dwa razy" by anulować albo wrócić do menu (działa jak przycisk Escape). "Szczypnij" by zbliżyć/oddalić (w grze). Użyj fizycznego przycisku "wstecz" by włączyć wirtualną klawiaturę (przytrzymaj by przełączyć skróty klawiszowe).</string>
<stringname="installTitle">Instalando dados do jogo...</string>
<stringname="upgradeTitle">Melhorando dados do jogo...</string>
<stringname="helpTitle">Controles</string>
<stringname="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>
<stringname="softwareRendering">Renderização de software</string>
<stringname="forceFullscreen">Forçar tela cheia</string>
<stringname="trapBackButton">Manter botão de voltar </string>
<stringname="settings">Configurações</string>
<stringname="startGame">Iniciar jogo</string>
<stringname="showHelp">Mostrar ajuda</string>
<stringname="crashAlert">O jogo não foi encerrado corretamente na última vez</string>
<stringname="crashMessage">O relatório de erro localizado em ./config/crash.log pode ajudar desenvolvedores a solucionarem erros no programa.</string>
<stringname="helpTitle">Помощь и управление</string>
<stringname="helpMessage">Свайп для движения в выбранном направлении (зажать для показа виртуального джойстика). Одно нажатие для подтверждения выбора в меню или паузы на один ход (зажать для паузы на несколько ходов). Двойное нажатие для отмены или выхода из меню (работает как кнопка Escape). Растяните или сведите пальцы на экране для увеличения/уменьшения (в игре). Используйте кнопку \"Назад\" для показа виртуальной клавиатуры (зажмите для отображения «горячих клавиш»).</string>
<stringname="crashAlert">В прошлый раз игра завершилась некорректно</string>
<stringname="crashMessage">Отчёт об остановке приложения находится в папке ./config/crash.log. Он может помочь разработчикам устранить ошибки в игре.</string>
<stringname="helpTitle">Yardım & Kontroller</string>
<stringname="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>
<stringname="upgradeTitle">Upgrading game data...</string>
<stringname="helpTitle">Help & Controls</string>
<stringname="helpMessage">"Swipe" for directional movement (hold for virtual joystick). "Tap" to confirm selection in menu or Pause one turn in-game (hold to Pause several turns in-game). "Double tap" to cancel or go back in menus (works like Escape key). "Pinch" to zoom in/out (in-game). Use hardware "Back" button to toggle virtual keyboard (hold to toggle keyboard shortcuts).</string>
Gives the default Survivor profession more weather-appropriate clothes for the default start.
Eating raw meat does not hurt your morale as much if you have traits like Hunter or Predator.
Very-fast-moving zombie animals only attack once per turn.
Spawns anesthesia supplies in autodocs.
Rebalances spawn rates for overmap specials.
Mycus Fireproofing now also gives heat immunity.
Tweaks Infection impact by lowering fatigue drain and removing pain.
Adjusts ordinary clothing to not meaningfully contribute to protection values.
## Bugfixes:
Prevents possible negative damage from explosions.
Removes scent diffusion over water by implementing NO_SCENT flag.
Give electric motors equal power in both forward and reverse.
Fix wield action costing double than it should.
Fix spells not gaining levels on cast.
Fix for light sources rendering player invisible at certain ranges.
Fix crash when NPC gives player equipment.
Fix "Unable to find and assign mission target" message when accepting mission.
Gives electric motors equal power in forward and reverse.
Fixes wield action costing double what it should have.
Fixes spells not gaining levels on cast.
Fixes light sources rendering the player invisible at certain ranges.
Fixes a crash when an NPC gives the player equipment.
Fixes "Unable to find and assign mission target" messages when accepting a mission.
No more floor items when trading with follower NPCs.
Fix crash by not accessing null basecamp.
Helicopters: Allow descending into open air while moving, and disallow roof teleporting.
Fix cold item rotting in freezer and add more rotting tests.
Place cursor at highlighted item name in construction and crafting menus as expected by screen readers.
Spawn regular ants under regular anthills.
melee: Make sure that melee weapon accuracy improves hit rates.
Reduce level of vehicle heater/cooler as its now too much after 1-second turns.
Wake up player if too cold due to hypothermia.
Fixes crashes from trying to access a nonexistant basecamp.
Helicopters: Allows descending into open air while moving, and disallows roof teleporting.
Fixes cold items rotting in a freezer and adds more rotting tests.
Spawns regular ants under regular anthills.
Melee: Makes sure that melee weapon accuracy improves hit rates.
Adjusts vehicle heater/cooler for 1-second turns.
Wakes up the player if about to go into hypothermia.
Fixes a segfault during initializing crafts.
fixes segfault when attempting to siphon from vehicle with multiple tanks.
Fix creatures blocking descend even if they can be displaced.
Fix OnGetHit effects not triggering if player cannot block.
Refactor monster spawning code to avoid crash.
Reset game mode before loading normal saves.
Minimize UI flickering on curses.
Fix crash upon examining vehicles containing minireactor.
Fix segfault on harvest.
Fix loading of legacy characters without bodies.
Fix explosions not affecting terrain.
Do not process held item twice.
Fix crash when trying to reloading item inside advanced inventory
Blobs are slimes. name them such.
Fix freezing to death when wet.
Fix weapon techniques not triggering.
Prevent some obscure crashes by adding nullptr checks to unsafe pointer accesses.
Fixes a segfault from attempting to siphon from vehicle with multiple tanks.
Fixes creatures blocking descent even if they can be displaced.
Fixes OnGetHit effects not triggering if the player cannot block.
Refactors the monster spawning code to avoid crashes.
Resets the game mode before loading normal saves.
Minimizes UI flickering in curses mode.
Fixes crash upon examining vehicles containing minireactor.
Fixes segfault on harvest.
Fixes loading of legacy characters without bodies.
Fixes explosions not affecting terrain.
Avoids processing held items twice.
Fixes a crash when trying to reload an item inside of advanced inventory
Renames (when appropriate) blobs as slimes.
Fixes massive, unrealistic temperature drops when wet.
Fixes weapon techniques not triggering.
Prevents some obscure crashes by adding nullptr checks to unsafe pointer accesses.
Vehicles: make sure going in reverse isn't more efficient than going forward.
Fix doubled artifact effects on stats.
Containers can't hold toolarge items contained in other containers.
Prevent temperature being 0 after loading a save.
Consume components in nested containers when crafting.
Fix stuck joystick on Android.
Adjust sunlight casting to illuminate exterior walls.
Fixed limb blocking not triggering.
Vehicles: make shock absorbers actually absorb shock damage.
Fix NPC dying immediately on accepting inhaler mission
Fix crash when attempting to butcher a corpse.
Fix gear getting damaged when weather has no damaging effects.
Fixes doubled artifact effects on stats.
Containers can't hold too-large items, even when contained in other containers.
Prevents temperature being 0 after loading a save.
Consumes components in nested containers when crafting.
Fixes stuck joystick on Android.
Adjusts sunlight casting to properly illuminate exterior walls.
Fixes limb blocking not triggering.
Vehicles: shock absorbers actually now absorb shock damage.
Fixes NPC dying immediately on accepting inhaler mission
Fixes crash when attempting to butcher a corpse.
Fixes gear getting damaged by weather when weather has no damaging effects.
Improves invalidation of max_populated_zlev cache, fixing lighting in some teleportation scenarios.
Prevents dodging or blocking while insensible.
Fixes apparent light asymmetry when the sun shines through a single-tile hole in the roof.
Makes installation time mandatory for gunmods.
Makes tents and vehicles block sunlight.
Prevents scent map from being saved with an invalid utf8 sequence.
Monsters no longer bash obstacles based on sound. This prevents groups of monsters from getting stuck in a loop of bashing based on the sound of other monsters bashing.
Picking up an item stack fills up your pockets if it doesn't fit into one pocket.
Wielding combines item stacks if possible.
Robots can no longer be disabled by a single melee hit.
Fixes auto-consume zones in vehicles.
Fixes monster special attack range-limiting code.
Falling vehicles: prevents bouncing after the first collision with the ground.
Fixes issues with sound (walking on boats, sound triggering twice).
Ensures that casings are stackable, fixing pickup performance issues.
Allows quartering organ-less corpses without field dressing.
Triggers explosions only after processing all items.
Fixes scenarios having wildly different start dates and potentially crashing the game.
Allows fire to spread to adjecent tiles with items.
Prevents log spam from a broken bone.
Makes reachability cache fully consistent with map::sees, fixing some problems with mirrors.
Fixes NPC-assisted time-cost calculation.
Killing a monster that fused with a mission kill target now successfully completes the mission.
Bashes that do zero damage now can't stun.
Fixes a crash due to dereferencing a null carrier pointer in item::process_tool.
Prevents a seg fault in auto-consume.
Vehicles: Fixes towed vehicle drag by unsetting their parking brakes.
Fixes sarcophagus elevator reactivation.
Fixes doors that NPCs could not pass without intervention.
Prevents disassemblies on a workbench from vanishing.
Fixes errors from crashes between a towed vehicle and its towing vehicle.
Bases returned materials from salvaging on mass instead of volume.
Fixes unable to run message when mounted - allows a mount to run when your legs are broken.
Fixes errors from abandoning a faction camp.
Makes NPCs able to fight back while guarding or patrolling.
Fixes use-after-free error in sounds::process_sound_markers(player).
Makes the Zombie technician's pull metal weapon attack drop items at the technician's feet.
Fixes errors due to a bad memory access in drop_activity_actor::do_turn().
Resolves a partial item spawn issue.
Prevents xp 'underflow' due to negative focus.
Dragged vehicles and furniture no longer leave a trail of memorized tiles in darkness.
Prevents a crash by disallowing turning vehicles on ramps.
Fixes crashes from towing cables snapping or trying to stretch between z-levels.
Fixes a game freeze from happening when the player cannot carry a mission reward.
Fixes crashes in `map::player_in_field` caused by iterator invalidation.
Fixes a division by zero error when drinking water.
Fixes NPC followers being blind after waking up.
Fixes looks_like for vehicle parts.
Fixes Roots and Metabolic rehydration mutations so they actually relieve/eliminate the need for water.
Fixes localization not working if the LANG environmental variable is not set.
Avoids creating starving characters from older templates.
Fixes furniture being 'destroyed' when grab-moving.
Fixes crashes from canceling reloading a container that is on the ground.
Fixes NPCs still being hungry - and unhappy about it - after eating from faction camp stores.
Reins in the plant mutation category's photosynthesis ability to be more representative of real photosynthesis.
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:
Add option to enable batching when it is available in SDL.
Adds an option to enable batching when it is available in SDL.
Skip unnecessary weather calculations for root cellar.
Cache drop_invalid_inventory and weight_carried.
Check for safemode emptiness before calling monster check.
Cache clairvoyance field.
Performance improvements related to map::process_fields.
Overhaul shadowcasting to be iterative instead of recursive.
Use plf linked list impl for shadowcasting.
Improve string_id comparison performance, add unit test and benchmarks.
Improves rendering speed by optimizing find_tile_looks_like method (FPS improved ~15%)
Greatly reduces overhead from processing idle vehicles.
Enables using additional languages (Arabic, Czech, Danish, Dutch, Greek, Indonesian, Icelandic, Italian, Norwegian, Serbian, Turkish, and Ukrainian) with the game.
Places cursor at highlighted item name in construction and crafting menus, as expected by screen readers.
Adds translations of the Android installation interface.
<color_yellow>Aivean </color> - Por su sobresaliente rendimiento.
<color_yellow>anothersimulacrum </color> - Por hacerme sentir cansado.
<color_yellow>jbytheway </color> - Por reducir la flaqueza de Python, el emparejamiento de problemas y la consolidación de los requisitos de los planos.
<color_yellow>BrettDong</color> - Por las traducciones y mas.
<color_yellow>Qrox</color> - Por mostrar la ubicación de los mensajes de error.
<color_yellow>LyleSY</color> - Por los dinosaurrss.
<color_white>Especialmente gracias a los contribuidores de arte:</color>
<color_yellow>acepleiades</color>, <color_yellow>barsoosayque</color>, <color_yellow>Fris0uman</color>, <color_yellow>int-ua</color>, y muchos mas.
<color_white>Por favor para ver la lista completa de contribuidores:</color>
"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.",
"description":"A combination of poor surgical installation and unpleasant scarring has lead to the malfunctioning bionic catastrophe you call your face. People who mind that you look like a dime-store Frankenstein will react poorly to your appearance.",
"description":"You have been outfitted with three synthetic stomachs and industrial-grade intestines. Not only can you extract much more nutrition from food, but you are highly resistant to foodborne illness, and can sometimes eat rotten food.",
"description":"When this bionic is active, you can block hearing completely (with Enhanced Hearing deactivated) or dampen sound slightly (with Enhanced Hearing activated).",
"description":"When this bionic is active, you can block hearing completely.",
"included":true,
"flags":["BIONIC_TOGGLED"]
"flags":["BIONIC_TOGGLED"],
"active_flags":["DEAF"]
},
{
"id":"bio_ears",
@@ -356,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.",
"description":"Much of the material in your inner eye has been surgically removed and replaced with an array of high-powered, auto-focusing lenses. They function as integrated binoculars, letting you see much farther than before, and any vision problems you might have had are now gone.",
"occupied_bodyparts":[["eyes",2]],
"flags":["ENHANCED_VISION"],
"canceled_mutations":[
"HYPEROPIC",
"MYOPIC",
@@ -443,7 +734,8 @@
"type":"bionic",
"name":{"str":"Facial Distortion"},
"description":"Through controlled application of electrochemical impulses, you are capable of altering your facial structure so as to subtly affect the reactions of others. This grants a bonus to all social interactions.",
"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",
@@ -574,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
@@ -596,6 +892,7 @@
"description":"Your range of vision extends into the infrared, allowing you to see warm-blooded creatures in the dark or through smoke.",
"occupied_bodyparts":[["eyes",1]],
"flags":["BIONIC_TOGGLED"],
"active_flags":["INFRARED"],
"act_cost":"5 J",
"react_cost":"5 J",
"time":1
@@ -653,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",
@@ -677,7 +974,7 @@
"name":{"str":"Nictating Membrane"},
"description":"Your eyes have a thin membrane that closes over your eyes while underwater, negating any vision penalties.",
"occupied_bodyparts":[["eyes",1]],
"flags":["BIONIC_NPC_USABLE"]
"flags":["BIONIC_NPC_USABLE","EYE_MEMBRANE"]
},
{
"id":"bio_memory",
@@ -727,7 +1024,13 @@
"description":"When active, this bionic eliminates all light within a 2 tile radius through destructive interference.",
"description":"When active, this bionic will amplify existing light, allowing you to see in the dark.",
"occupied_bodyparts":[["eyes",1]],
"flags":["BIONIC_TOGGLED"],
"active_flags":["NIGHT_VISION"],
"act_cost":"10 J",
"react_cost":"10 J",
"time":1
@@ -887,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",
@@ -914,6 +1228,7 @@
"description":"While this system is powered, your body will produce very little odor, making it nearly impossible for creatures to track you by scent.",
"description":"An electromagnetic stimulator has been surgically implanted on the back of your head and along your spine, continually draining power. As long as it's active, you won't become sleep deprived; and if you're sleep deprived already, it will boost the rate of recovery while you sleep.",
"flags":["BIONIC_TOGGLED"],
"active_flags":["STOP_SLEEP_DEPRIVATION"],
"occupied_bodyparts":[["head",1],["torso",1]],
"act_cost":0,
"react_cost":"1 kJ",
@@ -1029,7 +1345,7 @@
"description":"Your eyes have quick-reacting transition lenses surgically installed over them. They negate glare penalties, partially protect you from bright flashes, and protect your eyes when welding.",
"occupied_bodyparts":[["eyes",1]],
"included_bionics":["bio_blindfold"],
"flags":["BIONIC_NPC_USABLE"],
"flags":["BIONIC_NPC_USABLE","GLARE_RESIST"],
"fake_item":"fake_goggles"
},
{
@@ -1112,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.",
"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.",
"description":"You have been equipped with an internal atomic clock, ensuring that you will always know the current time. Additionally, it includes a silent alarm clock function.",
"occupied_bodyparts":[["head",1]]
"occupied_bodyparts":[["head",1]],
"flags":["WATCH","ALARMCLOCK"]
},
{
"id":"bio_water_extractor",
@@ -1183,7 +1503,8 @@
"type":"bionic",
"name":{"str":"Intravenous Needletip"},
"description":"The flesh of the inside of your middle finger has been replaced with a tube leading into your arteries, with a retractable needle extending out of the tip of the finger when clenched. This lets you pump intravenous drugs like morphine directly into your bloodstream without needing to carry a syringe.",
"occupied_bodyparts":[["hand_l",1]]
"occupied_bodyparts":[["hand_l",1]],
"fake_item":"syringe"
},
{
"id":"bio_weight",
@@ -1194,14 +1515,6 @@
"weight_capacity_bonus":"20 kg",
"flags":["BIONIC_NPC_USABLE","BIONIC_SHOCKPROOF"]
},
{
"id":"bio_shock_absorber",
"type":"bionic",
"name":{"str":"Kinetic Shock Absorbers"},
"description":"Most of the flesh in your arms, legs, and upper torso has been replaced with industrial-strength springs and protective padding. Clenching your fist allows you to fold and unfold this padding; while active, the hydraulic absorbers will prevent damage to your body from severe impacts, at the cost of impaired movement.",
"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.",
"You took anticonvulsant drugs some time ago and you might still be under its influence.\nPrescription note says its effect duration may vary, so your estimate may be inaccurate."
],
"rating":"good",
"blood_analysis_description":"Anticonvulsants"
"blood_analysis_description":"Anticonvulsants",
"max_duration":64800,
"dur_add_perc":40
},
{
"type":"effect_type",
@@ -2174,7 +2246,9 @@
"name":["Took weak antibiotic"],
"desc":[
"You consumed mild antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
]
],
"max_duration":54000,
"dur_add_perc":35
},
{
"type":"effect_type",
@@ -2182,7 +2256,9 @@
"name":["Took antibiotic"],
"desc":[
"You consumed antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
]
],
"max_duration":54000,
"dur_add_perc":25
},
{
"type":"effect_type",
@@ -2190,25 +2266,33 @@
"name":["Took strong antibiotic"],
"desc":[
"You consumed prescription-grade antibiotic some time ago to fight off infection.\nIf you don't recover you may want to take another dose, but beware overdosage."
"desc":["You are under the effects of an antifungal medicine or chemicals."],
"rating":"good",
"blood_analysis_description":"Antifungals"
"blood_analysis_description":"Antifungals",
"max_duration":28800,
"dur_add_perc":50
},
{
"//":"This effect is a dummy effect for disabling certain things for a few turns after an electromagnetic pulse and does nothing on its own",
@@ -2345,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",
@@ -2355,49 +2443,65 @@
"type":"effect_type",
"id":"weary_1",
"name":["Lightly Weary"],
"desc":["You've been pretty active for a while; operating at the highest levels of activity will be impaired."]
"desc":[
"You've been pretty active for a while; operating at the highest levels of activity will be impaired.\nThe following move penalties are applied for the following activity levels:\nExtreme: 1.25x"
]
},
{
"type":"effect_type",
"id":"weary_2",
"name":["Moderately Weary"],
"desc":["You've been quite active for a while; operating at higher levels of activity will be impaired."]
"desc":[
"You've been quite active for a while; operating at higher levels of activity will be impaired.\nThe following move penalties are applied for the following activity levels:\nExtreme: 1.67x, Active: 1.33x"
]
},
{
"type":"effect_type",
"id":"weary_3",
"name":["Weary"],
"desc":["You've been very active for a while, and need to slow down for a bit."]
"desc":[
"You've been very active for a while, and need to slow down for a bit.\nThe following move penalties are applied for the following activity levels:\nExtreme: 2.5x, Active: 2x, Brisk: 1.5x"
]
},
{
"type":"effect_type",
"id":"weary_4",
"name":["Very Weary"],
"desc":["You've been extremely active for a while, and need to slow down."]
"desc":[
"You've been extremely active for a while, and need to slow down.\nThe following move penalties are applied for the following activity levels:\nExtreme: 5x, Active: 4x, Brisk: 3x, Moderate: 2x"
]
},
{
"type":"effect_type",
"id":"weary_5",
"name":["Extremely Weary"],
"desc":["You've been extremely active for a while, and can't take much more activity."]
"desc":[
"You've been extremely active for a while, and can't take much more activity.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
]
},
{
"type":"effect_type",
"id":"weary_6",
"name":["Extremely Weary"],
"desc":["You've been extremely active for a while, and really need to get some rest."]
"desc":[
"You've been extremely active for a while, and really need to get some rest.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
]
},
{
"type":"effect_type",
"id":"weary_7",
"name":["Extremely Weary"],
"desc":["You've been extremely active for a while; it's time to stop."]
"desc":[
"You've been extremely active for a while; it's time to stop.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
]
},
{
"type":"effect_type",
"id":"weary_8",
"name":["Extremely Weary"],
"desc":["You've been extremely active for a while, and can no longer keep pushing."]
"desc":[
"You've been extremely active for a while, and can no longer keep pushing.\nThe following move penalties are applied for the following activity levels:\nExtreme: 10x, Active: 8x, Brisk: 6x, Moderate: 4x, Light: 2x"
"info":"This item <info>provides</info> instructions and other required data for several bionics, allowing installation of them with <good>minimal failure chance</good>."
},
{
"id":"BIONIC_NPC_USABLE",
"type":"json_flag",
@@ -75,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",
@@ -146,11 +142,34 @@
"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",
"context":["GENERIC"]
},
{
"id":"BLED",
"type":"json_flag",
"context":["GENERIC"]
},
{
"id":"CANT_HEAL_EVERYONE",
"type":"json_flag",
@@ -239,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",
@@ -449,7 +474,7 @@
"id":"PREDATOR_FUN",
"type":"json_flag",
"context":["COMESTIBLE"],
"info":"Designates a food that is usually undesirable but gives a morale bonus to characters with predator mutations."
"//":"Designates a food that is usually undesirable but gives a morale bonus to characters with predator mutations."
},
{
"id":"STAB",
@@ -569,14 +594,12 @@
{
"id":"MUSHY",
"type":"json_flag",
"context":["COMESTIBLE"],
"info":"This food was frozen and is now <bad>mushy</bad> and tasteless and <bad>will go bad</bad> after freezing again."
"context":["COMESTIBLE"]
},
{
"id":"FREEZERBURN",
"type":"json_flag",
"context":["COMESTIBLE"],
"info":"This food was frozen and is now <bad>mushy</bad> and tasteless and <bad>will go bad</bad> after freezing again."
"context":["COMESTIBLE"]
},
{
"id":"PSYSHIELD_PARTIAL",
@@ -1003,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",
@@ -1871,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."
"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.",
"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,
@@ -172,7 +172,7 @@
"flags":["BLOCKSDOOR","TRANSPARENT"],
"deconstruct":{
"items":[
{"item":"scrap","count":[4,6]},
{"item":"spring","count":[4,6]},
{"item":"plastic_chunk","count":[3,5]},
{"item":"circuit","count":1},
{"item":"2x4","count":4},
@@ -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.",
"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.",
"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.",
"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.",
"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.",
"//":"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"
}
]
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.