Git Product home page Git Product logo

abdjekt's People

Contributors

ffrogman avatar ngc0202 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

shuby ffrogman

abdjekt's Issues

Request: Aliases synonymous in input

I think it should be implemented so that when the user is entering input for an interaction, Items that are aliases should be synonymous, so that:

spawn rock

You Spawn a rock.
spawn pickaxe
You spawn a pickaxe.
hit stone with pickaxe
You hit the stone with a pickaxe.

If it worked properly, then if you have a rock Item, then you can reference it by calling it a stone (which is an alias).

Current case:

look

round you, you can see a pickaxe and a stone.
hit rock with pickaxe
There is no rock here.

Request: Working aliases

Make the alias header work so something that has an alias just redirects to a master abdjekt. For example "stone" would be like the template with rock in its aliases so the reader would read rock instead.

findSpawnText NPE

mode 1
Mode changed to 'Sandbox'.
spawn knife
You spawn a knife.
spawn pickaxe
You spawn a pickaxe.
spawn rock
You spawn a rock.
look
Around you, you can see a knife, a pickaxe and a rock.
sharpen rock with knife
You sharpen the rock into a spearhead.
Exception in thread "main" java.lang.NullPointerException
at abdjekt.Item.findSpawnText(Item.java:123)
at abdjekt.Item.(Item.java:33)
at abdjekt.Game.newItem(Game.java:106)
at abdjekt.abdjektReader.process(abdjektReader.java:146)
at abdjekt.Main.main(Main.java:174)
Java Result: 1


cook marshmallow with fire
You cook the marshmallow over the fire and eat it.
Exception in thread "main" java.lang.NullPointerException
at abdjekt.Item.findSpawnText(Item.java:123)
at abdjekt.Item.(Item.java:33)
at abdjekt.Game.newItem(Game.java:106)
at abdjekt.abdjektReader.process(abdjektReader.java:146)
at abdjekt.Main.main(Main.java:174)
Java Result: 1


hit rock with pickaex
Exception in thread "main" java.lang.NullPointerException
at abdjekt.Item.findSpawnText(Item.java:123)
at abdjekt.Item.(Item.java:33)
at abdjekt.Game.newItem(Game.java:106)
at abdjekt.Main.main(Main.java:174)
Java Result: 1

BUT

mode 1
Mode changed to 'Sandbox'.
spawn rock
You spawn a rock.
spawn pickaxe
You spawn a pickaxe.
look
Around you, you can see a rock and a pickaxe.
hit rock with pickaxe
You hit the rock. The rock crumbles to dust.

Clean-up Spawn Code

Spawn code is scattered across multiple areas, need to clean up and put in one area!

Can't Spawn Pickaxe

It appears that once the file is created, even after a mode change to sandbox it'll act as if it was still set to hardcore.

interactions not working

Input:
mode 1
spawn rock
spawn pickaxe
hit rock with pickaxe

Reason: Bug because this is a valid interaction and should work.

Notes: actions and outputs not being taken from proper location

World full

Once the world fills up once it always thinks it's filled.

Example:

spawn rock X 25
spawn rock
The world is full, please remove or destroy an object.
remove rock
You remove a rock.
spawn rock
The world is full, please remove or destroy an object.

Nick attack fail

spawn nick
Nick, the Almighty One, teleports to you.
hit rock with nick
There is no rock here.
spawn rock
You spawn a rock.
hit rock with nick
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at abdjekt.abdjektReader.process(abdjektReader.java:105)
at abdjekt.Main.main(Main.java:170)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.