mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
extra Orb shapes
This commit is contained in:
parent
3003cda827
commit
46683b06fe
@ -534,7 +534,7 @@ EX genderswitch_t genderswitch[NUM_GS] = {
|
|||||||
// --- items ---
|
// --- items ---
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
enum eOrbshape { osNone, osLove, osRanged, osOffensive, osFriend, osUtility, osDirectional, osWarping, osFrog };
|
enum eOrbshape { osNone, osLove, osRanged, osOffensive, osFriend, osUtility, osDirectional, osWarping, osFrog, osPowerUtility, osProtective, osMovement, osTerraform };
|
||||||
|
|
||||||
static const flagtype ZERO = 0;
|
static const flagtype ZERO = 0;
|
||||||
|
|
||||||
|
36
content.cpp
36
content.cpp
@ -474,15 +474,15 @@ ITEM( 'o', 0xFFFF00, "Orb of Storms", itOrbLightning, IC_ORB, ZERO, RESERVED, os
|
|||||||
"This orb can be used to invoke the lightning spell, which causes lightning bolts to shoot from you in all directions.")
|
"This orb can be used to invoke the lightning spell, which causes lightning bolts to shoot from you in all directions.")
|
||||||
ITEM( 'o', 0xFFFFFF, "Orb of Flash", itOrbFlash, IC_ORB, ZERO, RESERVED, osOffensive,
|
ITEM( 'o', 0xFFFFFF, "Orb of Flash", itOrbFlash, IC_ORB, ZERO, RESERVED, osOffensive,
|
||||||
"This orb can be used to invoke a flash spell, which destroys almost everything in radius of 2.")
|
"This orb can be used to invoke a flash spell, which destroys almost everything in radius of 2.")
|
||||||
ITEM( 'o', 0x8080FF, "Orb of Winter", itOrbWinter, IC_ORB, ZERO | IF_FIREPROOF | IF_PROTECTION | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0x8080FF, "Orb of Winter", itOrbWinter, IC_ORB, ZERO | IF_FIREPROOF | IF_PROTECTION | IF_EMPATHY, RESERVED, osProtective,
|
||||||
"This orb can be used to invoke a wall of ice. It also protects you from fires.")
|
"This orb can be used to invoke a wall of ice. It also protects you from fires.")
|
||||||
ITEM( 'o', 0xFF6060, "Orb of Speed", itOrbSpeed, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osUtility,
|
ITEM( 'o', 0xFF6060, "Orb of Speed", itOrbSpeed, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osMovement,
|
||||||
"This orb can be used to move faster for some time.")
|
"This orb can be used to move faster for some time.")
|
||||||
ITEM( 'o', 0x90B090, "Orb of Life", itOrbLife, IC_ORB, ZERO | IF_SHMUPLIFE | IF_REVIVAL, RESERVED, osFriend,
|
ITEM( 'o', 0x90B090, "Orb of Life", itOrbLife, IC_ORB, ZERO | IF_SHMUPLIFE | IF_REVIVAL, RESERVED, osFriend,
|
||||||
"This orb can be used to summon friendly golems. It is used instantly when you pick it up.")
|
"This orb can be used to summon friendly golems. It is used instantly when you pick it up.")
|
||||||
ITEM( 'o', 0x60D760, "Orb of Shielding", itOrbShield, IC_ORB, ZERO | IF_PROTECTION | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0x60D760, "Orb of Shielding", itOrbShield, IC_ORB, ZERO | IF_PROTECTION | IF_EMPATHY, RESERVED, osProtective,
|
||||||
"This orb can protect you from damage.")
|
"This orb can protect you from damage.")
|
||||||
ITEM( 'o', 0x606060, "Orb of Earth", itOrbDigging, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osUtility,
|
ITEM( 'o', 0x606060, "Orb of Earth", itOrbDigging, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osTerraform,
|
||||||
"This orb lets you go through living walls. It also has powers in some of the other lands.")
|
"This orb lets you go through living walls. It also has powers in some of the other lands.")
|
||||||
ITEM( 'o', 0x20FFFF, "Orb of Teleport", itOrbTeleport, IC_ORB, ZERO | IF_RANGED, RESERVED, osRanged,
|
ITEM( 'o', 0x20FFFF, "Orb of Teleport", itOrbTeleport, IC_ORB, ZERO | IF_RANGED, RESERVED, osRanged,
|
||||||
"This orb lets you instantly move to another location on the map. Just click a location which "
|
"This orb lets you instantly move to another location on the map. Just click a location which "
|
||||||
@ -503,7 +503,7 @@ ITEM( '%', 0x0000FF, "Fern Flower", itFernFlower, IC_TREASURE, ZERO, RESERVED, o
|
|||||||
ITEM( '!', 0x900000, "Wine", itWine, IC_TREASURE, ZERO, RESERVED, osNone,
|
ITEM( '!', 0x900000, "Wine", itWine, IC_TREASURE, ZERO, RESERVED, osNone,
|
||||||
"Wine grown under hyperbolic sun would be extremely prized in your home location."
|
"Wine grown under hyperbolic sun would be extremely prized in your home location."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x706070, "Orb of Aether", itOrbAether, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osUtility,
|
ITEM( 'o', 0x706070, "Orb of Aether", itOrbAether, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osMovement,
|
||||||
"This orb allows one to pass through all kinds of walls and chasms."
|
"This orb allows one to pass through all kinds of walls and chasms."
|
||||||
)
|
)
|
||||||
ITEM( '$', 0xFFFFC0, "Silver", itSilver, IC_TREASURE, ZERO, RESERVED, osNone,
|
ITEM( '$', 0xFFFFC0, "Silver", itSilver, IC_TREASURE, ZERO, RESERVED, osNone,
|
||||||
@ -519,7 +519,7 @@ ITEM( '!', 0xE2B227, "Royal Jelly", itRoyalJelly, IC_TREASURE, ZERO, RESERVED, o
|
|||||||
ITEM( '*', 0x60C060, "Emerald", itEmerald, IC_TREASURE, ZERO, RESERVED, osNone,
|
ITEM( '*', 0x60C060, "Emerald", itEmerald, IC_TREASURE, ZERO, RESERVED, osNone,
|
||||||
"A precious green gem from the Emerald Mines."
|
"A precious green gem from the Emerald Mines."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x421C52, "Orb of Invisibility", itOrbInvis, IC_ORB, ZERO | IF_PROTECTION | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0x421C52, "Orb of Invisibility", itOrbInvis, IC_ORB, ZERO | IF_PROTECTION | IF_EMPATHY, RESERVED, osProtective,
|
||||||
"When you have this Orb, most monsters won't see you, unless "
|
"When you have this Orb, most monsters won't see you, unless "
|
||||||
"you are standing still, attacking, or picking up items."
|
"you are standing still, attacking, or picking up items."
|
||||||
)
|
)
|
||||||
@ -527,7 +527,7 @@ ITEM( '*', 0xFFFF00, "Powerstone", itPower, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
"A Stone from the Land of Power. You are not sure what it is exactly, but "
|
"A Stone from the Land of Power. You are not sure what it is exactly, but "
|
||||||
"as the Powerstones are kept in crystal cabinets, they are surely valuable."
|
"as the Powerstones are kept in crystal cabinets, they are surely valuable."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0xFF4000, "Orb of Fire", itOrbFire, IC_ORB, ZERO | IF_FIREPROOF | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0xFF4000, "Orb of Fire", itOrbFire, IC_ORB, ZERO | IF_FIREPROOF | IF_EMPATHY, RESERVED, osTerraform,
|
||||||
"When you have this Orb, you will leave a trail of fire behind you."
|
"When you have this Orb, you will leave a trail of fire behind you."
|
||||||
)
|
)
|
||||||
ITEM( '!', 0xFFFF00, "Holy Grail", itHolyGrail, IC_OTHER, ZERO, RESERVED, osNone, camelothelp )
|
ITEM( '!', 0xFFFF00, "Holy Grail", itHolyGrail, IC_OTHER, ZERO, RESERVED, osNone, camelothelp )
|
||||||
@ -557,7 +557,7 @@ ITEM( '?', 0xFFFFFF, "Compass", itCompass, IC_OTHER, ZERO, RESERVED, osNone,
|
|||||||
"far towards the center as they can, and hide their treasure there."
|
"far towards the center as they can, and hide their treasure there."
|
||||||
)
|
)
|
||||||
ITEM( '*', 0xFF8080, "Red Gem", itRedGem, IC_TREASURE, ZERO, RESERVED, osNone, "A gem from the Red Rock Valley.")
|
ITEM( '*', 0xFF8080, "Red Gem", itRedGem, IC_TREASURE, ZERO, RESERVED, osNone, "A gem from the Red Rock Valley.")
|
||||||
ITEM( 'o', 0x6060FF, "Orb of Time", itOrbTime, IC_ORB, ZERO, RESERVED, osUtility,
|
ITEM( 'o', 0x6060FF, "Orb of Time", itOrbTime, IC_ORB, ZERO, RESERVED, osPowerUtility,
|
||||||
"Normally, the power of most Orbs slowly fades away, even when "
|
"Normally, the power of most Orbs slowly fades away, even when "
|
||||||
"you are not actively using them. This Orb prevents this.\n\n"
|
"you are not actively using them. This Orb prevents this.\n\n"
|
||||||
|
|
||||||
@ -591,7 +591,7 @@ ITEM( '$', 0xFFFFFF, "Pearl", itWhirlpool, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
ITEM( 'o', 0x306000, "Orb of Friendship", itOrbFriend, IC_ORB, ZERO | IF_SHMUPLIFE | IF_REVIVAL, RESERVED, osFriend,
|
ITEM( 'o', 0x306000, "Orb of Friendship", itOrbFriend, IC_ORB, ZERO | IF_SHMUPLIFE | IF_REVIVAL, RESERVED, osFriend,
|
||||||
"This Orb summons a friendly Bomberbird."
|
"This Orb summons a friendly Bomberbird."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x000060, "Orb of Water", itOrbWater, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0x000060, "Orb of Water", itOrbWater, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osTerraform,
|
||||||
"This Orb allows your boat to go against the current, "
|
"This Orb allows your boat to go against the current, "
|
||||||
"and also to go into the land, creating water on the way."
|
"and also to go into the land, creating water on the way."
|
||||||
)
|
)
|
||||||
@ -696,7 +696,7 @@ ITEM( '*', 0xFF40A0, "Coral", itCoral, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
"but natural corals from the Warped Sea have truly beautiful shapes. "
|
"but natural corals from the Warped Sea have truly beautiful shapes. "
|
||||||
"Ratlings know the value of corals, and thus keep them in boats for safety."
|
"Ratlings know the value of corals, and thus keep them in boats for safety."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x764e7c*2, "Orb of Beauty", itOrbBeauty, IC_ORB, ZERO, RESERVED, osNone,
|
ITEM( 'o', 0x764e7c*2, "Orb of Beauty", itOrbBeauty, IC_ORB, ZERO, RESERVED, osProtective,
|
||||||
"This Orb makes you stunningly beautiful. "
|
"This Orb makes you stunningly beautiful. "
|
||||||
"Monsters which come next to you will be stunned for one turn. "
|
"Monsters which come next to you will be stunned for one turn. "
|
||||||
"Multi-tile monsters are not affected. Additionally, it makes you immune to "
|
"Multi-tile monsters are not affected. Additionally, it makes you immune to "
|
||||||
@ -706,7 +706,7 @@ ITEM( 'o', 0xFFFF80, "Orb of the Warp", itOrb37, IC_ORB, ZERO, RESERVED, osWarpi
|
|||||||
"This Orb creates a warped zone of radius 5 around you, "
|
"This Orb creates a warped zone of radius 5 around you, "
|
||||||
"and also allows you to move diagonally in warped zones."
|
"and also allows you to move diagonally in warped zones."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0xFFFF80, "Orb of Energy", itOrbEnergy, IC_ORB, ZERO, RESERVED, osUtility,
|
ITEM( 'o', 0xFFFF80, "Orb of Energy", itOrbEnergy, IC_ORB, ZERO, RESERVED, osPowerUtility,
|
||||||
"This Orb halves the power usage of orbs which cost some "
|
"This Orb halves the power usage of orbs which cost some "
|
||||||
"charges with each activation. It even affects the "
|
"charges with each activation. It even affects the "
|
||||||
"one-shot orbs such as Flash or Teleport. If such an activation "
|
"one-shot orbs such as Flash or Teleport. If such an activation "
|
||||||
@ -714,7 +714,7 @@ ITEM( 'o', 0xFFFF80, "Orb of Energy", itOrbEnergy, IC_ORB, ZERO, RESERVED, osUti
|
|||||||
"if you have an Orb of Energy."
|
"if you have an Orb of Energy."
|
||||||
)
|
)
|
||||||
ITEM( 't', 0x487830, "Baby Tortoise", itBabyTortoise, IC_TREASURE, ZERO, RESERVED, osNone, tortoisedesc)
|
ITEM( 't', 0x487830, "Baby Tortoise", itBabyTortoise, IC_TREASURE, ZERO, RESERVED, osNone, tortoisedesc)
|
||||||
ITEM( 'o', 0x487830, "Orb of the Shell", itOrbShell, IC_ORB, ZERO | IF_PROTECTION, RESERVED, osNone,
|
ITEM( 'o', 0x487830, "Orb of the Shell", itOrbShell, IC_ORB, ZERO | IF_PROTECTION, RESERVED, osProtective,
|
||||||
"This Orb protects you from physical attacks. "
|
"This Orb protects you from physical attacks. "
|
||||||
"It lasts for more turns than the Orb of Shielding, but "
|
"It lasts for more turns than the Orb of Shielding, but "
|
||||||
"10 charges are lost whenever you are attacked. "
|
"10 charges are lost whenever you are attacked. "
|
||||||
@ -764,7 +764,7 @@ ITEM( '!', 0xFFD700, "Golden Egg", itTrollEgg, IC_TREASURE, ZERO, RESERVED, osNo
|
|||||||
)
|
)
|
||||||
ITEM( '!', 0xFF0000, "Warning", itWarning, IC_NAI, ZERO, RESERVED, osNone, warningdesc
|
ITEM( '!', 0xFF0000, "Warning", itWarning, IC_NAI, ZERO, RESERVED, osNone, warningdesc
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x808080, "Orb of the Stone", itOrbStone, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osNone,
|
ITEM( 'o', 0x808080, "Orb of the Stone", itOrbStone, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osTerraform,
|
||||||
"Trolls turn into stone walls when they die. When you have this Orb, "
|
"Trolls turn into stone walls when they die. When you have this Orb, "
|
||||||
"this happens to every monster you defeat. Statues created from this Orb "
|
"this happens to every monster you defeat. Statues created from this Orb "
|
||||||
"have slightly different properties than Trolls who petrify naturally."
|
"have slightly different properties than Trolls who petrify naturally."
|
||||||
@ -775,7 +775,7 @@ ITEM( '%', 0x30A030, "Slime Mold", itSlime, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
"A very interesting species of slime mold."
|
"A very interesting species of slime mold."
|
||||||
)
|
)
|
||||||
ITEM( '*', 0xFF00FF, "Amethyst", itAmethyst, IC_TREASURE, ZERO, RESERVED, osNone, "A beatiful purple gem from the Lost Mountain." )
|
ITEM( '*', 0xFF00FF, "Amethyst", itAmethyst, IC_TREASURE, ZERO, RESERVED, osNone, "A beatiful purple gem from the Lost Mountain." )
|
||||||
ITEM( 'o', 0xC00040, "Orb of Recall", itOrbRecall, IC_ORB, ZERO, RESERVED, osNone,
|
ITEM( 'o', 0xC00040, "Orb of Recall", itOrbRecall, IC_ORB, ZERO, RESERVED, osUtility,
|
||||||
"When the charges on this Orb expire, "
|
"When the charges on this Orb expire, "
|
||||||
"you will be automatically returned to the place where you have found it. "
|
"you will be automatically returned to the place where you have found it. "
|
||||||
"Extra Orbs of Recall delay this without changing the recall location. "
|
"Extra Orbs of Recall delay this without changing the recall location. "
|
||||||
@ -823,7 +823,7 @@ ITEM( 'o', 0x30A080, "Orb of the Triangle", itOrbSide2, IC_ORB, ZERO | IF_EMPATH
|
|||||||
"you originally attacked.")
|
"you originally attacked.")
|
||||||
ITEM( 'o', 0x30D080, "Orb of Ferocity", itOrbSide3, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osOffensive,
|
ITEM( 'o', 0x30D080, "Orb of Ferocity", itOrbSide3, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osOffensive,
|
||||||
"Whenever you attack with this Orb, you also hit the monsters adjacent to you and opposite to the monster you originally attacked.")
|
"Whenever you attack with this Orb, you also hit the monsters adjacent to you and opposite to the monster you originally attacked.")
|
||||||
ITEM( 'o', 0xD08030, "Orb of Lava", itOrbLava, IC_ORB, ZERO | IF_FIREPROOF, RESERVED, osUtility,
|
ITEM( 'o', 0xD08030, "Orb of Lava", itOrbLava, IC_ORB, ZERO | IF_FIREPROOF, RESERVED, osTerraform,
|
||||||
"This Orb summons a minor volcanic activity around you. "
|
"This Orb summons a minor volcanic activity around you. "
|
||||||
"All the heptagonal cells adjacent to enemies in distance at most 5 to you "
|
"All the heptagonal cells adjacent to enemies in distance at most 5 to you "
|
||||||
"will be set on fire. Does not affect the cell you are on, and enemies resistant to fire.")
|
"will be set on fire. Does not affect the cell you are on, and enemies resistant to fire.")
|
||||||
@ -838,7 +838,7 @@ ITEM( '*', 0x80FF80, "Monopole", itMagnet, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
ITEM( '!', 0xFF00FF, "Tasty Jelly", itSwitch, IC_TREASURE, ZERO, RESERVED, osNone, "A tasty byproduct of the Jelly Revolution.")
|
ITEM( '!', 0xFF00FF, "Tasty Jelly", itSwitch, IC_TREASURE, ZERO, RESERVED, osNone, "A tasty byproduct of the Jelly Revolution.")
|
||||||
ITEM( 'o', 0xFFFF80, "Orb of Phasing", itOrbPhasing, IC_ORB, ZERO, RESERVED, osFrog,
|
ITEM( 'o', 0xFFFF80, "Orb of Phasing", itOrbPhasing, IC_ORB, ZERO, RESERVED, osFrog,
|
||||||
"This orb lets you pass through walls (one cell wide), and also through monsters, as long as they will not attack you in transit.")
|
"This orb lets you pass through walls (one cell wide), and also through monsters, as long as they will not attack you in transit.")
|
||||||
ITEM( 'o', 0xFFFF80, "Orb of Magnetism", itOrbMagnetism, IC_ORB, ZERO, RESERVED, osNone, NODESCYET)
|
ITEM( 'o', 0xFFFF80, "Orb of Magnetism", itOrbMagnetism, IC_ORB, ZERO, RESERVED, osUtility, NODESCYET)
|
||||||
ITEM( 'o', 0x202020, "Orb of Slaying", itOrbSlaying, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osOffensive,
|
ITEM( 'o', 0x202020, "Orb of Slaying", itOrbSlaying, IC_ORB, ZERO | IF_EMPATHY, RESERVED, osOffensive,
|
||||||
"This Orb lets you defeat Raiders and other tough single-cell monsters in melee."
|
"This Orb lets you defeat Raiders and other tough single-cell monsters in melee."
|
||||||
)
|
)
|
||||||
@ -849,7 +849,7 @@ ITEM( '$', 0xF0C0C0, "Meteorite", itWest, IC_TREASURE, ZERO, RESERVED, osNone,
|
|||||||
"These rocks falling from the sky have been captured to fall forever in the artificial gravity. Meteorite iron is believed to be a valuable material for magical weapons.")
|
"These rocks falling from the sky have been captured to fall forever in the artificial gravity. Meteorite iron is believed to be a valuable material for magical weapons.")
|
||||||
ITEM( '*', 0x30FF30, "Torbernite", itVarTreasure, IC_TREASURE, ZERO, RESERVED, osNone,
|
ITEM( '*', 0x30FF30, "Torbernite", itVarTreasure, IC_TREASURE, ZERO, RESERVED, osNone,
|
||||||
"Crystals emitting magical radiation.")
|
"Crystals emitting magical radiation.")
|
||||||
ITEM( 'o', 0x703800, "Orb of Intensity", itOrbIntensity, IC_ORB, ZERO, RESERVED, osNone,
|
ITEM( 'o', 0x703800, "Orb of Intensity", itOrbIntensity, IC_ORB, ZERO, RESERVED, osPowerUtility,
|
||||||
"When you have this, initial and maximal charge amounts of all Orbs are increased by 20%."
|
"When you have this, initial and maximal charge amounts of all Orbs are increased by 20%."
|
||||||
)
|
)
|
||||||
ITEM( 'o', 0x80D080, "Orb of Gravity", itOrbGravity, IC_ORB, ZERO | IF_SHMUPLIFE, RESERVED, osWarping,
|
ITEM( 'o', 0x80D080, "Orb of Gravity", itOrbGravity, IC_ORB, ZERO | IF_SHMUPLIFE, RESERVED, osWarping,
|
||||||
@ -1622,7 +1622,7 @@ MONSTER( 'W', 0xA04060, "Mutant2", moVariantWarrior2, CF_FACE_UP, RESERVED, moYe
|
|||||||
)
|
)
|
||||||
ITEM( '/', 0x26619c, "Lazurite Figurine", itEclectic, IC_TREASURE, ZERO, RESERVED, osNone,
|
ITEM( '/', 0x26619c, "Lazurite Figurine", itEclectic, IC_TREASURE, ZERO, RESERVED, osNone,
|
||||||
"A beautiful blue figurine. Every figurine is different.")
|
"A beautiful blue figurine. Every figurine is different.")
|
||||||
ITEM( 'o', 0x808080, "Orb of Chaos", itOrbChaos, IC_ORB, ZERO, RESERVED, osUtility,
|
ITEM( 'o', 0x808080, "Orb of Chaos", itOrbChaos, IC_ORB, ZERO, RESERVED, osTerraform,
|
||||||
"When you move, the contents of the two cells adjacent to your both locations are swapped. "
|
"When you move, the contents of the two cells adjacent to your both locations are swapped. "
|
||||||
"If they contain creatures, these creatures will be stunned for some time, before they understand what happened.\n\n"
|
"If they contain creatures, these creatures will be stunned for some time, before they understand what happened.\n\n"
|
||||||
"Does not work if one of the cells contains a "
|
"Does not work if one of the cells contains a "
|
||||||
|
@ -215,7 +215,8 @@ hpcshape
|
|||||||
shEgg,
|
shEgg,
|
||||||
shSpikedRing, shTargetRing, shSawRing, shGearRing, shPeaceRing, shHeptaRing,
|
shSpikedRing, shTargetRing, shSawRing, shGearRing, shPeaceRing, shHeptaRing,
|
||||||
shSpearRing, shLoveRing,
|
shSpearRing, shLoveRing,
|
||||||
shFrogRing, shReserved1, shReserved2,
|
shFrogRing,
|
||||||
|
shPowerGearRing, shProtectiveRing, shTerraRing, shMoveRing, shReserved4, shMoonDisk,
|
||||||
shDaisy, shTriangle, shNecro, shStatue, shKey, shWindArrow,
|
shDaisy, shTriangle, shNecro, shStatue, shKey, shWindArrow,
|
||||||
shGun,
|
shGun,
|
||||||
shFigurine, shTreat,
|
shFigurine, shTreat,
|
||||||
|
@ -711,9 +711,13 @@ EX hpcshape& orbshape(eOrbshape s) {
|
|||||||
case osOffensive: return cgi.shSawRing;
|
case osOffensive: return cgi.shSawRing;
|
||||||
case osFriend: return cgi.shPeaceRing;
|
case osFriend: return cgi.shPeaceRing;
|
||||||
case osUtility: return cgi.shGearRing;
|
case osUtility: return cgi.shGearRing;
|
||||||
|
case osPowerUtility: return cgi.shPowerGearRing;
|
||||||
case osDirectional: return cgi.shSpearRing;
|
case osDirectional: return cgi.shSpearRing;
|
||||||
case osWarping: return cgi.shHeptaRing;
|
case osWarping: return cgi.shHeptaRing;
|
||||||
case osFrog: return cgi.shFrogRing;
|
case osFrog: return cgi.shFrogRing;
|
||||||
|
case osProtective: return cgi.shProtectiveRing;
|
||||||
|
case osTerraform: return cgi.shTerraRing;
|
||||||
|
case osMovement: return cgi.shMoveRing;
|
||||||
default: return cgi.shRing;
|
default: return cgi.shRing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
30
orbs.cpp
30
orbs.cpp
@ -168,6 +168,15 @@ EX void reduceOrbPowers() {
|
|||||||
reduceOrbPower(itOrbSide3, 120);
|
reduceOrbPower(itOrbSide3, 120);
|
||||||
if(cwt.at->land != laWildWest)
|
if(cwt.at->land != laWildWest)
|
||||||
reduceOrbPower(itRevolver, 6);
|
reduceOrbPower(itRevolver, 6);
|
||||||
|
|
||||||
|
reduceOrbPower(itOrbPurity, 30);
|
||||||
|
reduceOrbPower(itCurseWeakness, 999);
|
||||||
|
reduceOrbPower(itCurseDraining, 999);
|
||||||
|
reduceOrbPower(itCurseWater, 999);
|
||||||
|
reduceOrbPower(itCurseFatigue, 999);
|
||||||
|
reduceOrbPower(itCurseRepulsion, 999);
|
||||||
|
reduceOrbPower(itCurseGluttony, 999);
|
||||||
|
|
||||||
whirlwind::calcdirs(cwt.at);
|
whirlwind::calcdirs(cwt.at);
|
||||||
items[itStrongWind] = !items[itOrbAether] && whirlwind::qdirs == 1;
|
items[itStrongWind] = !items[itOrbAether] && whirlwind::qdirs == 1;
|
||||||
items[itWarning] = 0;
|
items[itWarning] = 0;
|
||||||
@ -1570,6 +1579,27 @@ EX int orbcharges(eItem it) {
|
|||||||
|
|
||||||
case itOrbPlague:
|
case itOrbPlague:
|
||||||
return 30;
|
return 30;
|
||||||
|
|
||||||
|
case itOrbPurity:
|
||||||
|
return 15;
|
||||||
|
|
||||||
|
case itCurseWeakness:
|
||||||
|
return 20;
|
||||||
|
|
||||||
|
case itCurseDraining:
|
||||||
|
return 60;
|
||||||
|
|
||||||
|
case itCurseWater:
|
||||||
|
return 20;
|
||||||
|
|
||||||
|
case itCurseFatigue:
|
||||||
|
return 30;
|
||||||
|
|
||||||
|
case itCurseRepulsion:
|
||||||
|
return 30;
|
||||||
|
|
||||||
|
case itCurseGluttony:
|
||||||
|
return 30;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
34
polygons.cpp
34
polygons.cpp
@ -614,6 +614,19 @@ void geometry_information::procedural_shapes() {
|
|||||||
hpcpush(ddi(i, orbsize * (.3 + (int(i) & 3) * .02)) * C0);
|
hpcpush(ddi(i, orbsize * (.3 + (int(i) & 3) * .02)) * C0);
|
||||||
hpcpush(ddi(0, orbsize * .25) * C0);
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
|
bshape(shMoveRing, PPR::ITEM);
|
||||||
|
RING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
|
REVPRING(i) {
|
||||||
|
int ii = i + 3;
|
||||||
|
if(int(ii) % 7 == 0) {
|
||||||
|
hpcpush(ddi(i-2, orbsize * (.3 - .02)) * C0);
|
||||||
|
hpcpush(ddi(i-1, orbsize * (.3 - .01)) * C0);
|
||||||
|
}
|
||||||
|
hpcpush(ddi(i, orbsize * (.3 + (int(ii) % 7) * .01)) * C0);
|
||||||
|
}
|
||||||
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
bshape(shGearRing, PPR::ITEM);
|
bshape(shGearRing, PPR::ITEM);
|
||||||
RING(i)
|
RING(i)
|
||||||
hpcpush(ddi(i, orbsize * .25) * C0);
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
@ -621,6 +634,27 @@ void geometry_information::procedural_shapes() {
|
|||||||
hpcpush(ddi(i, orbsize * ((dmod(i, 6)<3)?.3:.36)) * C0);
|
hpcpush(ddi(i, orbsize * ((dmod(i, 6)<3)?.3:.36)) * C0);
|
||||||
hpcpush(ddi(0, orbsize * .25) * C0);
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
|
bshape(shProtectiveRing, PPR::ITEM);
|
||||||
|
RING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
|
REVPRING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * ((dmod(i, 12)<3)?.3:.36)) * C0);
|
||||||
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
|
bshape(shPowerGearRing, PPR::ITEM);
|
||||||
|
RING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
|
REVPRING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * ((dmod(i, 6)<3)?.3:(dmod(i,12) < 6) ? .36 : .42)) * C0);
|
||||||
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
|
bshape(shTerraRing, PPR::ITEM);
|
||||||
|
RING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
|
REVPRING(i)
|
||||||
|
hpcpush(ddi(i, orbsize * ((dmod(i, 6)<3)?.36:(dmod(i,12) < 6) ? .3 : .42)) * C0);
|
||||||
|
hpcpush(ddi(0, orbsize * .25) * C0);
|
||||||
|
|
||||||
bshape(shPeaceRing, PPR::ITEM);
|
bshape(shPeaceRing, PPR::ITEM);
|
||||||
RING(i)
|
RING(i)
|
||||||
hpcpush(ddi(i, orbsize * .25) * C0);
|
hpcpush(ddi(i, orbsize * .25) * C0);
|
||||||
|
Loading…
Reference in New Issue
Block a user