From a27325bb3ee1047a882c8a10c038f8472af8c660 Mon Sep 17 00:00:00 2001 From: "Emilia(SleepeeSoftware)" Date: Sun, 22 Feb 2026 20:09:01 +0100 Subject: [PATCH] not yet autoloaded but everything work fine --- Content/Items/Accessories/Spacesuit.cs | 14 ++++------- Content/Items/Ammo/QuantumVacuumTube.png | Bin 0 -> 389 bytes Content/Items/Ammo/VacuumTube.cs | 22 +++++++++++++++--- Content/Items/Weapon/EmiliasWand.cs | 2 +- Content/Items/Weapon/SpaceBlaster.cs | 8 +++---- Content/Projectiles/EmiliasWandProjectile.cs | 4 ++-- Content/Projectiles/EmiliasWandProjectile.png | Bin 492 -> 355 bytes Content/Projectiles/SpaceBlasterProjectile.cs | 16 +++++++++---- Emiliasmod.cs | 4 +++- Localization/en-US_Mods.Emiliasmod.hjson | 5 ++++ README.md | 9 +++++++ 11 files changed, 60 insertions(+), 24 deletions(-) create mode 100644 Content/Items/Ammo/QuantumVacuumTube.png diff --git a/Content/Items/Accessories/Spacesuit.cs b/Content/Items/Accessories/Spacesuit.cs index fb52fe3..07ba70c 100644 --- a/Content/Items/Accessories/Spacesuit.cs +++ b/Content/Items/Accessories/Spacesuit.cs @@ -48,15 +48,11 @@ namespace Emiliasmod.Content.Items.Accessories player.statDefense += DefenseBonus; - - if (player.wet || player.honeyWet || player.lavaWet || player.shimmerWet) { - player.arcticDivingGear = true; - player.accMerman = true; - } - if (Main.dayTime == false) - { - player.wereWolf = true; - } + + //player.arcticDivingGear = true; + player.accMerman = true; + player.wolfAcc = true; + player.accDivingHelm = true; player.buffImmune[BuffID.BrokenArmor] = true; player.buffImmune[BuffID.Bleeding] = true; diff --git a/Content/Items/Ammo/QuantumVacuumTube.png b/Content/Items/Ammo/QuantumVacuumTube.png new file mode 100644 index 0000000000000000000000000000000000000000..6fbc63ae4f912dd3b4c40ba34788f4460e01b358 GIT binary patch literal 389 zcmV;00eb$4P)Px$KS@MER7i=fRl#w@APn5~q>MC?5_nz*nMqm*Pp1bzofhJmbZ}2fa1+;u@`&Z* zKp5Bq_%MuW(F6LF^C|D z;385j)0XY&B}#*2B?=;8=?qBMlnD}nj$}1}wu5=Xjdb{=^YK^r zQ|D_2j-(FDZ~(?q%kBZMt-9EYTGHN&SZr6?NENjreFqt|yDm??c_>H!hzh&M{^3Xp jnZK(); // The bolt it fires - Item.ammo = Item.type; // This item IS the ammo type + Item.shoot = ModContent.ProjectileType(); + Item.ammo = ModContent.ItemType(); + } + } + public class QuantumVacuumTube : ModItem {//for debug purpose while overheat isn't created + public override void SetDefaults() { + Item.width = 24; + Item.height = 24; + Item.maxStack = 1; + Item.consumable = false; + Item.knockBack = 0f; + Item.crit = 0; + Item.value = Item.sellPrice(0, 15, 5, 0); + Item.rare = ItemRarityID.Red; + Item.shoot = ModContent.ProjectileType(); + Item.ammo = ModContent.ItemType(); } } } diff --git a/Content/Items/Weapon/EmiliasWand.cs b/Content/Items/Weapon/EmiliasWand.cs index 48f11e2..72a31bb 100644 --- a/Content/Items/Weapon/EmiliasWand.cs +++ b/Content/Items/Weapon/EmiliasWand.cs @@ -36,7 +36,7 @@ namespace Emiliasmod.Content.Items.Weapon Item.rare = ItemRarityID.Red; //Item.UseSound = SoundID.ZombieMoan; Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 24f; // Adjusts how far away from the player to hold the projectile + Item.shootSpeed = 32f; // Adjusts how far away from the player to hold the projectile Item.noMelee = true; // Turns off damage from the item itself, as we have a projectile Item.noUseGraphic = true; // Stops the item from drawing in your hands, for the aforementioned reason Item.channel = true; diff --git a/Content/Items/Weapon/SpaceBlaster.cs b/Content/Items/Weapon/SpaceBlaster.cs index df7aedd..fbbef4c 100644 --- a/Content/Items/Weapon/SpaceBlaster.cs +++ b/Content/Items/Weapon/SpaceBlaster.cs @@ -41,9 +41,9 @@ namespace Emiliasmod.Content.Items.Weapon recipe.Register(); } - public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) - { - base.PostDrawInWorld(spriteBatch, lightColor, alphaColor, rotation, scale, whoAmI); - } + //public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + //{ + // base.PostDrawInWorld(spriteBatch, lightColor, alphaColor, rotation, scale, whoAmI); + //} } } diff --git a/Content/Projectiles/EmiliasWandProjectile.cs b/Content/Projectiles/EmiliasWandProjectile.cs index 76e3f25..ff463c3 100644 --- a/Content/Projectiles/EmiliasWandProjectile.cs +++ b/Content/Projectiles/EmiliasWandProjectile.cs @@ -14,8 +14,8 @@ namespace Emiliasmod.Content.Projectiles } public override void SetDefaults() { - Projectile.width = 64; - Projectile.height = 64; + Projectile.width = 14; + Projectile.height = 16; Projectile.friendly = true; Projectile.tileCollide = false; Projectile.penetrate = -1; diff --git a/Content/Projectiles/EmiliasWandProjectile.png b/Content/Projectiles/EmiliasWandProjectile.png index 40137822e7ed305846e91f63ebdff529a5a6403a..6c2700dfbec13584a66db70550ce6c8114c0be70 100644 GIT binary patch literal 355 zcmV-p0i6DcP)Px$9Z5t%R7it_7L5f*E-(}vxj;u72>}*d5=TqQAdC~csB0tjooe0FMV`h9HU@Y#4x*GpGmR+i z9DIc`a$$_o&LIU1A&nTVM{EIv9xwyr)KQJJ(1-#QC8Yl=N=X0z`v1lM`wt*^@$y6e zVd4Yp)FGr1Yk{mIX-rTfBf0>t_A7F;nt_3V0RUvFZO{IP-)R5<002ovPDHLkV1it{ BjGzDj literal 492 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=jKx9jP7LeL$-D%zmwCE4hE&XX zJA0!Sv!g_d`Xl2LCq;{Tr*lFmPb=7}6{pN05*>=WFn^br=zP|i3yZJfW0z_HvjyDoSG*{oNWXOIWDt z7!bDDFzf<`PvoSw?*{yrpC4U*yPCt*`gT9EyEe5>EVZ