This file contains hidden or 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
| <div id="myCarousel" class="carousel slide" data-bs-ride="carousel" data-bs-interval="false"> | |
| <!-- Indicators --> | |
| <div class="carousel-indicators"> | |
| {% for video in project['videos'] %} | |
| <button type="button" data-bs-target="#myCarousel" data-bs-slide-to="{{ loop.index0 }}" | |
| class="{{'active' if loop.index0 == 0}}" aria-current="true" aria-label="Slide {{ loop.index0 + 1 }}"></button> | |
| {% endfor %} | |
| {% for photo in project['photos'] %} | |
| <button type="button" data-bs-target="#myCarousel" data-bs-slide-to="{{ loop.index0 }}" | |
| class="{{'active' if ((loop.index0 == 0) and (not 'videos' in project)) }}" aria-current="true" aria-label="Slide {{ loop.index0 + 1 }}"></button> |
This file contains hidden or 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
| @app_commands.command(name="calculate_portable_campfire", description="When to place campfire before you die.") | |
| async def calculate_portable_campfire(self, interaction: Interaction, cold_res: float, num_campfires_to_use: int): | |
| base_per_cold_tick_rate = 100 # Base ticks per Cold increase (without resistance) | |
| campfire_cooldown_ticks = 6000 # 5 minutes = 6000 ticks | |
| cold_threshold = 100 # Death at 100 Cold | |
| campfire_cold_reduction = 50 # Each campfire reduces Cold by 50` | |
| per_cold_tick_rate_with_resistance = base_per_cold_tick_rate + cold_res | |
| per_cold_tick_rate_in_tunnels = per_cold_tick_rate_with_resistance * 0.8 |
OlderNewer