Skip to content

Add tracing flag to rascript-cli - #663

Merged
Jamiras merged 7 commits into
masterfrom
feature/trace
Oct 14, 2026
Merged

Jamiras merged 7 commits into
masterfrom
feature/trace

Conversation

@Jamiras

@Jamiras Jamiras commented Oct 9, 2026

Copy link
Copy Markdown
Owner
...
  335,15 | call at_location(floor=7, x=14, y=8)
  125,38 |  return byte(0x000070) != 0 && byte(0x000067) == 7 && byte(0x000065) == 14 && byte(0x000066) == 8
  335,40 | call item_acquired(id=13)
  128,38 |  call range(start=128, stop=133)
  128,38 |   return [128, 129, 130, 131, 132, 133]
  128,31 |  call any_of(inputs=[128, 129, 130, 131, 132, 133], predicate=function AnonymousFunction@128,61(a))
  128,61 |   call AnonymousFunction@128,61(128)
  128,31 |    return byte(0x000080) == 13
  128,61 |   call AnonymousFunction@128,61(129)
  128,31 |    return byte(0x000081) == 13
  128,61 |   call AnonymousFunction@128,61(130)
  128,31 |    return byte(0x000082) == 13
  128,61 |   call AnonymousFunction@128,61(131)
  128,31 |    return byte(0x000083) == 13
  128,61 |   call AnonymousFunction@128,61(132)
  128,31 |    return byte(0x000084) == 13
  128,61 |   call AnonymousFunction@128,61(133)
  128,31 |    return byte(0x000085) == 13
  128,31 |   return byte(0x000080) == 13 || byte(0x000081) == 13 || byte(0x000082) == 13 || byte(0x000083) == 13 || byte(0x000084) == 13 || byte(0x000085) == 13
  129,38 |  call range(start=128, stop=133)
  129,38 |   return [128, 129, 130, 131, 132, 133]
  129,31 |  call all_of(inputs=[128, 129, 130, 131, 132, 133], predicate=function AnonymousFunction@129,61(a))
  129,61 |   call AnonymousFunction@129,61(128)
  129,31 |    return prev(byte(0x000080)) != 13
  129,61 |   call AnonymousFunction@129,61(129)
  129,31 |    return prev(byte(0x000081)) != 13
  129,61 |   call AnonymousFunction@129,61(130)
  129,31 |    return prev(byte(0x000082)) != 13
  129,61 |   call AnonymousFunction@129,61(131)
  129,31 |    return prev(byte(0x000083)) != 13
  129,61 |   call AnonymousFunction@129,61(132)
  129,31 |    return prev(byte(0x000084)) != 13
  129,61 |   call AnonymousFunction@129,61(133)
  129,31 |    return prev(byte(0x000085)) != 13
  129,31 |   return prev(byte(0x000080)) != 13 && prev(byte(0x000081)) != 13 && prev(byte(0x000082)) != 13 && prev(byte(0x000083)) != 13 && prev(byte(0x000084)) != 13 && prev(byte(0x000085)) != 13
  128,31 |  return (byte(0x000080) == 13 || byte(0x000081) == 13 || byte(0x000082) == 13 || byte(0x000083) == 13 || byte(0x000084) == 13 || byte(0x000085) == 13) && prev(byte(0x000080)) != 13 && prev(byte(0x000081)) != 13 && prev(byte(0x000082)) != 13 && prev(byte(0x000083)) != 13 && prev(byte(0x000084)) != 13 && prev(byte(0x000085)) != 13
   334,1 | call achievement(title="The Missing Crown", description="Find the crown", points=5, trigger=byte(0x000070) != 0 && byte(0x000067) == 7 && byte(0x000065) == 14 && byte(0x000066) == 8 && (byte(0x000080) == 13 || byte(0x000081) == 13 || byte(0x000082) == 13 || byte(0x000083) == 13 || byte(0x000084) == 13 || byte(0x000085) == 13) && prev(byte(0x000080)) != 13 && prev(byte(0x000081)) != 13 && prev(byte(0x000082)) != 13 && prev(byte(0x000083)) != 13 && prev(byte(0x000084)) != 13 && prev(byte(0x000085)) != 13)
   334,1 |  generated 0xH000070!=0_0xH000067=7_0xH000065=14_0xH000066=8_d0xH000080!=13_d0xH000081!=13_d0xH000082!=13_d0xH000083!=13_d0xH000084!=13_d0xH000085!=13S0xH000080=13S0xH000081=13S0xH000082=13S0xH000083=13S0xH000084=13S0xH000085=13
   334,1 |  return
...

@Jamiras Jamiras added this to the 1.17.4 milestone Oct 9, 2026
@Jamiras
Jamiras merged commit 3b549a3 into master Oct 14, 2026
1 check passed
@Jamiras
Jamiras deleted the feature/trace branch October 14, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant