]> git.lizzy.rs Git - Crafter.git/blob - README.md
d86fa80491111720fc0db12f4e4ce3284711a367
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.2.0 DEV
4
5 ---
6
7 # ALPHA STATE CHANGELOG
8
9 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
10
11 ## 0.03
12 > It's A Real Game! Update
13 - make grass spread
14 - water buckets
15 - buckets water farmland
16 - pickaxe required to mine stone based nodes
17 - Crafting bench
18 - Farming with hoes, grass drops seeds, bread, etc
19 - simplify mobs ai
20 - running out of a node when placing tries to replace it with another of the same item in inventory
21 - crafting bench
22 - add in default furnace
23 - add backgrounds to all gui elements
24 - make furnaces drop all items on destroy instead of not allowing you to mine them
25 - added glass - smelt sand
26 - added boat 
27 - rightclicking with tool places torch
28 - add chest
29 - make chest drop all items when you mine them
30 - add in redstone:
31 - torch, repeater, comparator, inverter, piston, player detector,light,
32 - redstone ore - drops 4,5 redstone dust, turns on when punched
33 - pressure plate, detects players (output max), detects items (output based on number of items)
34 - fix item size based on number of items in stack to fixed size
35 - add hoppers
36 - Add TooManyItems
37 - add function to check which nodes drop the item
38 - fix hoppers not activating furnace
39 - make pigs head turn smoothly
40 - Add in fences, walls, windows
41 - Overhaul doors
42 - Add credits screen
43 - Add stairs
44 - Add slabs
45 - 2 Music tracks (day and morning)
46 - Add snow
47 - Fix bed placement
48 - Add snow and snowballs
49 - Make snow falling node
50 - Add creative mode
51
52
53 ---
54
55
56 # IDEAS:
57
58
59
60 ## REDSTONE:
61 - breaker (mines whatever is in front of it)
62 - dispenser (shoots out first item in inventory, or shoots item into pipe)
63 - sticky piston (pulls node in front of it)
64 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
65
66
67 ---
68
69
70 ## MOBS:
71
72 > #1 idea, - make mobs pathfind
73
74
75 ### sheep
76 - sheep can be punched to drop wool without damage
77 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
78
79
80 ### pig
81 - disable pig aggression
82 - make porkchop look nicer
83
84
85 ### ghosts
86 - make the default player model whited out
87 - ghosts can pass through any nodes
88 - ghosts fly around
89 - will follow you groaning about "diamonds", "need food", and "join us"
90 - they will fling you up in the air or punch you
91 - ghosts can drag you down into nodes and suffocate you
92 - spawn with cave sounds
93 - drop soul
94
95
96 ### node monster
97 - gets built out of nodes in the area
98 - will probabaly destroy you
99 - drops all nodes that it's made of when killed
100
101
102 ### Exploder
103 - sneaks up on you and then explodes
104 - drops gun powder
105
106
107 ---
108
109
110 ## Game Mechanics:
111 - xp (edit the node drops code to check if node has tag for xp)
112 - brewing
113 - enchanting/upgrading
114 - magic (wands, spells, etc)
115 - better combat ( sweep hit enemies, falling while hitting deals more damage )
116
117
118 ---
119
120
121 ## New Themes
122
123 ### mechanics (mechanical tools and machines)
124 - compressor (compresses nodes down)
125 - auto miner (digs whatever is in front of it)
126 - decompressor (opposite of compressor
127
128
129 ### automation 
130 - pipes
131 - pumps
132 - fluid  transfer
133 - fluid storage
134 - pipes should be able to move objects quickly
135
136
137 ### HALLOWEEN!
138 - pumpkins
139 - Jack O'Lanterns
140 - corn and corn stalks
141 - decorations
142 - cobwebs
143 - costumes (somehow?)
144 - candy
145 - make grass and leaves orange during the month of October
146 - (Use a simple date check and override nodes)
147 - Gravestones
148 - Graveyards
149 - Candles
150 - candy apples
151 - Soul cake, make with cake and soul
152
153
154 ### Farming
155 - add fertilizer (pig drops bone randomly) 
156 - fertilizer is made out of bone - 
157 - fertilizer can make tall grass grow on regular grass
158 - bread - 3 bread in a row
159 - make sandwich with bread and cooked porkchop
160 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
161
162
163 ### Fishing
164 - have a rod that you can cast into water
165 - bobber entity which goes under water when fish on line
166
167
168 ---
169
170
171 ## New Items
172
173 > These don't seem to fit into any theme so list them all here
174
175 - sugar and sugar cane (grow near water on sand)
176 - rope and tnt arrows
177 - vehicles (car, powered minecarts, trains)
178 - hitscan flintlocks
179 - bows
180
181
182 ---
183
184
185 ## Ideas
186
187 > These ideas are all over the place but are good for future updates
188
189 - make pistons able to push and pull any node that does not use meta or inv
190 - make pistons able to push and pull deactivated pistons
191 - upgrade minecart physics even more 
192 - make torches abm that checks if player in area
193 - make furnace abm that checks if player in area
194 - 3d character
195 - make tnt hurt player
196 - rewrite minecart
197 - fix tool rightclick torch placement to replace buildable to nodes
198 - if placed last node put another stack into hand
199 - have falling node hurt player?
200 - add a function to set a velocity goal to entities and then implement it with all entities
201 - ^make a value if below then stop?
202 - colored chat messages
203 - check if everyone is in bed before going to next night
204 - also lock player in bed until they get out or daytime
205 - create a function to check if a node or group is below
206 - ^ set meta for player so that all mods can use it without calculating it
207 - ^ over and over again (saves cpu cycles)
208 - cars buildable in crafting table
209 - require gas pumps refine oil
210 - drive next to gas pump and car will fill with gas
211 - maybe have pump be rightclickable and then manually fill with gass using nozel
212 - minecart car train? - off rail use
213 - automatic step height for off rail use
214 - make cars follow each other
215 - oil which spawns underground in pools
216 - powered minecart car (engine car)
217 - chest minecart car
218 - player controls engine car
219 - make entities push against players
220
221
222 ---
223
224
225 ## Possible Applications
226
227 > causes object to magnetize towards player or other objects and stop after an inner radius
228 > use for better item magnet?
229 ```
230 if object:is_player() and object:get_player_name() ~= self.rider then
231       local player_pos = object:getpos()
232       pos.y = 0
233       player_pos.y = 0
234       
235       local currentvel = self.object:getvelocity()
236       local vel = vector.subtract(pos, player_pos)
237       vel = vector.normalize(vel)
238       local distance = vector.distance(pos,player_pos)
239       distance = (1-distance)*10
240       vel = vector.multiply(vel,distance)
241       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
242       
243       
244       if self.axis == "x"      then
245             self.object:add_velocity(vector.new(acceleration.x,0,0))
246       elseif self.axis == "z" then
247             self.object:add_velocity(vector.new(0,0,acceleration.z))
248       else
249             self.object:add_velocity(acceleration)
250       end
251       
252       - acceleration = vector.multiply(acceleration, -1)
253       - object:add_player_velocity(acceleration)
254 end
255 ```