-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No lit cigs in inventory anymore, only in hands or in mouth (#77834)
* On smoking the cig, wear it (= put it in mouth) rather than put it into inventory * If we're taking cig off or unwielding it, extinguish it first Also changed displaying of interactions with cigs as `You take a puff of your cigarette.` rather than `You take a puff of your cigarette (lit) (active).` * Simplified "cig dies out" case by removing explicit item conversions depending on itype_id Instead, add `revert_to` field to cigar, cigarette, and joint. If "cig dies out" event happens, convert cig to its `revert_to`. If no `revert_to` is defined, check for `target` in `transform` use_action and convert to that `target`. This allows processing other cig items which may be added in the future to vanilla or mods.
- Loading branch information
1 parent
8595d13
commit 738641e
Showing
3 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters