Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove scent diffusion over water by implementing NO_SCENT flag #37129

Merged
merged 4 commits into from
Apr 2, 2020

Commits on Jan 16, 2020

  1. Update terrain-liquids.json

    Adding REDUCE_SCENT tag to liquid tiles in order to make sure water reduces scent trails
    sayke committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    5f2d4ed View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Update terrain-liquids.json

    Update from using REDUCE_SCENT tag to WALL tag. WALL eliminates scent over water completely, which makes sense in most cases (like there being no scent trail from sweat or chemical traces left on surfaces) but not all (smoke should be able to waft some distance over water)...
    
    This still has interesting tactical implications: It means suvivors (especially suvivors with Strong Scent) can benefit by ducking in and out of rivers and lakes, jumping in a canoe to avoid being tracked by smell, etc.
    sayke committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    ada80aa View commit details
    Browse the repository at this point in the history
  2. Implement NO_SCENT flag

    * Created new NO_SCENT (json) and TFLAG_NO_SCENT (in-memory) flags
    * Updated the scent-diffusion code to use the NO_SCENT flag instead of the WALL flag (the WALL flag no longer affects scent diffusion)
    * Left the map-generation and tile-linking code that uses the WALL flag alone (the WALL flag affects map generation and drawing the same way it did before)
    * Updated the terrain-types json definitions that previously used WALL to also use NO_SCENT
    * Fixed a few tile defintions that seemed like they should have NO_SCENT, REDUCE_SCENT, or be PERMIABLE, but previously weren't
    * Updated documentation
    sayke committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    a8c797d View commit details
    Browse the repository at this point in the history
  3. SUMMARY: Bugfixes "Implements NO_SCENT flag that prevents scent diffu…

    …sion across things besides WALLs"
    
    Fixing summary
    sayke committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    fadfe39 View commit details
    Browse the repository at this point in the history