mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-04-28 13:17:58 +03:00
Merge 5b9bb7ca90
into fbbfc07ff1
This commit is contained in:
commit
916084a041
2 changed files with 16 additions and 0 deletions
|
@ -825,6 +825,11 @@ void SohMenu::AddMenuEnhancements() {
|
|||
.CVar(CVAR_ENHANCEMENT("FastFarores"))
|
||||
.Options(CheckboxOptions().Tooltip("Greatly decreases cast time of Farore's Wind magic spell."));
|
||||
|
||||
AddWidget(path, "Bottles", WIDGET_SEPARATOR_TEXT);
|
||||
AddWidget(path, "Rebottle Blue Fire", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_ENHANCEMENT("RebottleBlueFire"))
|
||||
.Options(CheckboxOptions().Tooltip("Blue Fire dropped from bottle can be bottled."));
|
||||
|
||||
// Fixes
|
||||
path.sidebarName = "Fixes";
|
||||
AddSidebarEntry("Enhancements", path.sidebarName, 3);
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include "z_en_ice_hono.h"
|
||||
#include "objects/gameplay_keep/gameplay_keep.h"
|
||||
|
||||
#include <libultraship/libultra.h>
|
||||
|
||||
#define FLAGS 0
|
||||
|
||||
void EnIceHono_Init(Actor* thisx, PlayState* play);
|
||||
|
@ -296,6 +298,10 @@ void EnIceHono_SpreadFlames(EnIceHono* this, PlayState* play) {
|
|||
}
|
||||
}
|
||||
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("RebottleBlueFire"), 0)) {
|
||||
EnIceHono_CapturableFlame(this, play);
|
||||
}
|
||||
|
||||
if (this->timer <= 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
|
@ -331,6 +337,11 @@ void EnIceHono_SmallFlameMove(EnIceHono* this, PlayState* play) {
|
|||
this->alpha -= 10;
|
||||
this->alpha = CLAMP(this->alpha, 0, 255);
|
||||
}
|
||||
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("RebottleBlueFire"), 0)) {
|
||||
EnIceHono_CapturableFlame(this, play);
|
||||
}
|
||||
|
||||
if (this->timer <= 0) {
|
||||
Actor_Kill(&this->actor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue