Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modification of Riding/Ridden Routing Conditionals #844

Closed
CovertJaguar opened this issue Jun 19, 2016 · 0 comments
Closed

Modification of Riding/Ridden Routing Conditionals #844

CovertJaguar opened this issue Jun 19, 2016 · 0 comments
Labels
enhancement A feature request, an improvement, etc. high priority High priority tasks for developers. Will be addressed first if can. signal and routing Related to signals and routing system.

Comments

@CovertJaguar
Copy link
Member

CovertJaguar commented Jun 19, 2016

While poking at these two conditions during the 1.9 update, it came to my attention that they are needlessly restrictive and confusing.

I am proposing that they be replaced by a single conditional "Rider".

The syntax would be defined as follows. All strings are case insensitive unless you are using Regular Expressions. Non-custom Entity names will match against the String used to register them rather than the translated name, this String is usually in English.

Wildcard Keywords

  • Match Any Rider: "Rider=any"
  • Match No Rider: "Rider=none"
  • Match Any Player Rider: "Rider=player"
  • Match Any Mob Rider: "Rider=mob"
  • Match Any Animal Rider: "Rider=animal"
  • Match Unnamed Animals: "Rider=unnamed"

Player Names

  • Match a Player: "Rider=player:CovertJaguar"
  • Regex match a Player: "Rider?=player:Covert.*"

Entities

  • Match Cows: "Rider=entity:cow"
  • Mod Entity Matching: "Rider=entity:railcraft.creature.sasquatch"

Entities with Custom Names

  • Match a Named Entity: "Rider=named:CowNamedDaisy"
  • Match a Named Entity: "Rider=named:Daisy"
  • Regex Matching: "Rider?=named:Cow.*" <- will match CowNamedDaisy, but not Daisy
@CovertJaguar CovertJaguar added the enhancement A feature request, an improvement, etc. label Jun 19, 2016
@CovertJaguar CovertJaguar added this to the Railcraft 10.0.0.0 milestone Jun 19, 2016
@CovertJaguar CovertJaguar modified the milestones: Railcraft 10.1.0.0, Railcraft 10.0.0.0 Sep 15, 2016
@liach liach added signal and routing Related to signals and routing system. high priority High priority tasks for developers. Will be addressed first if can. question or discussion Open discussion issues, including questions asked by the users. labels Mar 3, 2017
@CovertJaguar CovertJaguar removed the question or discussion Open discussion issues, including questions asked by the users. label Apr 3, 2017
EmreDurdu pushed a commit to Bil481Railcraft/Railcraft that referenced this issue Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request, an improvement, etc. high priority High priority tasks for developers. Will be addressed first if can. signal and routing Related to signals and routing system.
Projects
None yet
Development

No branches or pull requests

2 participants