Cleaned up notes folder
|
@ -1,7 +0,0 @@
|
|||
The current system is down right crap and nearly useless compares to computer craft. As much as i will offer support for computer craft i need a system built in. So i've decided to make a system that uses code, and a flow chart. This system i hope will be 100% compatible with computer craft. As well i plan to make a way to translate between the two.
|
||||
|
||||
The main idea
|
||||
|
||||
To use a drag and drop flow chart system to create simple programs for the armbot. Basic commands will be created as blocks that can be reused. As well logic can be added with if statement. Even better vars can be added to track and manage actions from the bot. Pretty much standard flow chart creation that actually has functionality.
|
||||
|
||||
To support the computer craft side everything will have a backing in CC code. And users can define new command blocks to add to it. This will be translated into CC code the best the program can. If it doesn't work the player can manage it all in the command block properties as well.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 733 KiB After Width: | Height: | Size: 733 KiB |
|
@ -0,0 +1,2 @@
|
|||
[InternetShortcut]
|
||||
URL=http://creately.com/blog/diagrams/all-you-need-to-know-about-flowcharting/
|
9
docs/flowchart/Programmer.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
The current system is down right crap and nearly useless compares to computer craft. As much as i will offer support for computer craft i need a system built in. So i've decided to make a system that uses code, and a flow chart. This system i hope will be 100% compatible with computer craft. As well i plan to make a way to translate between the two.
|
||||
|
||||
The main idea
|
||||
|
||||
To use a drag and drop flow chart system to create simple programs for the armbot. Basic commands will be created as blocks that can be reused. Custome blocks can be created by other mods and users. Though the user is limited to using the current command blocks as prefabs. Each command block can be edits to change the default varables. A look up table should be used to help select the item when an ItemStack is used a filter.
|
||||
|
||||
Logic should also be supported using a basic IF statement. The statement needs to branch off the code storing two seperate exit points. If statements can be nested with in this to create more logic. ElseIF is not supported due to how complex it will be at the moment. Anything that can be done with it can also be done with an IF statement by having the IF statement skip the other IF statements under it.
|
||||
|
||||
To support computer craft each command will handle its own CC code. As well users can define how the command would work on the CC side but as a later on feature. Other features will be added down the road to support direct outputing of CC code from a flowchart. This will make it easier to work with the armbot and other non-AssemblyLine machines.
|
Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6 KiB |
|
@ -49,4 +49,10 @@ public interface IArmbotTask
|
|||
|
||||
/** Writes the command to the armbot save. Mainly only the current task is saved. */
|
||||
public NBTTagCompound writeToNBT(NBTTagCompound nbt);
|
||||
|
||||
/** Used mainly for display purposes in the encoder */
|
||||
public static enum TaskType
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|