Fixed Items not showing in-game!!! Added Sive as a 3rd character!!!
|
@ -15,4 +15,8 @@
|
||||||
Priority="200"
|
Priority="200"
|
||||||
isFlying="true"
|
isFlying="true"
|
||||||
type="none" />
|
type="none" />
|
||||||
|
<costume anm2path="players/03_Sive_Head.anm2"
|
||||||
|
Priority="200"
|
||||||
|
isFlying="false"
|
||||||
|
type="none" />
|
||||||
</costumes>
|
</costumes>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<AnimatedActor>
|
<AnimatedActor>
|
||||||
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 6:14:35" Version="35" Fps="30"/>
|
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 20:36:10" Version="36" Fps="30"/>
|
||||||
<Content>
|
<Content>
|
||||||
<Spritesheets>
|
<Spritesheets>
|
||||||
<Spritesheet Path="CharacterMenu.png" Id="0"/>
|
<Spritesheet Path="CharacterMenu.png" Id="0"/>
|
||||||
|
@ -162,5 +162,69 @@
|
||||||
<NullAnimations/>
|
<NullAnimations/>
|
||||||
<Triggers/>
|
<Triggers/>
|
||||||
</Animation>
|
</Animation>
|
||||||
|
<Animation Name="03_Sive" FrameNum="1" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="0" YPivot="0" XCrop="0" YCrop="0" Width="480" Height="270" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="1" Visible="true">
|
||||||
|
<Frame XPosition="157" YPosition="140" XPivot="0" YPivot="0" XCrop="0" YCrop="272" Width="32" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="2" Visible="true">
|
||||||
|
<Frame XPosition="291" YPosition="140" XPivot="0" YPivot="0" XCrop="32" YCrop="272" Width="32" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="3" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="21" Visible="true">
|
||||||
|
<Frame XPosition="204" YPosition="148" XPivot="16" YPivot="16" XCrop="160" YCrop="48" Width="80" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="4" Visible="true">
|
||||||
|
<Frame XPosition="167" YPosition="172" XPivot="16" YPivot="16" XCrop="80" YCrop="416" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="5" Visible="true">
|
||||||
|
<Frame XPosition="230" YPosition="172" XPivot="16" YPivot="16" XCrop="112" YCrop="416" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="6" Visible="true">
|
||||||
|
<Frame XPosition="291" YPosition="173" XPivot="16" YPivot="16" XCrop="112" YCrop="448" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="7" Visible="true">
|
||||||
|
<Frame XPosition="173" YPosition="205" XPivot="16" YPivot="16" XCrop="80" YCrop="448" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="8" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="22" Visible="true">
|
||||||
|
<Frame XPosition="200" YPosition="203" XPivot="16" YPivot="16" XCrop="140" YCrop="128" Width="140" Height="48" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="9" Visible="true">
|
||||||
|
<Frame XPosition="196" YPosition="172" XPivot="16" YPivot="16" XCrop="112" YCrop="512" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="10" Visible="true">
|
||||||
|
<Frame XPosition="260" YPosition="172" XPivot="16" YPivot="16" XCrop="80" YCrop="480" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="11" Visible="true">
|
||||||
|
<Frame XPosition="315" YPosition="172" XPivot="16" YPivot="16" XCrop="112" YCrop="478" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="12" Visible="true">
|
||||||
|
<Frame XPosition="190" YPosition="230" XPivot="16" YPivot="16" XCrop="80" YCrop="448" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="13" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="false" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="14" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="false" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="15" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="16" YPivot="16" XCrop="0" YCrop="0" Width="32" Height="32" XScale="100" YScale="100" Delay="1" Visible="false" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
<LayerAnimation LayerId="16" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="17" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="18" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="20" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="19" Visible="true"/>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
</Animations>
|
</Animations>
|
||||||
</AnimatedActor>
|
</AnimatedActor>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<AnimatedActor>
|
<AnimatedActor>
|
||||||
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 5:54:19" Version="10" Fps="30"/>
|
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 20:37:04" Version="11" Fps="30"/>
|
||||||
<Content>
|
<Content>
|
||||||
<Spritesheets>
|
<Spritesheets>
|
||||||
<Spritesheet Path="charactermenu_tcl.png" Id="0"/>
|
<Spritesheet Path="charactermenu_tcl.png" Id="0"/>
|
||||||
|
@ -38,5 +38,18 @@
|
||||||
<NullAnimations/>
|
<NullAnimations/>
|
||||||
<Triggers/>
|
<Triggers/>
|
||||||
</Animation>
|
</Animation>
|
||||||
|
<Animation Name="03_Sive" FrameNum="1" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true"/>
|
||||||
|
<LayerAnimation LayerId="1" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="0" XPivot="24" YPivot="24" XCrop="96" YCrop="0" Width="48" Height="48" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
</Animations>
|
</Animations>
|
||||||
</AnimatedActor>
|
</AnimatedActor>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<AnimatedActor>
|
<AnimatedActor>
|
||||||
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 5:14:22" Version="27" Fps="30"/>
|
<Info CreatedBy="Unknown" CreatedOn="04/01/2021 20:36:25" Version="28" Fps="30"/>
|
||||||
<Content>
|
<Content>
|
||||||
<Spritesheets>
|
<Spritesheets>
|
||||||
<Spritesheet Path="deathportraits.png" Id="0"/>
|
<Spritesheet Path="deathportraits.png" Id="0"/>
|
||||||
|
@ -45,5 +45,21 @@
|
||||||
</NullAnimations>
|
</NullAnimations>
|
||||||
<Triggers/>
|
<Triggers/>
|
||||||
</Animation>
|
</Animation>
|
||||||
|
<Animation Name="03_Sive" FrameNum="441" Loop="true">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="17" YPosition="82" XPivot="32" YPivot="8" XCrop="0" YCrop="144" Width="64" Height="16" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations>
|
||||||
|
<NullAnimation NullId="0" Visible="true">
|
||||||
|
<Frame XPosition="-146" YPosition="-73" XScale="100" YScale="100" Delay="1" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</NullAnimation>
|
||||||
|
</NullAnimations>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
</Animations>
|
</Animations>
|
||||||
</AnimatedActor>
|
</AnimatedActor>
|
||||||
|
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 9.8 KiB |
|
@ -51,28 +51,46 @@
|
||||||
maxcharges="0"
|
maxcharges="0"
|
||||||
/>
|
/>
|
||||||
-->
|
-->
|
||||||
<items gfxroot="gfx/" version="1">
|
<items gfxroot="gfx/items/" version="1">
|
||||||
|
|
||||||
<passive name="Bronze Scale Collar"
|
<passive name="Drake Soul"
|
||||||
description="Shiny!"
|
|
||||||
cache=""
|
cache=""
|
||||||
gfx="collectibles/items/bronze_scale.png"
|
description="Long past you carry"
|
||||||
|
gfx="drake_soul.png"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<passive name="Scaly Egg"
|
<passive name="Bronze Scale Collar"
|
||||||
|
cache=""
|
||||||
|
description="Shiny!"
|
||||||
|
gfx="bronze_scale.png"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<trinket name="Bronze Scale Collar"
|
||||||
|
description="Shiny garment!"
|
||||||
|
gfx="bronze_scale.png"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<familiar name="Mommy of Two"
|
||||||
|
cache=""
|
||||||
|
description="Sweet, adorable, mischievous!"
|
||||||
|
gfx="mommy_of_two.png"
|
||||||
|
/>
|
||||||
|
<familiar name="Scaly Egg"
|
||||||
|
cache=""
|
||||||
description="A warming companion."
|
description="A warming companion."
|
||||||
gfx="collectibles/items/scaly_egg.png"
|
gfx="scaly_egg.png"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<active name="Zappy Breath!"
|
<active name="Zappy Breath!"
|
||||||
description="Zappy-zapps in a bottle!"
|
description="Zappy-zapps in a bottle!"
|
||||||
gfx="collectibles/items/zappy.png"
|
gfx="zappy.png"
|
||||||
maxcharges="4"
|
maxcharges="4"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<passive name="Dragon Mark"
|
<passive name="Dragon Mark"
|
||||||
|
cache=""
|
||||||
description="Fiery"
|
description="Fiery"
|
||||||
gfx="collectibles/items/drake_mark.png"
|
gfx="drake_mark.png"
|
||||||
soulhearts="2"
|
soulhearts="2"
|
||||||
maxcharges="4"
|
maxcharges="4"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -6,17 +6,34 @@
|
||||||
portraitroot="gfx/ui/boss/"
|
portraitroot="gfx/ui/boss/"
|
||||||
nameimageroot="gfx/ui/boss/"
|
nameimageroot="gfx/ui/boss/"
|
||||||
bigportraitroot="gfx/ui/stage/">
|
bigportraitroot="gfx/ui/stage/">
|
||||||
|
|
||||||
<player name="01_Ariel"
|
<player name="01_Ariel"
|
||||||
skin="players/01_Ariel_Skin.png" hp="2" armor="4" keys="1"
|
skin="players/01_Ariel_Skin.png"
|
||||||
|
|
||||||
|
black="4" pink="2" keys="1"
|
||||||
|
|
||||||
nameimage="name/01_Ariel.png"
|
nameimage="name/01_Ariel.png"
|
||||||
portrait="portrait/01_Ariel.png"
|
portrait="portrait/01_Ariel.png"
|
||||||
bigportrait="bigportrait/01_Ariel.png"
|
bigportrait="bigportrait/01_Ariel.png"
|
||||||
skinColor="-1" />
|
skinColor="-1" />
|
||||||
|
|
||||||
<player name="02_Nerielle"
|
<player name="02_Nerielle"
|
||||||
skin="players/02_Nerielle_Skin.png"
|
skin="players/02_Nerielle_Skin.png"
|
||||||
hp="4"
|
|
||||||
|
hp="4" armor="2"
|
||||||
|
|
||||||
nameimage="name/02_Nerielle.png"
|
nameimage="name/02_Nerielle.png"
|
||||||
portrait="portrait/02_Nerielle.png"
|
portrait="portrait/02_Nerielle.png"
|
||||||
bigportrait="bigportrait/02_Nerielle.png"
|
bigportrait="bigportrait/02_Nerielle.png"
|
||||||
skinColor="-1" />
|
skinColor="-1" />
|
||||||
|
|
||||||
|
<player name="03_Sive"
|
||||||
|
skin="players/03_Sive_Skin.png"
|
||||||
|
|
||||||
|
hp="6" black="2"
|
||||||
|
|
||||||
|
nameimage="name/03_Sive.png"
|
||||||
|
portrait="portrait/03_Sive.png"
|
||||||
|
bigportrait="bigportrait/03_Sive.png"
|
||||||
|
skinColor="-1" />
|
||||||
</players>
|
</players>
|
||||||
|
|
48
main.lua
|
@ -1,6 +1,8 @@
|
||||||
local Lore = RegisterMod( "thecreativelore", 1 );
|
local Lore = RegisterMod( "thecreativelore", 1 );
|
||||||
--[[ USEFUL FUNCTIONS ]]--
|
--[[ USEFUL FUNCTIONS ]]--
|
||||||
|
|
||||||
|
local Room = Room
|
||||||
|
|
||||||
local function FindClosestEnemy( position, distance, validator )
|
local function FindClosestEnemy( position, distance, validator )
|
||||||
local closestDistance = distance or 9999
|
local closestDistance = distance or 9999
|
||||||
local closestEnemy = nil
|
local closestEnemy = nil
|
||||||
|
@ -19,8 +21,13 @@
|
||||||
return closestEnemy
|
return closestEnemy
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[ ITEMS ]]--
|
||||||
|
ITEM_BRONZE_SCALE = Isaac.GetItemIdByName("Bronze Scale Collar")
|
||||||
|
ITEM_SCALY_EGG = Isaac.GetItemIdByName("Scaly Egg")
|
||||||
|
ITEM_ZAPPY_BREATH = Isaac.GetItemIdByName("Zappy Breath!")
|
||||||
|
ITEM_DRAGON_MARK = Isaac.GetItemIdByName("Dragon Mark")
|
||||||
--[[ CHARACTERS ]]--
|
--[[ CHARACTERS ]]--
|
||||||
-- Ariel
|
-- 01_Ariel
|
||||||
local ARIEL_NAME = "01_Ariel";
|
local ARIEL_NAME = "01_Ariel";
|
||||||
local ARIEL_TYPE = Isaac.GetPlayerTypeByName(ARIEL_NAME);
|
local ARIEL_TYPE = Isaac.GetPlayerTypeByName(ARIEL_NAME);
|
||||||
local ARIEL_STATS = {
|
local ARIEL_STATS = {
|
||||||
|
@ -35,7 +42,7 @@
|
||||||
local ARIEL_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/01_Ariel_Head.anm2")
|
local ARIEL_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/01_Ariel_Head.anm2")
|
||||||
|
|
||||||
|
|
||||||
-- Nerielle
|
-- 02_Nerielle
|
||||||
local NERIELLE_NAME = "02_Nerielle";
|
local NERIELLE_NAME = "02_Nerielle";
|
||||||
local NERIELLE_TYPE = Isaac.GetPlayerTypeByName(NERIELLE_NAME);
|
local NERIELLE_TYPE = Isaac.GetPlayerTypeByName(NERIELLE_NAME);
|
||||||
local NERIELLE_STATS = {
|
local NERIELLE_STATS = {
|
||||||
|
@ -49,6 +56,20 @@
|
||||||
};
|
};
|
||||||
local NERIELLE_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/02_Nerielle_Head.anm2")
|
local NERIELLE_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/02_Nerielle_Head.anm2")
|
||||||
|
|
||||||
|
-- 03_Sive
|
||||||
|
local SIVE_NAME = "03_Sive";
|
||||||
|
local SIVE_TYPE = Isaac.GetPlayerTypeByName(SIVE_NAME);
|
||||||
|
local SIVE_STATS = {
|
||||||
|
MoveSpeedNaturalBonus = 0.10,
|
||||||
|
MoveSpeedNaturalMultiplier = 0.9,
|
||||||
|
DamageNaturalMultiplier = 0.70,
|
||||||
|
ShotSpeedNaturalMultiplier = 0.8,
|
||||||
|
MaxFireDelayNaturalMultiplier = 1.0,
|
||||||
|
MaxFireDelayNaturalExponent = 0.9,
|
||||||
|
TearHeightBonus = 12,
|
||||||
|
};
|
||||||
|
local SIVE_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/03_Sive_Head.anm2")
|
||||||
|
|
||||||
function Lore:PostPlayerInit( player )
|
function Lore:PostPlayerInit( player )
|
||||||
if player:GetPlayerType() == ARIEL_TYPE then
|
if player:GetPlayerType() == ARIEL_TYPE then
|
||||||
player:AddNullCostume( ARIEL_HEAD );
|
player:AddNullCostume( ARIEL_HEAD );
|
||||||
|
@ -56,9 +77,32 @@
|
||||||
if player:GetPlayerType() == NERIELLE_TYPE then
|
if player:GetPlayerType() == NERIELLE_TYPE then
|
||||||
player:AddNullCostume( NERIELLE_HEAD );
|
player:AddNullCostume( NERIELLE_HEAD );
|
||||||
end
|
end
|
||||||
|
if player:GetPlayerType() == SIVE_TYPE then
|
||||||
|
player:AddNullCostume( SIVE_HEAD );
|
||||||
|
end
|
||||||
end
|
end
|
||||||
Lore:AddCallback( ModCallbacks.MC_POST_PLAYER_INIT, Lore.PostPlayerInit );
|
Lore:AddCallback( ModCallbacks.MC_POST_PLAYER_INIT, Lore.PostPlayerInit );
|
||||||
|
|
||||||
|
function Lore:PlayerUpdate( player )
|
||||||
|
-- Collectibles!
|
||||||
|
-- if player:HasCollectible()
|
||||||
|
|
||||||
|
-- Characters!
|
||||||
|
if player:GetPlayerType() == ARIEL_TYPE then
|
||||||
|
ToCharm = FindClosestEnemy(player.Position, 100)
|
||||||
|
if ToCharm ~= nil
|
||||||
|
then ToCharm:AddCharmed(30)
|
||||||
|
end
|
||||||
|
--[[ If only one enemy left, bump up the damage!
|
||||||
|
if Room:GetAliveEnemiesCount() == 1 then
|
||||||
|
player:AnimateHappy()
|
||||||
|
end]]
|
||||||
|
end
|
||||||
|
if player:GetPlayerType() == NERIELLE_TYPE then
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
Lore:AddCallback( ModCallbacks.MC_POST_PLAYER_UPDATE, Lore.PlayerUpdate );
|
||||||
|
|
||||||
--[[ Stats ]]
|
--[[ Stats ]]
|
||||||
function Lore:EvaluateCache( player, cacheFlag )
|
function Lore:EvaluateCache( player, cacheFlag )
|
||||||
|
|
|
@ -0,0 +1,67 @@
|
||||||
|
<AnimatedActor>
|
||||||
|
<Info CreatedBy="robot" CreatedOn="04/01/2021 21:03:00" Version="104" Fps="30"/>
|
||||||
|
<Content>
|
||||||
|
<Spritesheets>
|
||||||
|
<Spritesheet Path="03_Sive_HypnotizingHornyHair.png" Id="0"/>
|
||||||
|
</Spritesheets>
|
||||||
|
<Layers>
|
||||||
|
<Layer Name="head0" Id="0" SpritesheetId="0"/>
|
||||||
|
</Layers>
|
||||||
|
<Nulls/>
|
||||||
|
<Events/>
|
||||||
|
</Content>
|
||||||
|
<Animations DefaultAnimation="HeadDown">
|
||||||
|
<Animation Name="HeadDown" FrameNum="4" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="4" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="0" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="64" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
<Animation Name="HeadRight" FrameNum="4" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="4" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="128" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="192" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
<Animation Name="HeadUp" FrameNum="4" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="4" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="256" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="320" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
<Animation Name="HeadLeft" FrameNum="4" Loop="false">
|
||||||
|
<RootAnimation>
|
||||||
|
<Frame XPosition="0" YPosition="0" XScale="100" YScale="100" Delay="4" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</RootAnimation>
|
||||||
|
<LayerAnimations>
|
||||||
|
<LayerAnimation LayerId="0" Visible="true">
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="384" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
<Frame XPosition="0" YPosition="-5" XPivot="32" YPivot="44" XCrop="448" YCrop="0" Width="64" Height="64" XScale="100" YScale="100" Delay="2" Visible="true" RedTint="255" GreenTint="255" BlueTint="255" AlphaTint="255" RedOffset="0" GreenOffset="0" BlueOffset="0" Rotation="0" Interpolated="false"/>
|
||||||
|
</LayerAnimation>
|
||||||
|
</LayerAnimations>
|
||||||
|
<NullAnimations/>
|
||||||
|
<Triggers/>
|
||||||
|
</Animation>
|
||||||
|
</Animations>
|
||||||
|
</AnimatedActor>
|
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 824 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 531 B |