* 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>
* 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.
@@ -165,16 +165,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="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">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="helpTitle">Помощь и управление</string>
<stringname="helpMessage">Свайп для движения в выбранном направлении (зажать для показа виртуального джойстика). Одно нажатие для подтверждения выбора в меню или паузы на один ход (зажать для паузы на несколько ходов). Двойное нажатие для отмены или выхода из меню (работает как кнопка Escape). Растяните или сведите пальцы на экране для увеличения/уменьшения (в игре). Используйте кнопку \"Назад\" для показа виртуальной клавиатуры (зажмите для отображения «горячих клавиш»).</string>
<stringname="crashAlert">В прошлый раз игра завершилась некорректно</string>
<stringname="crashMessage">Отчёт об остановке приложения находится в папке ./config/crash.log. Он может помочь разработчикам устранить ошибки в игре.</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.
## 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>
"description":"The lenses surgically installed over your eyes can be tinted to block out incoming light.",
"included":true,
"flags":["BIONIC_TOGGLED"]
"flags":["BIONIC_TOGGLED"],
"active_flags":["BLIND"]
},
{
"id":"bio_blood_anal",
@@ -298,7 +300,8 @@
"name":{"str":"Bionic-Induced Deformity"},
"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 +360,7 @@
"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 +448,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":"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
@@ -677,7 +685,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",
@@ -739,6 +747,7 @@
"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
@@ -914,6 +923,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 +1040,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"
},
{
@@ -1147,14 +1158,16 @@
"name":{"str":"Voice Remodulator"},
"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 +1196,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 +1208,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.",
"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",
@@ -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",
@@ -151,6 +157,11 @@
"type":"json_flag",
"context":["GENERIC"]
},
{
"id":"BLED",
"type":"json_flag",
"context":["GENERIC"]
},
{
"id":"CANT_HEAL_EVERYONE",
"type":"json_flag",
@@ -449,7 +460,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 +580,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."
"description":"A solid wall of compressed dirt, mixed with… something to keep it stable. Its surface glistens slightly, and it smells like rotten milk.",
"message":"What appeared to be insect hairs on the chitin of this creature look more like tiny feathers as you pare them back. Inside is a bundle of bubble-like tissue sacs that appear to be floating, which doesn't fit with what you know about real bees.",
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.