]> git.lizzy.rs Git - Crafter.git/blob - README.md
Add in level up command for testing
[Crafter.git] / README.md
1 <img src="https://github.com/oilboi/Crafter/blob/master/menu/header.png">
2
3 > Designed for Minetest 5.3.0-DEV
4
5 >Built using textures from <a href="https://forum.minetest.net/viewtopic.php?t=16407">Mineclone 2</a> 
6
7 ---
8
9 ## Be sure to install the clientside mod for this game mode: <a href="https://github.com/oilboi/crafter_client">Download here</a>
10
11
12
13
14 ## If you want to run this on a server you must add this to your server minetest.conf:
15
16 ```
17 enable_client_modding = true
18 csm_restriction_flags = 0
19 enable_mod_channels = true
20 secure.http_mods = skins
21 max_objects_per_block = 4096
22 max_packets_per_iteration = 10096
23 ```
24
25
26
27 ## This game is in early alpha and uses a lot of experimental features in the engine
28
29 ---
30
31 # ALPHA STATE CHANGELOG
32
33 > <a href="https://github.com/oilboi/Crafter/blob/master/old_changelog.md">Old Version Changelogs</a>
34
35 ## Alpha 0.06
36 > Redstone Update
37
38 - Add in virtualization algorithm
39
40 ---
41
42
43 # IDEAS:
44
45
46 ## REDSTONE:
47 - breaker (mines whatever is in front of it)
48 - dispenser (shoots out first item in inventory, or shoots item into pipe)
49 - piston in general (if node is falling and piston is pointing up then FLING IT, if detects falling node entity FLING IT)
50 - redstone bugs which spawn and try to kill you if a stack overflow detection occurs
51
52 ---
53
54
55
56 ## BUILDTEST:
57 - quarry
58 - filter
59 - siv
60 - mining lazer
61 - trains
62
63
64
65 ---
66
67
68 ## MOBS:
69
70 > #1 idea: weakness items, items that damage the mob more than diamond swords
71
72 ## redstone bugs
73 - spawn when a stack overflow detection occurs and is very hostile
74
75 ## zombies
76 - zombies drop limbs randomly and a player can use them as a very low durability weapon and place them in the world
77
78 ## spider
79 - spider eyes randomly drop as an object and players can wear them and place them
80
81 ### snowman
82 - you can put a pumpkin on it's head to make it survive when it's not snowing out
83 - drops snowballs, coal, or carrot
84
85 ### sheep
86 - sheep can be punched to drop wool without damage
87 - you can dye a sheep with colored dye and it will change color, then will drop the color you dyed it
88
89
90 ### pig
91 - disable pig aggression
92 - make porkchop look nicer
93
94
95 ### ghosts
96 - make the default player model whited out
97 - ghosts can pass through any nodes
98 - ghosts fly around
99 - will follow you groaning about "diamonds", "need food", and "join us"
100 - they will fling you up in the air or punch you
101 - ghosts can drag you down into nodes and suffocate you
102 - spawn with cave sounds
103 - drop soul
104
105
106 ### node monster
107 - gets built out of nodes in the area
108 - will probabaly destroy you
109 - drops all nodes that it's made of when killed
110
111
112
113 ---
114
115
116 ## Game Mechanics:
117 - brewing
118 - enchanting/upgrading
119 - magic (wands, spells, etc)
120 - better combat ( sweep hit enemies, falling while hitting deals more damage )
121 - Enchanting food - gives buffs
122 - LATE effects https://forum.minetest.net/viewtopic.php?t=20724
123
124
125 ---
126
127
128 ## New Themes
129
130 ### mechanics (mechanical tools and machines)
131 - compressor (compresses nodes down)
132 - auto miner (digs whatever is in front of it)
133 - decompressor (opposite of compressor
134
135
136 ### automation 
137 - pipes
138 - pumps
139 - fluid  transfer
140 - fluid storage
141 - pipes should be able to move objects quickly
142
143
144 ### HALLOWEEN!
145 - Jack O'Lanterns
146 - corn and corn stalks
147 - decorations
148 - cobwebs
149 - costumes (somehow?)
150 - candy
151 - make grass and leaves orange during the month of October
152 - (Use a simple date check and override nodes)
153 - Gravestones
154 - Graveyards
155 - Candles
156 - candy apples
157 - Soul cake, make with cake and soul
158
159
160 ### Farming
161 - add fertilizer (pig drops bone randomly) 
162 - fertilizer is made out of bone - 
163 - fertilizer can make tall grass grow on regular grass
164 - bread - 3 bread in a row
165 - make sandwich with bread and cooked porkchop
166 - fertilizer used on saplings randomly make tree grow (make sapling growth a function)
167
168
169 ### Fishing
170 - enchanted fish
171 - player casts out a better lure if on a boat
172
173
174 ---
175
176
177 ## New Items
178
179 > These don't seem to fit into any theme so list them all here
180
181 - rope and tnt arrows
182 - vehicles (car, powered minecarts, trains)
183 - hitscan flintlocks
184
185
186 ---
187
188
189 ## Ideas
190
191 > These ideas are all over the place but are good for future updates
192
193 - make pistons able to push and pull any node that does not use meta or inv
194 - make pistons able to push and pull deactivated pistons
195 - upgrade minecart physics even more 
196 - make torches abm that checks if player in area
197 - make furnace abm that checks if player in area
198 - make tnt hurt player
199 - rewrite minecart
200 - fix tool rightclick torch placement to replace buildable to nodes
201 - if placed last node put another stack into hand
202 - have falling node hurt player?
203 - add a function to set a velocity goal to entities and then implement it with all entities
204 - ^make a value if below then stop?
205 - colored chat messages
206 - check if everyone is in bed before going to next night
207 - also lock player in bed until they get out or daytime
208 - create a function to check if a node or group is below
209 - ^ set meta for player so that all mods can use it without calculating it
210 - ^ over and over again (saves cpu cycles)
211 - cars buildable in crafting table
212 - require gas pumps refine oil
213 - drive next to gas pump and car will fill with gas
214 - maybe have pump be rightclickable and then manually fill with gass using nozel
215 - minecart car train? - off rail use
216 - automatic step height for off rail use
217 - make cars follow each other
218 - oil which spawns underground in pools
219 - powered minecart car (engine car)
220 - chest minecart car
221 - player controls engine car
222 - make entities push against players
223
224
225 ---
226
227
228 ## Possible Applications
229
230 > causes object to magnetize towards player or other objects and stop after an inner radius
231 > use for better item magnet?
232 ```
233 if object:is_player() and object:get_player_name() ~= self.rider then
234       local player_pos = object:getpos()
235       pos.y = 0
236       player_pos.y = 0
237       
238       local currentvel = self.object:getvelocity()
239       local vel = vector.subtract(pos, player_pos)
240       vel = vector.normalize(vel)
241       local distance = vector.distance(pos,player_pos)
242       distance = (1-distance)*10
243       vel = vector.multiply(vel,distance)
244       local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
245       
246       
247       if self.axis == "x"      then
248             self.object:add_velocity(vector.new(acceleration.x,0,0))
249       elseif self.axis == "z" then
250             self.object:add_velocity(vector.new(0,0,acceleration.z))
251       else
252             self.object:add_velocity(acceleration)
253       end
254       
255       - acceleration = vector.multiply(acceleration, -1)
256       - object:add_player_velocity(acceleration)
257 end
258 ```
259
260 If you want to support the project: https://www.patreon.com/oil_boi