diff --git a/content/costumes2.xml b/content/costumes2.xml index 6722f2c..6de95b3 100644 --- a/content/costumes2.xml +++ b/content/costumes2.xml @@ -15,4 +15,8 @@ Priority="200" isFlying="true" type="none" /> + diff --git a/content/gfx/CharacterMenu.anm2 b/content/gfx/CharacterMenu.anm2 index e0d2ab8..0f95828 100644 --- a/content/gfx/CharacterMenu.anm2 +++ b/content/gfx/CharacterMenu.anm2 @@ -1,5 +1,5 @@ - + @@ -162,5 +162,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/gfx/CharacterPortraits.anm2 b/content/gfx/CharacterPortraits.anm2 index 08c4aae..ef0360f 100644 --- a/content/gfx/CharacterPortraits.anm2 +++ b/content/gfx/CharacterPortraits.anm2 @@ -1,5 +1,5 @@ - + @@ -38,5 +38,18 @@ + + + + + + + + + + + + + diff --git a/content/gfx/Death Screen.anm2 b/content/gfx/Death Screen.anm2 index c62e254..205d77b 100644 --- a/content/gfx/Death Screen.anm2 +++ b/content/gfx/Death Screen.anm2 @@ -1,5 +1,5 @@ - + @@ -45,5 +45,21 @@ + + + + + + + + + + + + + + + + diff --git a/content/gfx/charactermenu_tcl.png b/content/gfx/charactermenu_tcl.png index 2dbe8d6..9207438 100644 Binary files a/content/gfx/charactermenu_tcl.png and b/content/gfx/charactermenu_tcl.png differ diff --git a/content/items.xml b/content/items.xml index eed596c..8a42481 100644 --- a/content/items.xml +++ b/content/items.xml @@ -51,28 +51,46 @@ maxcharges="0" /> --> - + - - + + + + + diff --git a/content/players.xml b/content/players.xml index a29f99c..9f3af83 100644 --- a/content/players.xml +++ b/content/players.xml @@ -6,17 +6,34 @@ portraitroot="gfx/ui/boss/" nameimageroot="gfx/ui/boss/" bigportraitroot="gfx/ui/stage/"> + + + + diff --git a/main.lua b/main.lua index 261390f..a6e65fc 100644 --- a/main.lua +++ b/main.lua @@ -1,6 +1,8 @@ local Lore = RegisterMod( "thecreativelore", 1 ); --[[ USEFUL FUNCTIONS ]]-- + local Room = Room + local function FindClosestEnemy( position, distance, validator ) local closestDistance = distance or 9999 local closestEnemy = nil @@ -19,8 +21,13 @@ return closestEnemy 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 ]]-- - -- Ariel + -- 01_Ariel local ARIEL_NAME = "01_Ariel"; local ARIEL_TYPE = Isaac.GetPlayerTypeByName(ARIEL_NAME); local ARIEL_STATS = { @@ -35,7 +42,7 @@ local ARIEL_HEAD = Isaac.GetCostumeIdByPath("gfx/characters/players/01_Ariel_Head.anm2") - -- Nerielle + -- 02_Nerielle local NERIELLE_NAME = "02_Nerielle"; local NERIELLE_TYPE = Isaac.GetPlayerTypeByName(NERIELLE_NAME); local NERIELLE_STATS = { @@ -49,6 +56,20 @@ }; 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 ) if player:GetPlayerType() == ARIEL_TYPE then player:AddNullCostume( ARIEL_HEAD ); @@ -56,9 +77,32 @@ if player:GetPlayerType() == NERIELLE_TYPE then player:AddNullCostume( NERIELLE_HEAD ); end + if player:GetPlayerType() == SIVE_TYPE then + player:AddNullCostume( SIVE_HEAD ); + end end 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 ]] function Lore:EvaluateCache( player, cacheFlag ) diff --git a/resources/gfx/characters/players/02_Nerielle_Head.anm2 b/resources/gfx/characters/players/02_Nerielle_Head - copia.anm2 similarity index 100% rename from resources/gfx/characters/players/02_Nerielle_Head.anm2 rename to resources/gfx/characters/players/02_Nerielle_Head - copia.anm2 diff --git a/resources/gfx/characters/players/03_Sive_Head.anm2 b/resources/gfx/characters/players/03_Sive_Head.anm2 new file mode 100644 index 0000000..8ad0bf1 --- /dev/null +++ b/resources/gfx/characters/players/03_Sive_Head.anm2 @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/gfx/characters/players/03_Sive_HypnotizingHornyHair.png b/resources/gfx/characters/players/03_Sive_HypnotizingHornyHair.png new file mode 100644 index 0000000..515dbf8 Binary files /dev/null and b/resources/gfx/characters/players/03_Sive_HypnotizingHornyHair.png differ diff --git a/resources/gfx/characters/players/03_Sive_Skin.png b/resources/gfx/characters/players/03_Sive_Skin.png new file mode 100644 index 0000000..c6a63d9 Binary files /dev/null and b/resources/gfx/characters/players/03_Sive_Skin.png differ diff --git a/resources/gfx/collectibles/items/bronze_scale.png b/resources/gfx/items/collectibles/bronze_scale.png similarity index 100% rename from resources/gfx/collectibles/items/bronze_scale.png rename to resources/gfx/items/collectibles/bronze_scale.png diff --git a/resources/gfx/collectibles/items/drake_mark.png b/resources/gfx/items/collectibles/drake_mark.png similarity index 100% rename from resources/gfx/collectibles/items/drake_mark.png rename to resources/gfx/items/collectibles/drake_mark.png diff --git a/resources/gfx/items/collectibles/drake_soul.png b/resources/gfx/items/collectibles/drake_soul.png new file mode 100644 index 0000000..6523d21 Binary files /dev/null and b/resources/gfx/items/collectibles/drake_soul.png differ diff --git a/resources/gfx/items/collectibles/mommy_of_two.png b/resources/gfx/items/collectibles/mommy_of_two.png new file mode 100644 index 0000000..0bdf926 Binary files /dev/null and b/resources/gfx/items/collectibles/mommy_of_two.png differ diff --git a/resources/gfx/collectibles/items/scaly_egg.png b/resources/gfx/items/collectibles/scaly_egg.png similarity index 100% rename from resources/gfx/collectibles/items/scaly_egg.png rename to resources/gfx/items/collectibles/scaly_egg.png diff --git a/resources/gfx/collectibles/items/zappy.png b/resources/gfx/items/collectibles/zappy.png similarity index 100% rename from resources/gfx/collectibles/items/zappy.png rename to resources/gfx/items/collectibles/zappy.png diff --git a/resources/gfx/items/trinkets/bronze_scale.png b/resources/gfx/items/trinkets/bronze_scale.png new file mode 100644 index 0000000..8651761 Binary files /dev/null and b/resources/gfx/items/trinkets/bronze_scale.png differ