Scroll of law: Difference between revisions

From Omega Wiki
Jump to navigation Jump to search
Imported from text file
Promote approved scroll pages
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Scroll infobox|name=Scroll of law|object_id=59|scroll_id=17|value=100|level=2|cursed=scroll of law}}
{{Scroll infobox|name=Scroll of law|object_id=59|scroll_id=17|value=100|level=2|cursed=scroll of law}}


The '''scroll of law''' is a [[Scrolls|scroll]] in the Omega 0.90.4 remake. It appears as a bright-yellow {{Omega glyph|?|color=yellow|label=question mark}} until its shuffled inscription is identified. Its cursed appearance is ''scroll of law''.
The '''scroll of law''' increases alignment and may also award experience. Its identified name is unchanged by BUC state.


== Generation and appearance ==
== Effects and interactions ==
Once item generation has selected the scroll class, it chooses uniformly among all 24 scroll IDs and copies the selected definition. The class definitions are neutral by default. Thirty unidentified inscriptions are shuffled at game initialization, so the visible label does not reliably identify this type between games.
 
== Data and mechanics ==
The definition has base value 100, item level 2, weight 5, fragility 1, and the COMMON flag. The base value is the definition value, not a promised shop price. Reading is unavailable while blind or afraid; cancelling the inventory prompt spends no scroll, while successful dispatch normally consumes one.


<table class="omega-scroll-buc">
<table class="omega-scroll-buc">
Line 14: Line 10:
<tr><td>Blessed</td><td>Adds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.</td></tr>
<tr><td>Blessed</td><td>Adds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.</td></tr>
<tr><td>Uncursed</td><td>Adds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.</td></tr>
<tr><td>Uncursed</td><td>Adds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.</td></tr>
<tr><td>Cursed</td><td>The same effect; the routine never reads blessing.</td></tr>
<tr><td>Cursed</td><td>The same alignment and experience effect.</td></tr>
</table>
</table>
== Effects and interactions ==
Reading adds a random value from 0 through 19 to alignment. If alignment was already positive, the game then grants experience equal to ten times the newly updated alignment; otherwise there is no experience award on that reading.
Reading adds a random value from 0 through 19 to alignment. If alignment was already positive, the game then grants experience equal to ten times the newly updated alignment; otherwise there is no experience award on that reading.


The law routine ignores the object argument entirely, so blessing does not affect the alignment roll or experience branch. The dispatcher invokes it directly and does not explicitly identify the scroll type.
BUC state does not affect the alignment gain or experience award. Reading the scroll does not automatically identify its type.


== Strategy ==
== Strategy ==
For experience, read it only after alignment is already positive; crossing from nonpositive alignment does not trigger that branch on the same use. BUC manipulation offers no benefit because the routine never reads blessing.
For experience, read it only after alignment is already positive; crossing from nonpositive alignment does not award experience on the same use. Blessing or uncursing the scroll provides no benefit.
 
== See also ==
* [[Scroll]]


== References ==
== References ==
* [https://github.com/geoffdunbar/winomega/tree/009707d17482b977061a6223b9de63eac4d368c3 WinOmega source at the documented revision]
* [https://github.com/geoffdunbar/winomega/tree/009707d17482b977061a6223b9de63eac4d368c3 WinOmega source at the documented revision]
* [[Scrolls|Omega 0.90.4 scroll index]]
* [[Scroll|Omega 0.90.4 scroll index]]


[[Category:Scrolls]]
[[Category:Scrolls]]
Line 35: Line 32:
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/effect2.c:542-554; claims=BUC effects and mechanics -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/effect2.c:542-554; claims=BUC effects and mechanics -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/item.c:167-177; claims=uniform scroll selection and copied definition -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/item.c:167-177; claims=uniform scroll selection and copied definition -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/item.c:296-330; claims=random unidentified inscription pool -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/omega.c:436-451; claims=new-game random inscription assignment -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/command2.c:37-68; claims=reading restrictions and consumption -->
<!-- OMEGA-SOURCE commit=009707d17482b977061a6223b9de63eac4d368c3; file=staging/remake/winomega/command2.c:37-68; claims=reading restrictions and consumption -->

Latest revision as of 16:04, 24 July 2026

The scroll of law increases alignment and may also award experience. Its identified name is unchanged by BUC state.

Effects and interactions

BUC stateResult
BlessedAdds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.
UncursedAdds 0 through 19 alignment and, when alignment began positive, awards ten times the updated alignment in experience.
CursedThe same alignment and experience effect.

Reading adds a random value from 0 through 19 to alignment. If alignment was already positive, the game then grants experience equal to ten times the newly updated alignment; otherwise there is no experience award on that reading.

BUC state does not affect the alignment gain or experience award. Reading the scroll does not automatically identify its type.

Strategy

For experience, read it only after alignment is already positive; crossing from nonpositive alignment does not award experience on the same use. Blessing or uncursing the scroll provides no benefit.

See also

References