commit 266e0ad8caea533079c1788eb6c54049d8b143fb Author: UndeadMaelys Date: Sun Jan 3 15:29:53 2021 +0100 uploading base project structure (& ariel skin and some nerielle item icons! also 20% nerielle skin) diff --git a/content/costumes2.xml b/content/costumes2.xml new file mode 100644 index 0000000..8483b24 --- /dev/null +++ b/content/costumes2.xml @@ -0,0 +1,16 @@ + + + + diff --git a/content/entities2.xml b/content/entities2.xml new file mode 100644 index 0000000..cb60c68 --- /dev/null +++ b/content/entities2.xml @@ -0,0 +1,32 @@ + + + + + diff --git a/content/itempools.xml b/content/itempools.xml new file mode 100644 index 0000000..02e97c1 --- /dev/null +++ b/content/itempools.xml @@ -0,0 +1,38 @@ + + + + + + + + + diff --git a/content/items.xml b/content/items.xml new file mode 100644 index 0000000..cdf417e --- /dev/null +++ b/content/items.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + diff --git a/content/players.xml b/content/players.xml new file mode 100644 index 0000000..ad62a79 --- /dev/null +++ b/content/players.xml @@ -0,0 +1,20 @@ + + + + diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..a01fa3f --- /dev/null +++ b/main.lua @@ -0,0 +1,38 @@ + local Lore = RegisterMod( "thecreativelore", 1 ); + + --[[ CHARACTERS ]] + -- Ariel + local ARIEL_NAME = "Ariel"; + local ARIEL_TYPE = Isaac.GetPlayerTypeByName(ARIEL_NAME); + local ARIEL_STATS = { + MoveSpeedNaturalBonus = 0.10, + MoveSpeedNaturalMultiplier = 0.9, + DamageNaturalMultiplier = 0.70, + ShotSpeedNaturalMultiplier = 0.8, + MaxFireDelayNaturalMultiplier = 1.0, + MaxFireDelayNaturalExponent = 0.9, + TearHeightBonus = 12, + }; + + + --[[ Stats ]] + function Lore:EvaluateCache( player, cacheFlag ) + if player:GetPlayerType() = ARIEL_TYPE then + --[[ if cacheFlag == CacheFlag.CACHE_SPEED then + player.MoveSpeed = player.MoveSpeed * ARIEL_STATS.MoveSpeedNaturalMultiplier + ARIEL_STATS.MoveSpeedNaturalBonus; + elseif cacheFlag == CacheFlag.CACHE_SHOTSPEED then + player.ShotSpeed = player.ShotSpeed * ARIEL_STATS.ShotSpeedNaturalMultiplier; + elseif cacheFlag == CacheFlag.CACHE_DAMAGE then + player.Damage = player.Damage * ARIEL_STATS.DamageNaturalMultiplier; + elseif cacheFlag == CacheFlag.CACHE_FIREDELAY then + player.MaxFireDelay = math.floor( math.max( 1, player.MaxFireDelay * ARIEL_STATS.MaxFireDelayNaturalMultiplier ) ^ ARIEL_STATS.MaxFireDelayNaturalExponent ); + elseif cacheFlag == CacheFlag.CACHE_RANGE then + player.TearHeight = player.TearHeight + ARIEL_STATS.TearHeightBonus; + elseif cacheFlag == CacheFlag.CACHE_TEARCOLOR then + --player.TearColor = GAPPI_COLOR; + --Player.LaserColor = GAPPI_COLOR; + end]] + player.CanFly = true + end + end + Lore:AddCallback( ModCallbacks.MC_EVALUATE_CACHE, Lore.EvaluateCache ); diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..39369f6 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,8 @@ + + thecreativelore + thecreativelore + + 1.0 + + + diff --git a/resources/gfx/characters/costumes/ariel/base.png b/resources/gfx/characters/costumes/ariel/base.png new file mode 100644 index 0000000..f58787d Binary files /dev/null and b/resources/gfx/characters/costumes/ariel/base.png differ diff --git a/resources/gfx/characters/costumes/nerielle/base.png b/resources/gfx/characters/costumes/nerielle/base.png new file mode 100644 index 0000000..ebaac26 Binary files /dev/null and b/resources/gfx/characters/costumes/nerielle/base.png differ diff --git a/resources/gfx/characters/costumes/template/base.png b/resources/gfx/characters/costumes/template/base.png new file mode 100644 index 0000000..101d61d Binary files /dev/null and b/resources/gfx/characters/costumes/template/base.png differ diff --git a/resources/gfx/collectibles/items/bronze_scale.png b/resources/gfx/collectibles/items/bronze_scale.png new file mode 100644 index 0000000..8651761 Binary files /dev/null and b/resources/gfx/collectibles/items/bronze_scale.png differ diff --git a/resources/gfx/collectibles/items/drake_mark.png b/resources/gfx/collectibles/items/drake_mark.png new file mode 100644 index 0000000..67e6cf4 Binary files /dev/null and b/resources/gfx/collectibles/items/drake_mark.png differ diff --git a/resources/gfx/collectibles/items/scaly_egg.png b/resources/gfx/collectibles/items/scaly_egg.png new file mode 100644 index 0000000..5bb27d1 Binary files /dev/null and b/resources/gfx/collectibles/items/scaly_egg.png differ diff --git a/resources/gfx/collectibles/items/zappy.png b/resources/gfx/collectibles/items/zappy.png new file mode 100644 index 0000000..0e8a9b9 Binary files /dev/null and b/resources/gfx/collectibles/items/zappy.png differ